Searches for, accesses, and retrieves Statistics Canada data tables, as well as individual vectors, as tidy data frames. This package enriches the tables with metadata, deals with encoding issues, allows for bilingual English or French language data retrieval, and bundles convenience functions to make it easier to work with retrieved table data. For more efficient data access the package allows for caching data in a local database and database level filtering, data manipulation and summarizing.
Version: | 0.4 |
Depends: | R (≥ 4.1) |
Imports: | digest (≥ 0.6), dplyr (≥ 1.1), httr (≥ 1.0.0), tidyr (≥ 1.3), readr (≥ 2.1), rlang (≥ 1.1), stringr (≥ 1.5), purrr (≥ 1.0), tibble (≥ 3.2), arrow (≥ 18.1), DBI (≥ 1.2), RSQLite (≥ 2.3), utils (≥ 4.3), dbplyr (≥ 2.5) |
Suggests: | knitr, rmarkdown, ggplot2, scales, testthat (≥ 3.0.0) |
Published: | 2025-02-24 |
DOI: | 10.32614/CRAN.package.cansim |
Author: | Jens von Bergmann [aut, cre], Dmitry Shkolnik [aut] |
Maintainer: | Jens von Bergmann <jens at mountainmath.ca> |
BugReports: | https://github.com/mountainMath/cansim/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/mountainMath/cansim, https://mountainmath.github.io/cansim/, https://www.statcan.gc.ca/ |
NeedsCompilation: | no |
Language: | en-CA |
Citation: | cansim citation info |
Materials: | README NEWS |
CRAN checks: | cansim results |
Reference manual: | cansim.pdf |
Vignettes: |
Getting started with the cansim package (source, R code) Working with large tables (source, R code) |
Package source: | cansim_0.4.tar.gz |
Windows binaries: | r-devel: cansim_0.4.zip, r-release: cansim_0.4.zip, r-oldrel: cansim_0.4.zip |
macOS binaries: | r-devel (arm64): cansim_0.4.tgz, r-release (arm64): cansim_0.4.tgz, r-oldrel (arm64): cansim_0.4.tgz, r-devel (x86_64): cansim_0.4.tgz, r-release (x86_64): cansim_0.4.tgz, r-oldrel (x86_64): cansim_0.4.tgz |
Old sources: | cansim archive |
Please use the canonical form https://CRAN.R-project.org/package=cansim to link to this page.