cancensus: Access, Retrieve, and Work with Canadian Census Data and Geography

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 2001; 2006; 2011; 2016; 2021).

Version: 0.5.7
Depends: R (≥ 2.10)
Imports: digest (≥ 0.1), dplyr (≥ 0.7), httr (≥ 1.0.0), jsonlite (≥ 1.0), rlang
Suggests: knitr, ggplot2, leaflet, mapdeck, rmarkdown, readr, scales, sp, sf, geojsonsf, tidyr, lwgeom, xml2
Published: 2024-02-10
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 + file LICENSE
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

Documentation:

Reference manual: cancensus.pdf
Vignettes: Additional datasets: Structural type of dwelling by document type
Making maps with cancensus
Additional datasets: Annual T1FF taxfiler data
cancensus
Data discovery
Finding intersecting geometries from custom data
StatCan attribute files
StatCan WDS

Downloads:

Package source: cancensus_0.5.7.tar.gz
Windows binaries: r-devel: cancensus_0.5.7.zip, r-release: cancensus_0.5.7.zip, r-oldrel: cancensus_0.5.7.zip
macOS binaries: r-release (arm64): cancensus_0.5.7.tgz, r-oldrel (arm64): cancensus_0.5.7.tgz, r-release (x86_64): cancensus_0.5.7.tgz, r-oldrel (x86_64): cancensus_0.5.7.tgz
Old sources: cancensus archive

Reverse dependencies:

Reverse suggests: cmhc, tongfen

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cancensus to link to this page.