demographr is an R package for distributing UK demographic data:
population_*
objects distribute population estimates as dataframes
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("humaniverse/demographr")
To add data sets to the package:
- Update
data-raw/query-urls.R
. Keep to alphabetical ordering. Make sure to build and export the tibble. - Add a file to
data-raw/
. See other files for template. - Document the data set in
R/data.R
. Keep to alphabetical ordering. - Run
devtools::document()
to export documentation. - Run
devtools::check()
to check for errors/warnings/notes. - Update
LICENSE
by adding the license of the new data set if not already covered.
To contribute to this project, please follow GitHub Flow when submitting changes.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Developed by Mike Page, Matt Thomas and Aileen McDonald at the British Red Cross.
See LICESNE