- local OS X install, R 4.3.2
- GitHub Action macOS-latest, windows-lastest (3.6), ubuntu-20.04 (devel, release)
There were no ERRORs or WARNINGs or NOTEs.
- Redundancies removed from package title
- Implement timeout and retry for API requests to remote servers
- Reduced number of vignettes to be generated during package build--putting them online on an accompanying package website instead.
- Correct problem with incorrect encoding
- Fixes issues arising from StatCan changing their API
- Adds some post-processing options in normalize_cansim_values
- Fixes issues arising from StatCan changing their API row limit
- Optimize vector retrieval by REF_DATE
- Adjust package for changes in StatCan API with different metadata format
- Fix time zone problem when parsing and formatting times for the StatCan API
- Expand get_cansim_table_notes functionality
- Add functionality to access the new cube list API
- Exclude all vignettes and example code from compilation as this may cause CRAN check errors when StatCan servers are down or otherwise temporarily unavailable
- Fold part of
normalize_cansim_values
into the default table and vector output, in particular always add a scaled variable column calledval_norm
and an imputedDate
column and covert categories to factors by default. - New
get_cansim_sqlite
function that stores tables in an SQLite database and facilitates access and managemet of data. - Adapt to changes in dplyr, tidyr, and tibble
- fix a bug that would not properly add hierarchies when category names are repeated
- Use system unzip if
getOption("unzip")
is set to enable unzip for files larger than 4GB on unix-like systems
- Fix problem with UTF-8 encoding on solaris
- move dbplyr dependence from Imports to Suggests
- Exclude vignette from automatic CRAN checks to fix problem of CRAN checks failing when StatCan servers are down and lead to the package being removed from CRAN (checks are still active in local environment and when using GitHub action checks)
- add release date info to cube metadata and cube list calls
- add auto-refresh option for sqlite tables
- remove deprecated
adjust_cansim_values_by_variable
function
- deprecate
list_cansim_tables
andserach_cansim_tables
and fallback to corresponding "_cube" methods as Open Data Canada API has changed and similar functionality is available through the "_cube" methods that tie directly into StatCan APIs - change
\donttest
to\dontrun
in examples to exclude examples that make API calls running (and occasionally failing) on CRAN
- Fix issues with top level duplicate categories
- Check for expired tables in
list_cansim_sqlite_cached_tables
- New auto-update feature for sqlite tables
- Better error handling when StatCan returns empty tables
- Add Hierachy for Geography in sqlite tables
- Better fallback and warning messages when StatCan table categories are internally inconsistent
- Performance improvements
- Support for new semi-wide table format, e.g. Census data releases
- Improvement in offline handling of sqlite tables
- Fix bug that causes collect_and_normalize not to function on some operating systems
- Speed up access to cached sqlite tables
- Fix problem with
get_cansim_vector_info()
- Better header parsing to avoid warning messages
- Fix problem with some semi-wide tables
- accommodate quirks in table 98-10-0017
- improve offline handling when StatCan servers are down
- improve metadata handling when Member ID order is mixed up in metadata
- fix problem with refreshing data in get_cansim_vectors
- fix problem with reading French tables released by the census division
- restore original column order after converting to factors
- convery geography column to factor if available
- fix problem with
add_provincial_abbreviations
that could lead to mislabelling of provinces in some cases - improve handling of metadata, enable downloading only metadata instead of only via full table download
- fold metadata into data when accessing via vector or coordinates
- allow for cansim vectors in
view_cansim_webpage
to view vector information from statcan in the browser