WBSTATS From World Bank API
Access to Data and Statistics from the World Bank API (from R)
@kaggle.darylb_wbstats
Access to Data and Statistics from the World Bank API (from R)
@kaggle.darylb_wbstats
This Dataset comes from the R Package wbstats. The World Bank[https://www.worldbank.org/] is a tremendous source of global socio-economic data; spanning several decades and dozens of topics, it has the potential to shed light on numerous global issues. To help provide access to this rich source of information, The World Bank themselves, provide a well structured RESTful API. While this API is very useful for integration into web services and other high-level applications, it becomes quickly overwhelming for researchers who have neither the time nor the expertise to develop software to interface with the API. This leaves the researcher to rely on manual bulk downloads of spreadsheets of the data they are interested in. This too is can quickly become overwhelming, as the work is manual, time consuming, and not easily reproducible. The goal of the wbstats R-package is to provide a bridge between these alternatives and allow researchers to focus on their research questions and not the question of accessing the data. The wbstats R-package allows researchers to quickly search and download the data of their particular interest in a programmatic and reproducible fashion; this facilitates a seamless integration into their workflow and allows analysis to be quickly rerun on different areas of interest and with realtime access to the latest available data.
World Development Indicators (WDI) is the primary World Bank collection of development indicators, compiled from officially recognized international sources. It presents the most current and accurate global development data available, and includes national, regional and global estimates. Copied from https://databank.worldbank.org/source/world-development-indicators.
Highlighted features of the wbstats R-package:
More information can be found at https://www.rdocumentation.org/packages/wbstats/versions/1.0.4
Note for Version 1.
Version 1 published January 2023. Its primary focus is on the featured indicator of climate change. Other versions planned will cover other featured indicators such as economy, education, energy, environment, debt, gender, health, infrastructure, poverty, science and technology.
CREATE TABLE wb_climatechange_data (
"iso2c" VARCHAR,
"iso3c" VARCHAR,
"country" VARCHAR,
"date" BIGINT,
"ag_lnd_agri_k2" DOUBLE,
"ag_lnd_agri_zs" DOUBLE,
"ag_lnd_arbl_zs" DOUBLE,
"ag_lnd_el5m_ru_k2" DOUBLE,
"ag_lnd_el5m_ru_zs" DOUBLE,
"ag_lnd_el5m_ur_k2" DOUBLE,
"ag_lnd_el5m_ur_zs" DOUBLE,
"ag_lnd_el5m_zs" DOUBLE,
"ag_lnd_frst_k2" DOUBLE,
"ag_lnd_frst_zs" DOUBLE,
"ag_lnd_irig_ag_zs" DOUBLE,
"ag_lnd_prcp_mm" DOUBLE,
"ag_yld_crel_kg" DOUBLE,
"bx_klt_dinv_wd_gd_zs" DOUBLE,
"eg_elc_accs_zs" DOUBLE,
"eg_elc_coal_zs" DOUBLE,
"eg_elc_hyro_zs" DOUBLE,
"eg_elc_ngas_zs" DOUBLE,
"eg_elc_nucl_zs" DOUBLE,
"eg_elc_petr_zs" DOUBLE,
"eg_elc_rnew_zs" DOUBLE,
"eg_elc_rnwx_kh" DOUBLE,
"eg_elc_rnwx_zs" DOUBLE,
"eg_fec_rnew_zs" DOUBLE,
"eg_use_comm_gd_pp_kd" DOUBLE,
"eg_use_elec_kh_pc" DOUBLE,
"eg_use_pcap_kg_oe" DOUBLE,
"en_atm_co2e_eg_zs" DOUBLE,
"en_atm_co2e_gf_kt" DOUBLE,
"en_atm_co2e_gf_zs" DOUBLE,
"en_atm_co2e_kd_gd" DOUBLE,
"en_atm_co2e_kt" DOUBLE,
"en_atm_co2e_lf_kt" DOUBLE,
"en_atm_co2e_lf_zs" DOUBLE,
"en_atm_co2e_pc" DOUBLE,
"en_atm_co2e_pp_gd" DOUBLE,
"en_atm_co2e_pp_gd_kd" DOUBLE,
"en_atm_co2e_sf_kt" DOUBLE,
"en_atm_co2e_sf_zs" DOUBLE,
"en_atm_ghgo_kt_ce" DOUBLE,
"en_atm_ghgo_zg" DOUBLE,
"en_atm_ghgt_kt_ce" DOUBLE,
"en_atm_ghgt_zg" DOUBLE,
"en_atm_hfcg_kt_ce" DOUBLE,
"en_atm_meth_kt_ce" DOUBLE,
"en_atm_meth_zg" DOUBLE,
"en_atm_noxe_kt_ce" DOUBLE,
"en_atm_noxe_zg" DOUBLE,
"en_atm_pfcg_kt_ce" DOUBLE,
"en_atm_sf6g_kt_ce" DOUBLE,
"en_clc_drsk_xq" DOUBLE,
"en_clc_ghgr_mt_ce" DOUBLE,
"en_clc_mdat_zs" DOUBLE,
"en_pop_el5m_ru_zs" DOUBLE,
"en_pop_el5m_ur_zs" DOUBLE,
"en_pop_el5m_zs" DOUBLE,
"en_urb_mcty_tl_zs" DOUBLE,
"er_h2o_fwtl_k3" DOUBLE,
"er_h2o_fwtl_zs" DOUBLE,
"er_lnd_ptld_zs" DOUBLE,
"er_mrn_ptmr_zs" DOUBLE,
"er_ptd_totl_zs" DOUBLE,
"ic_bus_ease_xq" DOUBLE,
"iq_cpa_pubs_xq" DOUBLE,
"is_rod_pave_zs" DOUBLE,
"nv_agr_totl_zs" DOUBLE,
"se_enr_prsc_fm_zs" DOUBLE,
"se_prm_cmpt_zs" DOUBLE,
"sh_dyn_mort" DOUBLE,
"sh_med_cmhw_p3" DOUBLE,
"sh_sta_maln_zs" DOUBLE,
"si_pov_dday" DOUBLE,
"sp_pop_grow" DOUBLE,
"sp_pop_totl" DOUBLE,
"sp_urb_grow" DOUBLE,
"sp_urb_totl" DOUBLE,
"sp_urb_totl_in_zs" DOUBLE
);CREATE TABLE wb_countries (
"iso3c" VARCHAR,
"iso2c" VARCHAR,
"country" VARCHAR,
"capital_city" VARCHAR,
"longitude" DOUBLE,
"latitude" DOUBLE,
"region_iso3c" VARCHAR,
"region_iso2c" VARCHAR,
"region" VARCHAR,
"admin_region_iso3c" VARCHAR,
"admin_region_iso2c" VARCHAR,
"admin_region" VARCHAR,
"income_level_iso3c" VARCHAR,
"income_level_iso2c" VARCHAR,
"income_level" VARCHAR,
"lending_type_iso3c" VARCHAR,
"lending_type_iso2c" VARCHAR,
"lending_type" VARCHAR
);CREATE TABLE wb_income_levels (
"iso3c" VARCHAR,
"iso2c" VARCHAR,
"income_level" VARCHAR
);CREATE TABLE wb_indicators (
"indicator_id" VARCHAR,
"indicator" VARCHAR,
"unit" VARCHAR,
"indicator_desc" VARCHAR,
"source_org" VARCHAR,
"topics" VARCHAR,
"source_id" BIGINT,
"source" VARCHAR
);CREATE TABLE wb_indicators_topics (
"indicator_id" VARCHAR,
"id" BIGINT,
"value" VARCHAR
);CREATE TABLE wb_languages (
"iso2" VARCHAR,
"lang" VARCHAR,
"lang_native" VARCHAR
);CREATE TABLE wb_lending_types (
"iso3c" VARCHAR,
"iso2c" VARCHAR,
"lending_type" VARCHAR
);CREATE TABLE wb_regions (
"region_id" DOUBLE,
"iso3c" VARCHAR,
"iso2c" VARCHAR,
"region" VARCHAR
);CREATE TABLE wb_sources (
"source_id" BIGINT,
"last_updated" TIMESTAMP,
"source" VARCHAR,
"source_code" VARCHAR,
"source_desc" VARCHAR,
"source_url" VARCHAR,
"data_available" BOOLEAN,
"metadata_available" VARCHAR,
"concepts" BIGINT
);CREATE TABLE wb_topics (
"topic_id" BIGINT,
"topic" VARCHAR,
"topic_desc" VARCHAR
);Anyone who has the link will be able to view this.