R Interface for the 'STATcube' REST API and Open Government Data
Overview
Import data from the 'STATcube' REST API or from the open data portal of Statistics Austria. This package includes a client for API requests as well as parsing utilities for data which originates from 'STATcube'. Documentation about 'STATcubeR' is provided by several vignettes included in the package as well as on the public 'pkgdown' page at https://statistikat.github.io/STATcubeR/.
- 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.
Show all changes in 1.0.1Hide the rest of the changes in 1.0.1
- 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.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-17
- NOTE12 OK, 1 NOTE2026-10-15
- ERROR3 OK, 10 NOTE, 1 ERROR2026-03-10
Documentation
- Help pages
- 24 (6 internal)
- Examples that run
- 100%18 run in a plain check (15 of them under a condition)
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 69%
- Median days to close, 50 most recently updated closed issues
- 150
- Median days to close, 50 most recently updated closed PRs
- 8
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/statistikat/statcuber on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-10-09 · The repository has a site deploy workflow
pkgdown site last built 2026-10-09
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.0.1Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.02024-11-29
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-11-29
- Total releases
- 2 / 2 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 122 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("STATcubeR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.