Access Chilean Data via APIs and Curated Datasets
Overview
Provides functions to access data from public RESTful APIs including 'FINDIC API', 'World Bank API', and 'Nager.Date', retrieving real-time or historical data related to Chile such as financial indicators, holidays, and more. Additionally, the package includes curated datasets related to Chile, covering topics such as human rights violations during the Pinochet regime, electoral data, census samples, health surveys, seismic events, territorial codes, and environmental measurements. The package supports research and analysis focused on Chile by integrating open APIs with high-quality datasets from multiple domains. For more information on the APIs, see: 'FINDIC' https://findic.cl/, 'World Bank API' https://datahelpdesk.worldbank.org/knowledgebase/articles/889392, and 'Nager.Date' https://date.nager.at/Api.
Breaking Changes
- **Removed
get_country_info_cl()** from the package. This function depended on the 'REST Countries' API v3.1 endpoint, which was deprecated by its provider. The replacement v5 endpoint now requires an API key, which is incompatible with CRAN's policy that packages using Internet resources must work without user-supplied credentials. As a consequence, all associated tests, documentation, and examples have been removed, and references to the 'REST Countries API' have been removed from the package (DESCRIPTION,README.md, vignette,LICENSE.md). - The package now integrates **three** APIs instead of four: **FINDIC API**, **World Bank API**, and **Nager.Date**.
Notes
- Updated copyright year to 2025-2026 across license files.
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
---
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-20
- ERROR12 OK, 1 ERROR2026-10-15
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-14
Show 10 earlier changesHide 10 earlier changes
- ERROR12 OK, 1 ERROR2026-07-10
- OK13 OK2026-07-09
- ERROR12 OK, 1 ERROR2026-06-12
- OK13 OK2026-06-07
- ERROR12 OK, 1 ERROR2026-05-31
- OK13 OK2026-05-07
- ERROR12 OK, 1 ERROR2026-05-06
- OK13 OK2026-05-05
- ERROR13 OK, 1 ERROR2026-03-30
- OK14 OK2026-03-10
Documentation
- Help pages
- 28includes a package overview page
- Examples that run
- 53%10 run in a plain check (9 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran) · 8 never run
- Exported functions with examples
- 70%
- Documented parameters
- 11%
- Return-value docs
- 70%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/lightbluetitan/chiledataapi on 2026-10-25.
GitHub Pages site last deployed 2026-07-02
pkgdown site last built 2026-07-02, before release 0.3.0 (2026-07-03)
Dependencies
Installing ChileDataAPI adds 27 packages (16 with compiled code, 11 MB of source tarballs). Heaviest: farver 1.2 MB, viridisLite 1.2 MB, openssl 1.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.02025-09-11 · diff ↗ ·
removed 1 export
get_country_infoadded 11 exports
get_chile_child_mortality, get_chile_cpi, get_chile_energy_use, get_chile_gdp, get_chile_holidays, get_chile_hospital_beds, get_chile_life_expectancy, get_chile_literacy_rate, get_chile_population, get_chile_unemployment, get_country_info_cl - 0.1.02025-07-16
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-07-16
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 774 KB / 8 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("ChileDataAPI")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.