Integrated, convenient, and uniform access to Canadian Census data and geography retrieved using the 'CensusMapper' API. This package produces analysis-ready tidy data frames and spatial data in multiple formats, as well as convenience functions for working with Census variables, variable hierarchies, and region selection. API keys are freely available with free registration at <https://censusmapper.ca/api>. Census data and boundary geometries are reproduced and distributed on an "as is" basis with the permission of Statistics Canada (Statistics Canada 1996; 2001; 2006; 2011; 2016; 2021).
| Version: | 0.5.10 |
| Depends: | R (≥ 4.1) |
| Imports: | digest (≥ 0.1),dplyr (≥ 1.0),httr (≥ 1.0.0),jsonlite (≥1.0),sf,geojsonsf,rlang,readr |
| Suggests: | knitr,ggplot2,leaflet,mapdeck,rmarkdown,scales,sp,tidyr,lwgeom,xml2 |
| Published: | 2025-11-05 |
| DOI: | 10.32614/CRAN.package.cancensus |
| Author: | Jens von Bergmann [aut] (API creator and maintainer), Dmitry Shkolnik [aut, cre] (Package maintainer, responsible for correspondence), Aaron Jacobs [aut] |
| Maintainer: | Dmitry Shkolnik <shkolnikd at gmail.com> |
| BugReports: | https://github.com/mountainMath/cancensus/issues |
| License: | MIT + fileLICENSE |
| URL: | https://github.com/mountainMath/cancensus,https://mountainmath.github.io/cancensus/,https://censusmapper.ca/api |
| NeedsCompilation: | no |
| Citation: | cancensus citation info |
| Materials: | README,NEWS |
| In views: | OfficialStatistics |
| CRAN checks: | cancensus results |