Message Boards Message Boards

[Notebook] Mapping Novel Coronavirus COVID-19 Outbreak

MODERATOR NOTE: coronavirus resources & updates:

enter image description here

26 Replies

This is super cool and informative.

POSTED BY: Eduardo Serna

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

You crack me up.

POSTED BY: Eduardo Serna

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

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. :)

Have you tried using this data to parameterize/fit a modl in the style of ?

POSTED BY: Tom Wenseleers

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. :)

Hi Icy,

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


POSTED BY: Jos Klaps
Posted 4 years ago

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


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.

Posted 4 years ago

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

Posted 4 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:

More to come

POSTED BY: Danielle Rommel
Posted 4 years ago

Thank you.

POSTED BY: Douglas Kubler
Posted 4 years ago

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


should be changed to:

ResourceData["Novel Coronavirus"]

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
Posted 4 years ago

Hi Douglas,

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

 URLFetch[""], "Dataset"]
POSTED BY: Rohit Namjoshi
Posted 4 years ago

Thank you.

POSTED BY: Douglas Kubler
Posted 4 years ago

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


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

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. :)

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.


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.

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

POSTED BY: Danielle Rommel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract