Download Indicators from UNICEF Data Warehouse


[Up] [Top]

Documentation for package ‘unicefData’ version 2.3.0

Help Pages

build_indicator_catalog Build indicator catalog
clean_unicef_data Clean and Standardize UNICEF Data
clear_config_cache Clear the cached configuration
clear_schema_cache Clear the Schema Cache
clear_unicef_cache Clear All UNICEF Caches
compare_vintages Compare two metadata vintages
compute_data_hash Compute hash of data frame for version tracking
create_data_version Create version record for a downloaded dataset
dataflow_schema Get dataflow schema information
detect_dataflow Detect Dataflow from Indicator
ensure_metadata Ensure metadata is synced and fresh
fetch_with_retry Fetch with retries
filter_unicef_data Filter UNICEF Data (Sex, Age, Wealth, etc.)
get_cached_config Get cached configuration (loads once, reuses thereafter)
get_cache_info Get Cache Info
get_codelist_meta Get metadata for a specific codelist
get_config_path Get path to the shared indicators.yaml config file
get_current_dir Get current metadata directory
get_dataflow_for_indicator Get Dataflow for Indicator
get_dataflow_list Get list of all UNICEF dataflows
get_dataflow_meta Get metadata for a specific dataflow
get_dataflow_schema Get schema for a specific dataflow
get_expected_columns Get list of expected column names for a dataflow
get_indicators_by_category Get indicator codes by category
get_indicators_by_dataflow Get indicator codes by dataflow
get_indicators_by_sdg Get indicator codes by SDG goal
get_indicator_codes Get all available indicator codes
get_indicator_info Get Indicator Info
get_indicator_meta Get metadata for a specific indicator
get_metadata_cache Get metadata cache directory
get_sample_data Get sample data from a dataflow to extract values
get_schema_cache_info Get Schema Cache Information
get_sdmx Fetch SDMX data or structure from any agency
get_unicef get_unicef
get_vintage_path Get path to a specific vintage
indicator_registry Indicator Registry - Auto-sync UNICEF Indicator Metadata
list_categories List Categories
list_dataflows List available UNICEF SDMX dataflows
list_indicators List Indicators
list_sdmx_codelist List SDMX codelist for a given agency and codelist identifier
list_sdmx_flows List Available SDMX Flows for an Agency
list_unicef_codelist List SDMX codelist for a given flow + dimension
list_unicef_flows List Available UNICEF SDMX Flows
list_vintages List available metadata vintages
load_codelists Load cached codelist metadata from YAML
load_config Load the full configuration from YAML
load_dataflows Load cached dataflow metadata from YAML
load_dataflow_schema Load schema for a specific dataflow from cached YAML
load_indicators Load cached indicator metadata from YAML
load_shared_categories Load category definitions from shared config
load_shared_dataflows Load dataflow definitions from shared config
load_shared_indicators Load indicator definitions from shared config
load_sync_history Load sync history
load_sync_summary Load last sync summary (deprecated, use load_sync_history)
load_vintage Load metadata from a specific vintage
parse_year Parse year parameter into start_year, end_year, and year_list
print.unicef_dataflow_schema Print method for dataflow schema
process_block Execute a code block with labeled logging and error handling
refresh_indicator_cache Refresh Indicator Cache
safe_read_csv Safely read a CSV file with error handling and logging
safe_read_csv_url Safely read a CSV from a URL with error handling
safe_save_csv Safely save a data frame to CSV using base R
safe_write_csv Safely write a data frame to CSV with error handling and logging
search_indicators Search Indicators
set_metadata_cache Set metadata cache directory
sync_all_metadata Sync all metadata from UNICEF SDMX API
sync_codelists Sync codelist definitions from SDMX API (excluding countries/regions)
sync_countries Sync country codes from CL_COUNTRY
sync_dataflows Sync dataflow definitions from SDMX API
sync_dataflow_schemas Sync dataflow schemas from SDMX API to YAML file
sync_indicators Sync indicator mappings (indicator -> dataflow)
sync_metadata Sync all metadata from UNICEF SDMX API
sync_regions Sync regional/aggregate codes from CL_WORLD_REGIONS
unicefData Fetch UNICEF SDMX data or structure
unicefdata Fetch UNICEF SDMX data or structure
unicefData_raw Fetch Raw UNICEF Data
unicefdata_raw Fetch Raw UNICEF Data
validate_data Validate a data frame against cached metadata
validate_unicef_schema Validate Data Against Schema