briatte / dsr

Introduction to Data Science with R (Sciences Po, Paris, 2023)
https://f.briatte.org/teaching/syllabus-dsr.pdf
42 stars 9 forks source link

Which World Bank data package? #21

Closed briatte closed 1 year ago

briatte commented 1 year ago

https://vincentarelbundock.github.io/WDI/ by @vincentarelbundock (current choice) https://github.com/gshs-ornl/wbstats by @jpiburn (more dependencies) https://github.com/jpiburn/wbdata also by @jpiburn (unreleased?)

Does one of them also allow to download WB shapefiles?

vincentarelbundock commented 1 year ago

No shapefiles in WDI, unfortunately.

briatte commented 1 year ago

@vincentarelbundock Thanks. I'm not even sure I want to stick with WB shapefiles -- they don't seem to react well to st_transform.

briatte commented 1 year ago

Keeping WDI for now because of the latest argument (not in the online docs, but definitely there), which is handy to get the most recent nonmissing value of an indicator.

(wbstats has more dependencies but all of them are tidyverse, so that's not an issue.)

briatte commented 1 year ago

Sticking with WDI unless @gshs-ornl adds extra features that might come in handy.