Skip to content

Data and code release for "The spatial dissemination of COVID-19 and associated socio-economic consequences"

License

Notifications You must be signed in to change notification settings

yflyzhang/spatial_COVID_19

Repository files navigation

📝 Data and code release for the paper entitled:

> The spatial dissemination of COVID-19 and associated socio-economic consequences

$\quad$ https://royalsocietypublishing.org/doi/10.1098/rsif.2021.0662


Your image title


🚀 Tutorials in this repository:

Figure1-Plot.ipynb: plot Figure 1 in Python

Figure2-Spatial analysis by R.ipynb: spatial analysis of the spread of COVID-19 in R

Figure2-Spatial analysis and plot.ipynb: spatial analysis of the spread of COVID-19 and plot Figure 2 in Python

Figure3-Outbreak analysis by R.ipynb: outbreak analysis of the spread of COVID-19 in R

Figure3-Plot.ipynb: plot Figure 3 in Python

Figure4-Plot.ipynb: plot Figure 4 in Python



⚡ Main dependencies:

To execute the tutorial, make sure you have Python 3, R/R-Studio and Jupyter notebook installed.

To run R script in Jupyter, IRkernel is required. This package is available on CRAN and you can install it in R/R-Studio Console by:

install.packages('IRkernel')
IRkernel::installspec()  # register the kernel in the current R installation

Python package

os
numpy
pandas
itertools
seaborn
matplotlib
statsmodels
collections

R package

readr
MASS
dplyr
tidyr
texreg

If you find this useful in your project, please consider citing our paper:

The spatial dissemination of COVID-19 and associated socio-economic consequences.
https://royalsocietypublishing.org/doi/10.1098/rsif.2021.0662
Yafei Zhang, Lin Wang, Jonathan J. H. Zhu, Xiaofan Wang
Journal of the Royal Society Interface, 19(187), 20210662 (2022).

BibTeX Citation
@article{Zhang2022,
    author = {Zhang, Yafei  and Wang, Lin  and Zhu, Jonathan J. H.  and Wang, Xiaofan},
    title = {The spatial dissemination of COVID-19 and associated socio-economic consequences},
    journal = {Journal of The Royal Society Interface},
    volume = {19},
    number = {187},
    pages = {20210662},
    year = {2022},
    doi = {10.1098/rsif.2021.0662},
    URL = {https://royalsocietypublishing.org/doi/abs/10.1098/rsif.2021.0662},
    eprint = {https://royalsocietypublishing.org/doi/pdf/10.1098/rsif.2021.0662},
}

Should you have any further quires about the code and data, please contact at: yflyzhang_at_gmail.com

About

Data and code release for "The spatial dissemination of COVID-19 and associated socio-economic consequences"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published