worldbank / dime-data-handbook

Development Research in Practice: The DIME Analytics Data Handbook. By Kristoffer Bjärkefur, Luíza Cardoso de Andrade, Benjamin Daniels, and Maria Jones
https://worldbank.github.io/dime-data-handbook/
Other
63 stars 26 forks source link

Adding PDF & EPUB output for the book #582

Open Edouard-Legoupil opened 2 years ago

Edouard-Legoupil commented 2 years ago

Hi - in the main site - https://worldbank.github.io/dime-data-handbook/drip.pdf is actually empty - fixed that in this pull request! - Added also epub output...

As this book is created with R - would be good to have code snippet presented in R (on the top of Stata) :)

kbjarkefur commented 2 years ago

Hi @Edouard-Legoupil ! Thank you for this contribution. While it looks like a good fix, I can't find the location we are pointing to that PDF. Where did you find the link https://worldbank.github.io/dime-data-handbook/drip.pdf? Happy to include your fix, but I just want to fully understand what it is fixing.

Since the book was published and while have not started to work on a second edition we are usually pointing to the pdf of the formal publication (free to download): https://openknowledge.worldbank.org/handle/10986/35594. In this repo we have the bookdown version of the book published (https://worldbank.github.io/dime-data-handbook/) as it allows linking to specific sections.

Regarding R. The authors of this book use Stata, R and Python, but we decided to only use one language in the first version of this book. We picked Stata as Stata has fewer resources like this as the number of users is much smaller. High on the list for a potential second edition is to have all examples in both Stata and R.

Edouard-Legoupil commented 2 years ago

Hi @kbjarkefur -

Sorry I missed this notification until today!

The link to the PDF is here on the top menu of https://worldbank.github.io/dime-data-handbook/ - see the PDF icon

image

Looking fwd for the second edition! I am consistently promoting your products within UNHCR! :)

maybe something interesting in that topic is the worflowR package: Creating and sharing reproducible research code the workflowr way https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6833990/