Package: samadb 0.3.1
samadb: South Africa Macroeconomic Database API
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.
Authors:
samadb_0.3.1.tar.gz
samadb_0.3.1.zip(r-4.7)samadb_0.3.1.zip(r-4.6)samadb_0.3.1.zip(r-4.5)
samadb_0.3.1.tgz(r-4.6-any)samadb_0.3.1.tgz(r-4.5-any)
samadb_0.3.1.tar.gz(r-4.7-any)samadb_0.3.1.tar.gz(r-4.6-any)
samadb_0.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
samadb/json (API)
NEWS
| # Install 'samadb' in R: |
| install.packages('samadb', repos = c('https://sebkrantz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/stellenbosch-econometrics/samadb-issues/issues
Last updated from:a9da4840cd. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 102 | ||
| source / vignettes | OK | 159 | ||
| linux-release-x86_64 | OK | 118 | ||
| macos-release-arm64 | OK | 81 | ||
| macos-oldrel-arm64 | OK | 120 | ||
| windows-devel | OK | 86 | ||
| windows-release | OK | 70 | ||
| windows-oldrel | OK | 72 | ||
| wasm-release | OK | 102 |
Exports:.SAMADB_ID.SAMADB_Tsm_as_datesm_datasm_datasetssm_datasourcessm_expand_datesm_pivot_longersm_pivot_widersm_seriessm_transposesm_write_excel
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| South Africa Macroeconomic Database API | samadb-package samadb |
| Global Identifier Macros | .SAMADB_ID .SAMADB_T |
| Coerce Vectors to Dates | sm_as_date |
| Retrieve Data from the Database | sm_data |
| Retrieve Datasets Table | sm_datasets |
| Retrieve Data Sources Table | sm_datasources |
| Generate Temporal Identifiers from a Date Column | sm_expand_date |
| Reshape Column-Based Data to Long Format | sm_pivot_longer |
| Reshape Long API Data to Column-Based Format | sm_pivot_wider |
| Retrieve Series Table | sm_series |
| Transpose a Wide Dataset to a Row-Based Format | sm_transpose |
| Export Wide Data to Excel | sm_write_excel |
