All functions

add_dist_stats()

Add pre-computed distributional stats

citation_from_version()

Return citation from the version

create_countries_vctr()

Create countries vectors

create_versioned_lkups()

Create one list of lookups per data version

create_vintage_pattern_call()

create vintage call to be parsed into get_vintage_pattern_regex()

empty_response

Empty response schema

extract_identity()

Return identity from the version of the data

extract_ppp_date()

Return the ppp date from the version of the data

extract_release_date()

Return the release date from the version of the data

fg_assign_nas_values_to_dup_cols()

Coerce variable causing potential duplicates to NAs

fg_remove_duplicates()

Remove duplicated rows created during the interpolation process

fg_standardize_cache_id()

Standardize cache_id format to avoid duplication of rows

fillin_list()

Populate list in parent frame

filter_lkup()

Helper to filter metadata aggregate distribution need to be filtered out when popshare is not null This is a temporary function until a full fix is implemented, and popshare is supported for all distributions

get_aux_table()

Return specified auxiliary data

get_param_values()

Get valid query parameter values Get vector of accepted query parameter values for the API

get_pip_version()

Return the versions of the pip packages used for computations

ifel_isnull()

Efficient "if" "else" evaluation of null.

is_empty()

Test whether a vector is length zero and IS not NULL

pip()

Compute PIP statistics

pip_aggregate()

Calculate estiamtes for aggregates different to the official regional aggregation

pip_grp()

Compute various aggregations of PIP statistics

pip_grp_logic()

Logic for computing new aggregate

reporting_level_list

List of valid coverage values

return_correct_version()

Return the version of the data

select_country()

select_country Helper function for subset_lkup()

select_reporting_level()

helper function to correctly filter look up table according to requested reporting level

select_years()

select_years Helper function for subset_lkup()

start_api()

Main function to launch the API

ui_cp_charts()

Country Profiles Charts

ui_cp_download()

Country Profiles Key Indicators download

ui_cp_key_indicators()

Country Profiles Key Indicators

ui_hp_countries()

Home Page Country Charts

ui_hp_stacked()

Home Page Main Chart

ui_pc_charts()

Poverty Calculator Main chart

ui_pc_regional()

Poverty Calculator regional aggregates

ui_svy_meta()

Data Sources Survey Metadata

valid_years()

Return available valid years

version_dataframe()

Return versions of the data available.