South Africa Macroeconomic Database API
Overview
An R API providing access to a relational database with macroeconomic time series data for South Africa, obtained from the South African Reserve Bank (SARB) and Statistics South Africa (STATSSA), and updated on a weekly basis via the EconData https://www.econdata.co.za/ platform and automated scraping of the SARB and STATSSA websites. The database is maintained at the Department of Economics at Stellenbosch University.
- Fixed errors occurring when internet connection or certain datasets are not available (as demanded by CRAN).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 12includes a package overview page
- Examples that run
- 27%3 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
- Exported functions with examples
- 100%
- Documented parameters
- 92%
- Return-value docs
- 91%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 38
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Issues over time
Checks run against github.com/stellenbosch-econometrics/samadb-issues on 2026-10-18.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing samadb adds 6 packages (5 with compiled code, 10 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, collapse 1.4 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.3.1Latest
- RR 4.5.0 released · 2025-04-11
- 0.3.02024-05-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.2.62023-05-15
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-05-15
- Total releases
- 3 / 3 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 16 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("samadb")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-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.