Skip to content

samadb

0.3.1Package record

South Africa Macroeconomic Database API

0packages depend
64.6Kdownloads / year
17.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.1
  • Fixed errors occurring when internet connection or certain datasets are not available (as demanded by CRAN).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMENoVignettesNoNEWSYes · 100% structured · mentions 0.3.1Citation fileNoWebsitenot declared in DESCRIPTION
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

64.6K
CRAN downloads in the past year
Rank #15,652 · ~177/day · ~5.4K/mo
Daily download trend is not available in this view yet.
31330 days
78690 days
64.6K1 year
Compare downloads with other packages →
Also on87 r2u43 c2d4u

Repository

5Stars
1Forks
0Open issues
0Open PRs
0Releases
30Commits
1Commit identities
apimacroeconomic-indicatorsjuliaopen-datapythonrsouth-africadatabase
30 commits · Last activity 2024-08-20
Responsiveness
How these are sampled
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

2024-03-22 · 52026-07-07 · 5
PracticesBeta

Checks run against github.com/stellenbosch-econometrics/samadb-issues on 2026-10-18.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.3.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.6 (2023)
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.1Latest
    record
    2025-08-19 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2024-05-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.6
    record
    2023-05-15
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("samadb")
Krantz, S. (2025). samadb: South Africa Macroeconomic Database API (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for samadb version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy