STATcubeR 1.0.1
- now depends on
R >= 4.1.0 - Examples are skipped when the OGD server or the ‘STATcube’ REST API is not reachable or serves an intermediate page (e.g. during maintenance work) instead of failing with an error (CRAN check).
- Network functions (
od_table(),od_list(),od_revisions(),od_catalogue(),sc_table(),sc_table_custom(),sc_table_saved(),sc_table_saved_list(),sc_schema(),sc_info(),sc_rate_limit_*()) inform via a message and returninvisible(NULL)when the server is not available, instead of failing with a cryptic parse error. The target server (ext/red/prod) is derived from the requested dataset and reported in the message. -
od_cache_update()andsc_check_response()detect html responses (e.g. maintenance pages or firewall rejections) and report an informative error. - New (internal) availability checks
od_server_reachable()andsc_server_reachable(), cached per R session.sc_server_reachable()validates theserverargument viamatch.arg()and checks every server (ext/red/prod/test) instead of assuming internal servers are reachable.
STATcubeR 1.0.0
CRAN release: 2024-11-29
- First Version for CRAN
- Update print methods with the tibble package (#32)
- New exported function
sdmx_table()(#27) - Simplifications and Code-refacturing
STATcubeR 0.5.2
- Add filters and other recodes to
sc_table_custom()(#33) - Add global option
STATcubeR.languageto override the default language -
od_table(): Add descriptions tox$headerandx$field(i) - Depend on cli >= 3.4.1 (@matmo, #35)
- Allow json strings in
sc_table()(@matmo, #36) - add
sdmx_table()to import sdmx archives (.zip)
STATcubeR 0.4.3
- add
od_revisions()to check for updates on the OGD server - add
od_catalogue()to combine multiple jsons metadata files into a single catalogue table
STATcubeR 0.4.2
- add
sc_browse_catalogue(),sc_browse_database()andsc_browse_table() - add
sc_schema_flatten()- update
vignette("sc_schema")
- update
- improve error handling when interacting with the REST API
STATcubeR 0.4.1
- adapt
od_list()to data.statistik.at update (ea59c71) - extend support for rate limits and update
vignette("sc_info")
STATcubeR 0.4.0
- Documentation updates
- Document and export caching of API responses (#23)
- Update URLs for the API release (#29)
- Add support for multiple API servers (#25)
- Automatically add totals to OGD datasets (#28)
- Use
rappdirs::user_cache_dir()to determine the default value for caching. - Set up continuous integration via github actions
STATcubeR 0.2.4
- add user-agent according to
vignette("api-packages", "httr") - error handling
- check for content types and http status consistently
- document error handling in
?sc_last_error - new export:
sc_last_error()
STATcubeR 0.2.3
Almost all changes between 0.2.2 and 0.2.3 are included in #13
- cleanup of some function names
- faster parsing in
sc_table() - remove dependencies to rmarkdown and rstudioapi
- improve caching for REST API to support
sc_schema()andsc_table_saved()
Documentation updates
- refactor all pkgdown articles including old articles about the REST API
- modify readme to showcase OGD, API and the base class
- update reference documentation and reference index
STATcubeR 0.2.2
This version finalizes #11
STATcubeR 0.2.1
- remove dependency to openssl
- avoid EOL warnings when reading JSON requests
- start using
NEWS.md - reorganize
README.mdand put open data there front and center
Open Data
STATcubeR now contains functions to access open government data from https://data.statistik.gv.at/
- new class
od_tableto get OGD data - methods to tabulate responses
- caching
- four new pkgdown articles for
od_table(),od_list(),od_resource()andsc_data
STATcubeR 0.2.0
- Update contents for
sc_example() - Use
Dateinstead ofPOSIXctfor time variables - Cache
$metaand$fieldin memory for classsc_table - Add caching
STATcubeR 0.1.1
- Improve
sc_example() - Add
sc_examples_list()to get all available examples - add
$browse()and$edit() - add language parameter to
sc_schema() - pkgdown article for custom tables (#6)
- update and harmonize naming of functions and parameters
