Skip to content

ikashnitsky/the-lancet-2018

Repository files navigation

doi osf

Kashnitsky, I., & Schöley, J. (2018). Regional population structures at a glance. The Lancet, 392(10143), 209–210. https://doi.org/10.1016/S0140-6736(18)31194-2

Full text of the paper is available here. (OSF)

To replicate the map, follow the instructions in "R/master-script.R" and, of course, feel free to explore in depth the chunks of code in "R" directory.

If you have any questions, feel free to contact me: ilya.kashnitsky@gmail.com. For the questions about tricolore please contact Jonas: jschoeley@gmail.com.

Folow us on Twitter: @ikashnitsky, @jschoeley.


REPLICATION. HOW TO

  1. Fork this repository or unzip the archive.
  2. Using RStudio open "the-lancet-2018.Rproj" file in the main project directory.
  3. Run the "R/master_script.R" file. Wait. That's it. The results are stored in the directory "_output".

LOGIC OF THE PROCESS

The whole process is split into four parts, which is reflected in the structure of R scripts. First, the steps required for reproducibility are taken. Second, we define own functions. Next, all data acquisition and manipulation steps are performed.Finally, the map is built. The names of the scripts are quite indicative, and each script is reasonably commented.

SEE ALSO

About

Reproduce "Regional population structures at a glance"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages