worldbank / PIP-Methodology

Methodology page for the Poverty and Inequality Platform.
https://datanalytics.worldbank.org/PIP-Methodology/
MIT License
2 stars 1 forks source link

Add code links #17

Closed Aeilert closed 3 years ago

Aeilert commented 3 years ago

Add links code to in {wbpip} package.

More general links to files are easier to maintain, but the GD files have so many lines of code that I think linking to specific lines is the only reasonable approach atm. The good thing about permlinks is that they will persist regardless if the file changes. But this should ofc be maintained in case there are major changes.

Use bookdown::render_book() or

bookdown::preview_chapter("02-Constructing-welfare-aggregates.Rmd")
bookdown::preview_chapter("04-Calculating-survey-estimates.Rmd")
bookdown::preview_chapter("05-Calculating-global-and-regional-poverty.Rmd")

to preview locally.