Date: 2023-12-20
DemoTools
is an R package that contains simple functions often used in demographic analysis. It is in active development.
This project is commissioned by the UN Population Division and financed by the Bill and Melinda Gates Foundation as part of the Making Family Planning Count project. Work is also done in collaboration with Sean Fennell, José Manuel Aburto, Ilya Kashnitsky, Marius Pascariu, Jorge Cimentada, Monica Alexander, and with minor contributions from several more (thank you!). This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 IGO (CC BY-SA 3.0 IGO).
The idea behind DemoTools
is to provide a common set of functions that can be easily used by analysts and scientists working on demographic analysis and modeling.
If you detect a bug or have a suggestion please notify us using the Issues tab on github. Even better if you fix it and make a pull request! See CONTRIBUTING.md for more tips on reporting bugs or offering patches.
If you are getting started with DemoTools
we recommend taking a look at the tutorial articles and the examples in the package documentation.
You can load the DemoTools
package in R like so:
# install.packages("remotes")
# requires the development version of rstan, sorry!
install.packages("rstan", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
remotes::install_github("timriffe/DemoTools")
To cite DemoTools
in publications, please use:
Riffe T, Aburto JM, Alexander M,Fennell S, Kashnitsky I, Pascariu M and Gerland P. (2019) DemoTools: An R package of tools for aggregate demographic analysis URL: https://github.com/timriffe/DemoTools/.
A BibTeX entry for LaTeX users is:
@Misc{demotools,
Title = {Demo{T}ools: {A}n {R} package of tools for aggregate demographic analysis},
Author = {Riffe, T and Aburto, JM and Alexander, M and Fennell, S and Kashnitsky, I and Pascariu, M and Gerland, P},
Year = {2019},
note = {URL:~\url{https://github.com/timriffe/DemoTools/}}
}
If either of the first two icons at the top of this README are red, then the installation might not be working. You can assume we're fixing it. If they're green, then it should work.
Every time this repository is updated the entire code base is rebuilt on a server somewhere, and undergoes a series of checks. This happens on a Linux machine and on a Windows machine. Any warnings or errors in these builds will yield a red fail tag, and successes are green passes. Code coverage indicates what percentage of lines of code undergo formal unit testing of some kind.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.