Message Boards Message Boards

[Notebook] Mapping Novel Coronavirus COVID-19 Outbreak

MODERATOR NOTE: coronavirus resources & updates: https://wolfr.am/coronavirus


enter image description here

Attachments:
26 Replies

Oh this is great, Jofre! Super interesting and well done, thank you for sharing :)

POSTED BY: Danielle Rommel

This is a very cool investigation. Would you consider doing something similar for the flu in the United States, given that over 40 million people were sick, over 800,000 people were hospitalized, and over 61,000 people died in the 2017-2018 season in the US, according to the CDC? I'm not sure if you can get similarly detailed data for these illnesses, though, for whatever reason.

Thanks!

EDIT: well, this looks dumb now, doesn't it

POSTED BY: Arben Kalziqi

Thank you! Yes, it would be quite interesting to compare such analysis with less exotic viruses like the flu in the US. If you find a more detailed dataset with specific dates let us know. In the near future, I would also like to do some analysis on the swine African fever and maybe other diseases spread by ticks.

Lyme disease is spread by deer ticks. It started near Lyme, CT about 30 years ago, and has spread throughout the northeast US. See this EPA publication for a place to start for background & data.

POSTED BY: Robert Nachbar
Posted 5 years ago

Great post. Could you share the code you used to create the dataset file nCov_dataset.wl ? Thanks

POSTED BY: Icy Toc

Hi Icy,

The nCov_dataset.wl code is alraedy attached by the a/m nb. code by Jofre Espigule-Pons, Wolfram Research.

Regards,....Jos

POSTED BY: Jos Klaps

Have you tried using this data to parameterize/fit a modl in the style of https://blog.wolfram.com/2014/11/04/modeling-a-pandemic-like-ebola-with-the-wolfram-language/ ?

POSTED BY: Tom Wenseleers

Hi @Icy Toc , See attached the nCov_dataset.wl file at the bottom of the post. I've just updated the file to the most recent data obtained from here. In case you want to know how I actually created the dataset from raw data; I basically downloaded their spreadsheets as comma-separated values ".csv" files and then I used SemanticImport to obtain a proper format dataset with data ready for this analysis.

Thanks, I saw the post, but I haven't tried to parametrize/fit a model with current data from 2019-nCoV virus. It would be interesting to compare them. :)

Thank you @Robert Nachbar ! This is very interesting. Recently, I explored the distribution of ticks species in North America using citizen scientists observations. One could combine both datasets to find some correlations. Hope to find some time soon and share it here. :)

Posted 5 years ago

Hi @Jofre Espigule-Pons I did not know about SemanticImport. Thanks for the pointer.

POSTED BY: Icy Toc

Hello! So I used to think I was the only person interested in ecology and conservation biology who used Mathematica. Now there are two of us — we should start a club! But seriously, it's great to have someone promoting this kind of use on the community (and indeed within Wolfram itself). I'll try to make some time to contribute my own posts.

POSTED BY: Gareth Russell

Maybe there are 2.5 of us! I do a lot of epidemiology modeling, and that is very similar to ecological population modeling. Think Lotka-Voltera preditor-prey models on steroids. :-) I'd like to see what could be done in that area with the systems of ODEs. I'd also like to try simulations on a spatial network. So, if you have any favorite examples, I'd love to hear about them.

POSTED BY: Robert Nachbar

Well, I have a complete Mathematica course in Computational Ecology! Including metapopulation and L-V community ODE systems. Plus some basic epidemiological models and some simple simulations of spread on a network.

POSTED BY: Gareth Russell

Two point five?! Hey, this Mathematica type of usage could...go viral!

(I crack me up.)

POSTED BY: Daniel Lichtblau

Hi @Gareth Russell, it's great to see that power users doing research in such topics do exist. Looking forward to know more about your computational ecology contributions. :)

Posted 5 years ago

Can you detail how you downloaded the data from google sheets? I am stuck on right-click and save as HTML. The online spreadsheet data shows data including Feb 2nd but oddly the map page stops at Jan 31st. I am interested in keeping current.

POSTED BY: Douglas Kubler

Just yesterday we published a Wolfram Data Repository resource that makes the data immediately computable: https://datarepository.wolframcloud.com/resources/Novel-Coronavirus

More to come

POSTED BY: Danielle Rommel
Posted 5 years ago

Thank you.

POSTED BY: Douglas Kubler
Posted 5 years ago

Hi Douglas,

To import each sheet (one per date) as individual datasets

ImportString[
 URLFetch["https://docs.google.com/spreadsheets/d/1yZv9w9zRKwrGTaR-YzmAqMefw4wMlaXocejdxZaTs6w/export?format=xlsx"], "Dataset"]
POSTED BY: Rohit Namjoshi
Posted 5 years ago

Thank you.

POSTED BY: Douglas Kubler
Posted 5 years ago

Thanks @Rohit Namjoshi, I was having the same issue that @Douglas Kubler had. Thanks again.

POSTED BY: Icy Toc
Posted 5 years ago

Hi @Danielle, I think that in the GeoBubbleChart example of the Wolfram Data Repository resource, the code:

CloudGet@CloudObject[
 "https://www.wolframcloud.com/obj/98663342-3053-4b5d-84de-\
2179161fd002"]

should be changed to:

ResourceData["Novel Coronavirus"]
POSTED BY: Icy Toc

thank you. it's very convenient to import the data from WDR.

in this link [1] not sure, if the second line needs to assign the output to the variable data

data =ResourceData["Epidemic Data for Novel Coronavirus 2019-nCoV from \
Wuhan, China"]
POSTED BY: Sompob Saralamba

You crack me up.

POSTED BY: Eduardo Serna

This is super cool and informative.

POSTED BY: Eduardo Serna
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract