cansim: Accessing Statistics Canada Data Table and Vectors (original) (raw)
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.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-08-19 |
| DOI: | 10.32614/CRAN.package.cansim |
| Author: | Jens von Bergmann [aut, cre], Dmitry Shkolnik [aut] |
| Maintainer: | Jens von Bergmann |
| BugReports: | https://github.com/mountainMath/cansim/issues |
| License: | MIT + file |
| 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 |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=cansimto link to this page.