Interface to the World Inequality Database (WID)


[Up] [Top]

Documentation for package ‘widr’ version 0.1.1

Help Pages

widr-package widr: Interface to the World Inequality Database (WID)
download Download data from WID.world
download_wid Download data from WID.world
print.wid_df Print a wid_df object
print.wid_query Print a wid_query object
widr widr: Interface to the World Inequality Database (WID)
wid_ages Age group codes (\S2.1.3)
wid_cache Interact with the WID response cache
wid_cache_clear Clear all cached WID API responses
wid_cache_list List cached WID API responses
wid_concepts Concept codes (\S3-9)
wid_convert Convert a wid_df to another currency
wid_countries Country and region codes (\S2.2)
wid_decode Parse a WID variable code into its components
wid_encode Build a WID variable code from its components
wid_fetch Execute a wid_query
wid_filter Update a wid_query object
wid_gini Compute Gini coefficient from a share series
wid_is_valid Test WID code components without throwing
wid_metadata Fetch metadata for variables in a wid_df
wid_percentiles Percentile group codes (\S2.3)
wid_percentile_ratio Percentile threshold ratio (e.g. P90/P10)
wid_plot_compare Cross-country comparison bar/point chart
wid_plot_lorenz Lorenz curve
wid_plot_timeseries Time-series line chart for WID data
wid_pop_types Population unit codes (\S2.1.4)
wid_query Build a reusable WID query object
wid_search Search WID lookup tables by regex
wid_series_types Series type codes (\S2.1.1)
wid_set_key Set WID API key
wid_tidy Tidy a wid_df: decode variable codes and coerce column types
wid_top_share Top income or wealth share
wid_validate Validate WID code components