Package index
Data Access
Fetch and automatically clean official CBN data. These functions connect directly to institutional endpoints, handle caching, and return analysis-ready objects.
Data Discovery
Explore what datasets and indicators are available before fetching. Always start here if you are unsure of a dataset name.
-
discover_datasets() - Discover Available Datasets and Variables
Data Preparation
Clean, reshape, and augment your dataset after retrieval. Use these functions to select columns, rename variables, derive new indicators, and handle missing values.
-
apply_projection() - Project, filter, and reshape an opennaijR dataset with manifest tracking
-
derive_measure() - Derive new measures in an opennaijR_tbl with manifest tracking
-
ng_fill_missing() - Fill Missing Values in Datasets
Visualisation
Plot inflation trends and macroeconomic indicators. These functions produce ready-to-use charts with no manual formatting required.
-
plot_inflation() - Plot Nigerian Inflation Trends
-
plot_inflation_shocks() - Plot Inflation with Macroeconomic Shocks
-
naijr_cache_clear() - Clear opennaijR cache
-
naijr_cache_info() - Inspect metadata for a cached dataset
-
naijr_cache_list() - List cached opennaijR datasets