cansim: Accessing Statistics Canada Data Table and Vectors

Searches for, accesses, and retrieves new-format and old-format Statistics Canada data tables, as well as individual vectors, as tidy data frames. This package 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. Optional caching features are provided.

Version: 0.3.16
Depends: R (≥ 2.10)
Imports: digest (≥ 0.1), dplyr (≥ 0.7), httr (≥ 1.0.0), jsonlite (≥ 1.0), readr, rlang, xml2, rvest, stringr, purrr, tibble, utils, DBI, RSQLite
Suggests: knitr, rmarkdown, scales, tidyr, ggplot2, dbplyr
Published: 2024-03-12
DOI: 10.32614/CRAN.package.cansim
Author: Jens von Bergmann [cre], Dmitry Shkolnik [aut]
Maintainer: Jens von Bergmann <jens at>
License: MIT + file LICENSE
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
Working with large tables


Package source: cansim_0.3.16.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cansim_0.3.16.tgz, r-oldrel (arm64): cansim_0.3.16.tgz, r-release (x86_64): cansim_0.3.16.tgz, r-oldrel (x86_64): cansim_0.3.16.tgz
Old sources: cansim archive


Please use the canonical form to link to this page.