Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Import data from the Dirección General de Epidemiología website
ResourceFunction["MexicoCOVID19Data"][] retrieves COVID-19 data from the Dirección General de Epidiemología website. |
Retrieve the dataset:
In[1]:= |
Out[1]= |
Compare the age distributions between male and female cases:
In[2]:= |
Out[2]= |
Plot a geographical heat map showing the number of cases per federal entity:
In[3]:= |
Out[3]= |
Plot the daily number of recorded cases:
In[4]:= |
In[5]:= |
Out[5]= |
Plot the total number of recorded cases over time:
In[6]:= |
Out[6]= |
Look at and sort by the most common comorbidities:
In[7]:= |
Out[7]= |
Some federal entities have a much larger population and this can make it difficult to see differences between low-population entities. To visualize the number of recorded cases relative to the entity’s population, you can plot the number of COVID-19 cases per 1000 people:
In[8]:= |
Out[8]= |
Look at the time series of a specific state:
In[9]:= |
Out[4]= |
See the descriptions of the columns from the original dataset:
In[10]:= |
Out[10]= |
See the dataset in Spanish instead of English:
In[11]:= |
Out[11]= |
This work is licensed under a Creative Commons Attribution 4.0 International License