From d543753dfa6a29499f702de97dbd0cdf81c5ec34 Mon Sep 17 00:00:00 2001 From: m-muecke Date: Wed, 2 Oct 2024 08:39:21 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20m-muecke?= =?UTF-8?q?/worldbank@77c7d85f95b38528a077f787bb89694f14380bc3=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgdown.yml | 2 +- reference/pip_citation.html | 2 +- reference/pip_info.html | 96 ++++++++++++++++++++----------------- search.json | 2 +- 4 files changed, 54 insertions(+), 48 deletions(-) diff --git a/pkgdown.yml b/pkgdown.yml index 2f8fab9..8af1c3c 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-10-01T11:47Z +last_built: 2024-10-02T08:39Z urls: reference: https://m-muecke.github.io/worldbank/reference article: https://m-muecke.github.io/worldbank/articles diff --git a/reference/pip_citation.html b/reference/pip_citation.html index 212a311..805ce7e 100644 --- a/reference/pip_citation.html +++ b/reference/pip_citation.html @@ -92,7 +92,7 @@

Examples#> # A tibble: 1 × 3 #> citation version date_accessed #> <chr> <chr> <chr> -#> 1 World Bank (2024), Poverty and Inequality Platform (ver… 202406… 2024-09-30 +#> 1 World Bank (2024), Poverty and Inequality Platform (ver… 202406… 2024-10-02 # } diff --git a/reference/pip_info.html b/reference/pip_info.html index bd3e621..bb54d94 100644 --- a/reference/pip_info.html +++ b/reference/pip_info.html @@ -168,138 +168,144 @@

Examples#> [1] "digest_0.6.37" #> #> $other_packages[[13]] -#> [1] "ellipsis_0.3.2" +#> [1] "dplyr_1.1.4" #> #> $other_packages[[14]] -#> [1] "fansi_1.0.6" +#> [1] "ellipsis_0.3.2" #> #> $other_packages[[15]] -#> [1] "fastmap_1.2.0" +#> [1] "fansi_1.0.6" #> #> $other_packages[[16]] -#> [1] "fs_1.6.4" +#> [1] "fastmap_1.2.0" #> #> $other_packages[[17]] -#> [1] "fst_0.9.8" +#> [1] "fs_1.6.4" #> #> $other_packages[[18]] -#> [1] "future_1.34.0" +#> [1] "fst_0.9.8" #> #> $other_packages[[19]] -#> [1] "globals_0.16.3" +#> [1] "future_1.34.0" #> #> $other_packages[[20]] -#> [1] "glue_1.7.0" +#> [1] "generics_0.1.3" #> #> $other_packages[[21]] -#> [1] "hms_1.1.3" +#> [1] "globals_0.16.3" #> #> $other_packages[[22]] -#> [1] "httpuv_1.6.15" +#> [1] "glue_1.7.0" #> #> $other_packages[[23]] -#> [1] "jsonlite_1.8.8" +#> [1] "hms_1.1.3" #> #> $other_packages[[24]] -#> [1] "later_1.3.2" +#> [1] "httpuv_1.6.15" #> #> $other_packages[[25]] -#> [1] "lifecycle_1.0.4" +#> [1] "jsonlite_1.8.8" #> #> $other_packages[[26]] -#> [1] "listenv_0.9.1" +#> [1] "later_1.3.2" #> #> $other_packages[[27]] -#> [1] "magrittr_2.0.3" +#> [1] "lifecycle_1.0.4" #> #> $other_packages[[28]] -#> [1] "MASS_7.3-60" +#> [1] "listenv_0.9.1" #> #> $other_packages[[29]] -#> [1] "memoise_2.0.1" +#> [1] "magrittr_2.0.3" #> #> $other_packages[[30]] -#> [1] "parallel_4.3.2" +#> [1] "MASS_7.3-60" #> #> $other_packages[[31]] -#> [1] "parallelly_1.38.0" +#> [1] "memoise_2.0.1" #> #> $other_packages[[32]] -#> [1] "pillar_1.9.0" +#> [1] "parallel_4.3.2" #> #> $other_packages[[33]] -#> [1] "pkgconfig_2.0.3" +#> [1] "parallelly_1.38.0" #> #> $other_packages[[34]] -#> [1] "promises_1.3.0" +#> [1] "pillar_1.9.0" #> #> $other_packages[[35]] -#> [1] "purrr_1.0.2" +#> [1] "pkgconfig_2.0.3" #> #> $other_packages[[36]] -#> [1] "qs_0.26.3" +#> [1] "promises_1.3.0" #> #> $other_packages[[37]] -#> [1] "R6_2.5.1" +#> [1] "purrr_1.0.2" #> #> $other_packages[[38]] -#> [1] "RApiSerialize_0.1.3" +#> [1] "qs_0.26.3" #> #> $other_packages[[39]] -#> [1] "rappdirs_0.3.3" +#> [1] "R6_2.5.1" #> #> $other_packages[[40]] -#> [1] "Rcpp_1.0.13" +#> [1] "RApiSerialize_0.1.3" #> #> $other_packages[[41]] -#> [1] "RcppParallel_5.1.9" +#> [1] "rappdirs_0.3.3" #> #> $other_packages[[42]] -#> [1] "readr_2.1.5" +#> [1] "Rcpp_1.0.13" #> #> $other_packages[[43]] -#> [1] "rlang_1.1.4" +#> [1] "RcppParallel_5.1.9" #> #> $other_packages[[44]] -#> [1] "stringfish_0.16.0" +#> [1] "readr_2.1.5" #> #> $other_packages[[45]] -#> [1] "stringi_1.8.4" +#> [1] "rlang_1.1.4" #> #> $other_packages[[46]] -#> [1] "swagger_5.17.14.1" +#> [1] "stringfish_0.16.0" #> #> $other_packages[[47]] -#> [1] "tibble_3.2.1" +#> [1] "stringi_1.8.4" #> #> $other_packages[[48]] -#> [1] "tidyselect_1.2.1" +#> [1] "swagger_5.17.14.1" #> #> $other_packages[[49]] -#> [1] "tools_4.3.2" +#> [1] "tibble_3.2.1" #> #> $other_packages[[50]] -#> [1] "triebeard_0.4.1" +#> [1] "tidyselect_1.2.1" #> #> $other_packages[[51]] -#> [1] "tzdb_0.4.0" +#> [1] "tools_4.3.2" #> #> $other_packages[[52]] -#> [1] "urltools_1.7.3" +#> [1] "triebeard_0.4.1" #> #> $other_packages[[53]] -#> [1] "utf8_1.2.4" +#> [1] "tzdb_0.4.0" #> #> $other_packages[[54]] -#> [1] "vctrs_0.6.5" +#> [1] "urltools_1.7.3" #> #> $other_packages[[55]] -#> [1] "vroom_1.6.5" +#> [1] "utf8_1.2.4" #> #> $other_packages[[56]] -#> [1] "webutils_1.2.1" +#> [1] "vctrs_0.6.5" #> #> $other_packages[[57]] +#> [1] "vroom_1.6.5" +#> +#> $other_packages[[58]] +#> [1] "webutils_1.2.1" +#> +#> $other_packages[[59]] #> [1] "yaml_2.3.10" #> #> @@ -315,7 +321,7 @@

Examples#> #> $server_time #> $server_time[[1]] -#> [1] "2024-10-01 11:47:14" +#> [1] "2024-10-02 08:39:14" #> #> # } diff --git a/search.json b/search.json index b0e8428..3db11a1 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://m-muecke.github.io/worldbank/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 worldbank authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://m-muecke.github.io/worldbank/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Maximilian Mücke. Author, maintainer.","code":""},{"path":"https://m-muecke.github.io/worldbank/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Mücke M (2024). worldbank: Client World Banks's 'Indicators' 'Poverty Inequality Platform (PIP)' APIs. R package version 0.3.0.9000, https://github.com/m-muecke/worldbank, https://m-muecke.github.io/worldbank/.","code":"@Manual{, title = {worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs}, author = {Maximilian Mücke}, year = {2024}, note = {R package version 0.3.0.9000, https://github.com/m-muecke/worldbank}, url = {https://m-muecke.github.io/worldbank/}, }"},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"overview","dir":"","previous_headings":"","what":"Overview","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"worlbank provides simple interface following World Bank APIs: Indicators API v2 Poverty Inequality Platform (PIP) API. Finances One API main difference packages ’s modern implementation using httr2 package supports available endpoints parameters. worldbank package provides set functions interact various endpoints World Bank Indicators API. function designed retrieve specific types data, making easier access analyze World Bank datasets. overview available endpoints corresponding functions package: Languages (wb_language): Retrieves list languages supported World Bank API. Useful obtaining language-specific data. Lending Types (wb_lending_type): Fetches information different lending types recognized World Bank. Income Levels (wb_income_level): Allows users access data various income levels defined World Bank. Sources (wb_source): Provides details different data sources available within World Bank’s datasets. Topics (wb_topic): Lists topics covered World Bank API, helping users narrow data search specific areas interest. Regions (wb_region): Offers information different geographical regions categorized World Bank. Countries (wb_country): Enables access detailed data individual countries, including socio-economic developmental indicators. Country Indicators (wb_country_indicator): Specific retrieving indicators particular country countries, allowing targeted data analysis. Indicators (wb_indicator): endpoint gives users access wide array indicators used World Bank data analysis reports.","code":""},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"can install released version worldbank CRAN : development version GitHub :","code":"install.packages(\"worldbank\") # install.packages(\"pak\") pak::pak(\"m-muecke/worldbank\")"},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"worldbank functions prefixed wb_ follow naming convention World Bank API v2.","code":"library(worldbank) # filter by specific country wb_country(c(\"US\", \"DE\")) #> # A tibble: 2 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 DEU DE Germany ECS Z7 Europe & Central … #> 2 USA US United States NAC XU North America #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude # or fetch all (default) wb_country() #> # A tibble: 296 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 ABW AW Aruba LCN ZJ Latin Ameri… #> 2 AFE ZH Africa Eastern and… NA NA Aggregates #> 3 AFG AF Afghanistan SAS 8S South Asia #> 4 AFR A9 Africa NA NA Aggregates #> 5 AFW ZI Africa Western and… NA NA Aggregates #> # ℹ 291 more rows #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude # search for specific indicator ind <- wb_indicator() ind <- subset( ind, grepl(\"GDP\", id, fixed = TRUE) & source_value == \"World Development Indicators\" ) ind #> # A tibble: 35 × 9 #> id name unit source_id source_value source_note source_organization #> #> 1 EG.GDP.PUS… GDP … 2 World Devel… GDP per un… IEA Statistics © O… #> 2 EG.GDP.PUS… GDP … 2 World Devel… GDP per un… IEA Statistics © O… #> 3 ER.GDP.FWT… Wate… 2 World Devel… Water prod… Food and Agricultu… #> 4 NY.GDP.COA… Coal… 2 World Devel… Coal rents… World Bank staff e… #> 5 NY.GDP.DEF… Infl… 2 World Devel… Inflation … World Bank nationa… #> # ℹ 30 more rows #> # ℹ 2 more variables: topic_id , topic_value # fetch indicator data for specific or all countries (default) gdp <- wb_country_indicator(\"NY.GDP.MKTP.CD\", c(\"US\", \"DE\", \"FR\", \"CH\", \"JP\")) gdp #> # A tibble: 320 × 10 #> date indicator_id indicator_name country_id country_name country_code value #> #> 1 2023 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.85e11 #> 2 2022 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.18e11 #> 3 2021 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.13e11 #> 4 2020 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 7.42e11 #> 5 2019 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 7.21e11 #> # ℹ 315 more rows #> # ℹ 3 more variables: unit , obs_status , decimal "},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"related-work","dir":"","previous_headings":"","what":"Related work","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"wbstats: R package searching downloading data World Bank API WDI: R package download World Bank data pipr: R client PIP Worldbank API","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":null,"dir":"Reference","previous_headings":"","what":"Return Finances One API Data — fone_dataset","title":"Return Finances One API Data — fone_dataset","text":"Return Finances One API Data","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return Finances One API Data — fone_dataset","text":"","code":"fone_dataset(dataset_id, resource_id, ..., limit = NULL) fone_view(view_id, ..., limit = NULL)"},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return Finances One API Data — fone_dataset","text":"https://financesone.worldbank.org/data","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return Finances One API Data — fone_dataset","text":"dataset_id character(1) id associated dataset. resource_id character(1) id associated resource. ... additional arguments passed request. limit integer(1) maximum number rows return. Default NULL. NULL, rows returned. view_id character(1) id view.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return Finances One API Data — fone_dataset","text":"data.frame() requested dataset.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return Finances One API Data — fone_dataset","text":"","code":"if (FALSE) { # \\dontrun{ fone_dataset(dataset_id = \"DS00047\", resource_id = \"RS00005\") fone_view(view_id = \"DS01538\") } # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":null,"dir":"Reference","previous_headings":"","what":"Return auxiliary data tables — pip_aux","title":"Return auxiliary data tables — pip_aux","text":"Return auxiliary data tables","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return auxiliary data tables — pip_aux","text":"","code":"pip_aux( table = NULL, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return auxiliary data tables — pip_aux","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return auxiliary data tables — pip_aux","text":"table character(1) table returned. Default NULL. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return auxiliary data tables — pip_aux","text":"character() available tables data.frame() containing table data.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return auxiliary data tables — pip_aux","text":"","code":"# \\donttest{ # get a list of available tables pip_aux() #> [1] \"aux_versions\" \"countries\" \"country_coverage\" #> [4] \"country_list\" \"cpi\" \"decomposition\" #> [7] \"dictionary\" \"framework\" \"gdp\" #> [10] \"incgrp_coverage\" \"indicators\" \"interpolated_means\" #> [13] \"metaregion\" \"missing_data\" \"national_poverty_lines\" #> [16] \"pce\" \"pg_lnp\" \"pg_svy\" #> [19] \"pop\" \"pop_region\" \"poverty_lines\" #> [22] \"ppp\" \"region_coverage\" \"regions\" #> [25] \"spr_lnp\" \"spr_svy\" \"survey_means\" # get countries pip_aux(\"countries\") #> # A tibble: 170 × 8 #> country_code country_name africa_split africa_split_code region region_code #> #> 1 AGO Angola Eastern and… AFE Sub-S… SSA #> 2 ALB Albania NA NA Europ… ECA #> 3 ARE United Arab E… NA NA Other… OHI #> 4 ARG Argentina NA NA Latin… LAC #> 5 ARM Armenia NA NA Europ… ECA #> 6 AUS Australia NA NA Other… OHI #> 7 AUT Austria NA NA Other… OHI #> 8 AZE Azerbaijan NA NA Europ… ECA #> 9 BDI Burundi Eastern and… AFE Sub-S… SSA #> 10 BEL Belgium NA NA Other… OHI #> # ℹ 160 more rows #> # ℹ 2 more variables: world , world_code # get GDP pip_aux(\"gdp\") #> # A tibble: 10,560 × 4 #> country_code data_level year value #> #> 1 ABW national 1977 NA #> 2 ABW national 1978 NA #> 3 ABW national 1979 NA #> 4 ABW national 1980 NA #> 5 ABW national 1981 NA #> 6 ABW national 1982 NA #> 7 ABW national 1983 NA #> 8 ABW national 1984 NA #> 9 ABW national 1985 NA #> 10 ABW national 1986 16112. #> # ℹ 10,550 more rows # get CPI pip_aux(\"cpi\") #> # A tibble: 8,084 × 4 #> country_code data_level year value #> #> 1 AGO national 1977 NA #> 2 AGO national 1978 NA #> 3 AGO national 1979 NA #> 4 AGO national 1980 NA #> 5 AGO national 1981 NA #> 6 AGO national 1982 NA #> 7 AGO national 1983 NA #> 8 AGO national 1984 NA #> 9 AGO national 1985 NA #> 10 AGO national 1986 NA #> # ℹ 8,074 more rows # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":null,"dir":"Reference","previous_headings":"","what":"Return citation for a given version — pip_citation","title":"Return citation for a given version — pip_citation","text":"Return citation given version","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return citation for a given version — pip_citation","text":"","code":"pip_citation(release_version = NULL, ppp_version = NULL, version = NULL)"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return citation for a given version — pip_citation","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return citation for a given version — pip_citation","text":"release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return citation for a given version — pip_citation","text":"data.frame() citation.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return citation for a given version — pip_citation","text":"","code":"# \\donttest{ pip_citation() #> # A tibble: 1 × 3 #> citation version date_accessed #> #> 1 World Bank (2024), Poverty and Inequality Platform (ver… 202406… 2024-09-30 # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Return main poverty and inequality statistics — pip_data","title":"Return main poverty and inequality statistics — pip_data","text":"Return main poverty inequality statistics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return main poverty and inequality statistics — pip_data","text":"","code":"pip_data( country = NULL, year = NULL, povline = 2.15, popshare = NULL, fill_gaps = FALSE, welfare_type = c(\"all\", \"consumption\", \"income\"), reporting_level = c(\"all\", \"national\", \"rural\", \"urban\"), additional_ind = FALSE, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return main poverty and inequality statistics — pip_data","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return main poverty and inequality statistics — pip_data","text":"country character() countries statistics computed, specified ISO3 codes. Default NULL. year character() | numeric() year(s) statistics computed, specified YYYY. Default NULL. povline numeric(1) poverty line used compute poverty mesures. Poverty lines accepted 3 decimals. Default 2.15. popshare numeric(1) proportion population living poverty line. ignored povline specified. Default NULL. fill_gaps logical(1) whether fill gaps data. Default FALSE. welfare_type character(1) type welfare measure used. Default \"\". reporting_level character(1) level reporting statistics. Default \"\". additional_ind logical(1) whether include additional indicators. Default FALSE. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return main poverty and inequality statistics — pip_data","text":"data.frame() requested statistics.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return main poverty and inequality statistics — pip_data","text":"","code":"# \\donttest{ pip_data(c(\"ZAF\", \"ZMB\")) #> # A tibble: 16 × 44 #> region_name region_code country_name country_code reporting_year #> #> 1 Sub-Saharan Africa SSA South Africa ZAF 1993 #> 2 Sub-Saharan Africa SSA South Africa ZAF 2000 #> 3 Sub-Saharan Africa SSA South Africa ZAF 2005 #> 4 Sub-Saharan Africa SSA South Africa ZAF 2008 #> 5 Sub-Saharan Africa SSA South Africa ZAF 2010 #> 6 Sub-Saharan Africa SSA South Africa ZAF 2014 #> 7 Sub-Saharan Africa SSA Zambia ZMB 1991 #> 8 Sub-Saharan Africa SSA Zambia ZMB 1993 #> 9 Sub-Saharan Africa SSA Zambia ZMB 1996 #> 10 Sub-Saharan Africa SSA Zambia ZMB 1998 #> 11 Sub-Saharan Africa SSA Zambia ZMB 2002 #> 12 Sub-Saharan Africa SSA Zambia ZMB 2004 #> 13 Sub-Saharan Africa SSA Zambia ZMB 2006 #> 14 Sub-Saharan Africa SSA Zambia ZMB 2010 #> 15 Sub-Saharan Africa SSA Zambia ZMB 2015 #> 16 Sub-Saharan Africa SSA Zambia ZMB 2022 #> # ℹ 39 more variables: reporting_level , survey_acronym , #> # survey_coverage , survey_year , welfare_type , #> # survey_comparability , comparable_spell , poverty_line , #> # headcount , poverty_gap , poverty_severity , watts , #> # mean , median , mld , gini , polarization , #> # decile1 , decile2 , decile3 , decile4 , decile5 , #> # decile6 , decile7 , decile8 , decile9 , … # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":null,"dir":"Reference","previous_headings":"","what":"Return aggregation of PIP statistics — pip_group","title":"Return aggregation of PIP statistics — pip_group","text":"Return aggregation PIP statistics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return aggregation of PIP statistics — pip_group","text":"","code":"pip_group( country = NULL, year = NULL, povline = 2.15, popshare = NULL, group_by = c(\"wb\", \"none\"), fill_gaps = FALSE, welfare_type = c(\"all\", \"consumption\", \"income\"), reporting_level = c(\"all\", \"national\", \"rural\", \"urban\"), additional_ind = FALSE, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return aggregation of PIP statistics — pip_group","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return aggregation of PIP statistics — pip_group","text":"country character() countries statistics computed, specified ISO3 codes. Default NULL. year character() | numeric() year(s) statistics computed, specified YYYY. Default NULL. povline numeric(1) poverty line used compute poverty mesures. Poverty lines accepted 3 decimals. Default 2.15. popshare numeric(1) proportion population living poverty line. ignored povline specified. Default NULL. group_by character(1) aggregate results pre-defined sub-groups. Default \"wb\". fill_gaps logical(1) whether fill gaps data. Default FALSE. welfare_type character(1) type welfare measure used. Default \"\". reporting_level character(1) level reporting statistics. Default \"\". additional_ind logical(1) whether include additional indicators. Default FALSE. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return aggregation of PIP statistics — pip_group","text":"data.frame() requested statistics.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return aggregation of PIP statistics — pip_group","text":"","code":"# \\donttest{ pip_group(c(\"AFE\", \"LAC\")) #> # A tibble: 88 × 14 #> region_name region_code reporting_year poverty_line headcount poverty_gap #> #> 1 Eastern and So… AFE 1981 2.15 0.520 0.221 #> 2 Eastern and So… AFE 1982 2.15 0.524 0.225 #> 3 Eastern and So… AFE 1983 2.15 0.529 0.229 #> 4 Eastern and So… AFE 1984 2.15 0.539 0.235 #> 5 Eastern and So… AFE 1985 2.15 0.547 0.240 #> 6 Eastern and So… AFE 1986 2.15 0.540 0.235 #> 7 Eastern and So… AFE 1987 2.15 0.533 0.230 #> 8 Eastern and So… AFE 1988 2.15 0.533 0.229 #> 9 Eastern and So… AFE 1989 2.15 0.533 0.230 #> 10 Eastern and So… AFE 1990 2.15 0.542 0.236 #> # ℹ 78 more rows #> # ℹ 8 more variables: poverty_severity , watts , mean , #> # spr , pg , estimate_type , reporting_pop , #> # pop_in_poverty # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine if the API is running and listening as expected — pip_health_check","title":"Determine if the API is running and listening as expected — pip_health_check","text":"Determine API running listening expected","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine if the API is running and listening as expected — pip_health_check","text":"","code":"pip_health_check()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Determine if the API is running and listening as expected — pip_health_check","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine if the API is running and listening as expected — pip_health_check","text":"character(1) health check message.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine if the API is running and listening as expected — pip_health_check","text":"","code":"# \\donttest{ pip_health_check() #> [1] \"PIP API is running\" # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":null,"dir":"Reference","previous_headings":"","what":"Return information about the API — pip_info","title":"Return information about the API — pip_info","text":"Return information API","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return information about the API — pip_info","text":"","code":"pip_info()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return information about the API — pip_info","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return information about the API — pip_info","text":"data.frame() API information.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return information about the API — pip_info","text":"","code":"# \\donttest{ pip_info() #> $available_data_versions #> $available_data_versions[[1]] #> [1] \"20240627_2017_01_02_PROD\" #> #> $available_data_versions[[2]] #> [1] \"20240627_2011_02_02_PROD\" #> #> $available_data_versions[[3]] #> [1] \"20240326_2017_01_02_PROD\" #> #> $available_data_versions[[4]] #> [1] \"20240326_2011_02_02_PROD\" #> #> $available_data_versions[[5]] #> [1] \"20230919_2017_01_02_PROD\" #> #> $available_data_versions[[6]] #> [1] \"20230919_2011_02_02_PROD\" #> #> $available_data_versions[[7]] #> [1] \"20230328_2017_01_02_PROD\" #> #> $available_data_versions[[8]] #> [1] \"20230328_2011_02_02_PROD\" #> #> $available_data_versions[[9]] #> [1] \"20220909_2017_01_02_PROD\" #> #> $available_data_versions[[10]] #> [1] \"20220909_2011_02_02_PROD\" #> #> #> $pip_packages #> $pip_packages$pipapi #> $pip_packages$pipapi$pkg_version #> $pip_packages$pipapi$pkg_version[[1]] #> [1] \"1.3.10\" #> #> #> $pip_packages$pipapi$pkg_hash #> $pip_packages$pipapi$pkg_hash[[1]] #> [1] \"c6600af6c0e74b2aaee8f647ea4d56b585b26abb\" #> #> #> #> $pip_packages$wbpip #> $pip_packages$wbpip$pkg_version #> $pip_packages$wbpip$pkg_version[[1]] #> [1] \"0.1.4\" #> #> #> $pip_packages$wbpip$pkg_hash #> $pip_packages$wbpip$pkg_hash[[1]] #> [1] \"80bcd3151f16c3e113086d5f27d778a8262b4adf\" #> #> #> #> #> $other_packages #> $other_packages[[1]] #> [1] \"arrow_17.0.0.1\" #> #> $other_packages[[2]] #> [1] \"assertthat_0.2.1\" #> #> $other_packages[[3]] #> [1] \"bit_4.0.5\" #> #> $other_packages[[4]] #> [1] \"bit64_4.0.5\" #> #> $other_packages[[5]] #> [1] \"cachem_1.1.0\" #> #> $other_packages[[6]] #> [1] \"cli_3.6.3\" #> #> $other_packages[[7]] #> [1] \"codetools_0.2-19\" #> #> $other_packages[[8]] #> [1] \"collapse_2.0.16\" #> #> $other_packages[[9]] #> [1] \"compiler_4.3.2\" #> #> $other_packages[[10]] #> [1] \"crayon_1.5.3\" #> #> $other_packages[[11]] #> [1] \"data.table_1.16.0\" #> #> $other_packages[[12]] #> [1] \"digest_0.6.37\" #> #> $other_packages[[13]] #> [1] \"ellipsis_0.3.2\" #> #> $other_packages[[14]] #> [1] \"fansi_1.0.6\" #> #> $other_packages[[15]] #> [1] \"fastmap_1.2.0\" #> #> $other_packages[[16]] #> [1] \"fs_1.6.4\" #> #> $other_packages[[17]] #> [1] \"fst_0.9.8\" #> #> $other_packages[[18]] #> [1] \"future_1.34.0\" #> #> $other_packages[[19]] #> [1] \"globals_0.16.3\" #> #> $other_packages[[20]] #> [1] \"glue_1.7.0\" #> #> $other_packages[[21]] #> [1] \"hms_1.1.3\" #> #> $other_packages[[22]] #> [1] \"httpuv_1.6.15\" #> #> $other_packages[[23]] #> [1] \"jsonlite_1.8.8\" #> #> $other_packages[[24]] #> [1] \"later_1.3.2\" #> #> $other_packages[[25]] #> [1] \"lifecycle_1.0.4\" #> #> $other_packages[[26]] #> [1] \"listenv_0.9.1\" #> #> $other_packages[[27]] #> [1] \"magrittr_2.0.3\" #> #> $other_packages[[28]] #> [1] \"MASS_7.3-60\" #> #> $other_packages[[29]] #> [1] \"memoise_2.0.1\" #> #> $other_packages[[30]] #> [1] \"parallel_4.3.2\" #> #> $other_packages[[31]] #> [1] \"parallelly_1.38.0\" #> #> $other_packages[[32]] #> [1] \"pillar_1.9.0\" #> #> $other_packages[[33]] #> [1] \"pkgconfig_2.0.3\" #> #> $other_packages[[34]] #> [1] \"promises_1.3.0\" #> #> $other_packages[[35]] #> [1] \"purrr_1.0.2\" #> #> $other_packages[[36]] #> [1] \"qs_0.26.3\" #> #> $other_packages[[37]] #> [1] \"R6_2.5.1\" #> #> $other_packages[[38]] #> [1] \"RApiSerialize_0.1.3\" #> #> $other_packages[[39]] #> [1] \"rappdirs_0.3.3\" #> #> $other_packages[[40]] #> [1] \"Rcpp_1.0.13\" #> #> $other_packages[[41]] #> [1] \"RcppParallel_5.1.9\" #> #> $other_packages[[42]] #> [1] \"readr_2.1.5\" #> #> $other_packages[[43]] #> [1] \"rlang_1.1.4\" #> #> $other_packages[[44]] #> [1] \"stringfish_0.16.0\" #> #> $other_packages[[45]] #> [1] \"stringi_1.8.4\" #> #> $other_packages[[46]] #> [1] \"swagger_5.17.14.1\" #> #> $other_packages[[47]] #> [1] \"tibble_3.2.1\" #> #> $other_packages[[48]] #> [1] \"tidyselect_1.2.1\" #> #> $other_packages[[49]] #> [1] \"tools_4.3.2\" #> #> $other_packages[[50]] #> [1] \"triebeard_0.4.1\" #> #> $other_packages[[51]] #> [1] \"tzdb_0.4.0\" #> #> $other_packages[[52]] #> [1] \"urltools_1.7.3\" #> #> $other_packages[[53]] #> [1] \"utf8_1.2.4\" #> #> $other_packages[[54]] #> [1] \"vctrs_0.6.5\" #> #> $other_packages[[55]] #> [1] \"vroom_1.6.5\" #> #> $other_packages[[56]] #> [1] \"webutils_1.2.1\" #> #> $other_packages[[57]] #> [1] \"yaml_2.3.10\" #> #> #> $r_version #> $r_version[[1]] #> [1] \"R version 4.3.2 (2023-10-31)\" #> #> #> $server_os #> $server_os[[1]] #> [1] \"Red Hat Enterprise Linux 8.10 (Ootpa)\" #> #> #> $server_time #> $server_time[[1]] #> [1] \"2024-10-01 11:47:14\" #> #> # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":null,"dir":"Reference","previous_headings":"","what":"Return valid query parameters — pip_valid_params","title":"Return valid query parameters — pip_valid_params","text":"Return valid query parameters","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return valid query parameters — pip_valid_params","text":"","code":"pip_valid_params( endpoint = c(\"all\", \"aux\", \"pip\", \"pip-grp\", \"pip-info\", \"valid-params\"), release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return valid query parameters — pip_valid_params","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return valid query parameters — pip_valid_params","text":"endpoint character(1) endpoint valid parameters returned. Default \"\". release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return valid query parameters — pip_valid_params","text":"data.frame() valid parameters.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return valid query parameters — pip_valid_params","text":"","code":"# \\donttest{ pip_valid_params() #> # A tibble: 350 × 4 #> param_names param_values param_boundaries param_types #> #> 1 country ALL NA character #> 2 country AFE NA character #> 3 country AFW NA character #> 4 country AGO NA character #> 5 country ALB NA character #> 6 country ARE NA character #> 7 country ARG NA character #> 8 country ARM NA character #> 9 country AUS NA character #> 10 country AUT NA character #> # ℹ 340 more rows # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":null,"dir":"Reference","previous_headings":"","what":"Return the available data versions — pip_versions","title":"Return the available data versions — pip_versions","text":"Return available data versions","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return the available data versions — pip_versions","text":"","code":"pip_versions()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return the available data versions — pip_versions","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return the available data versions — pip_versions","text":"data.frame() available versions.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return the available data versions — pip_versions","text":"","code":"# \\donttest{ pip_versions() #> # A tibble: 10 × 4 #> version release_version ppp_version identity #> #> 1 20240627_2017_01_02_PROD 20240627 2017 PROD #> 2 20240627_2011_02_02_PROD 20240627 2011 PROD #> 3 20240326_2017_01_02_PROD 20240326 2017 PROD #> 4 20240326_2011_02_02_PROD 20240326 2011 PROD #> 5 20230919_2017_01_02_PROD 20230919 2017 PROD #> 6 20230919_2011_02_02_PROD 20230919 2011 PROD #> 7 20230328_2017_01_02_PROD 20230328 2017 PROD #> 8 20230328_2011_02_02_PROD 20230328 2011 PROD #> 9 20220909_2017_01_02_PROD 20220909 2017 PROD #> 10 20220909_2011_02_02_PROD 20220909 2011 PROD # }"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank country data — wb_country","title":"World Bank country data — wb_country","text":"List countries supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank country data — wb_country","text":"","code":"wb_country(country = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank country data — wb_country","text":"https://api.worldbank.org/v2/country","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank country data — wb_country","text":"country character() country query. Default NULL. NULL, countries returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank country data — wb_country","text":"data.frame() available countries. columns : country_id country ID. country_code country code. country_name country name. region_id region ID. region_code region code. region_value region value. admin_region_id admin region ID. admin_region_code admin region code. admin_region_value admin region value. income_level_id income level ID. income_level_code income level code. income_level_value income level value. lending_type_id lending type ID. lending_type_code lending type code. lending_type_value lending type value. capital_city capital city. longitude longitude. latitude latitude.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank country data — wb_country","text":"","code":"wb_country() #> # A tibble: 296 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 ABW AW Aruba LCN ZJ Latin Ameri… #> 2 AFE ZH Africa Eastern an… NA NA Aggregates #> 3 AFG AF Afghanistan SAS 8S South Asia #> 4 AFR A9 Africa NA NA Aggregates #> 5 AFW ZI Africa Western an… NA NA Aggregates #> 6 AGO AO Angola SSF ZG Sub-Saharan… #> 7 ALB AL Albania ECS Z7 Europe & Ce… #> 8 AND AD Andorra ECS Z7 Europe & Ce… #> 9 ARB 1A Arab World NA NA Aggregates #> 10 ARE AE United Arab Emira… MEA ZQ Middle East… #> # ℹ 286 more rows #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank country indicator data — wb_country_indicator","title":"World Bank country indicator data — wb_country_indicator","text":"List country indicators supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank country indicator data — wb_country_indicator","text":"","code":"wb_country_indicator( indicator = \"NY.GDP.MKTP.CD\", country = NULL, lang = \"en\", start_date = NULL, end_date = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank country indicator data — wb_country_indicator","text":"https://api.worldbank.org/v2/country/{country}/indicator/{indicator}","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank country indicator data — wb_country_indicator","text":"indicator character(1) indicator query. country character() country query. Default NULL. NULL, countries returned. lang character(1) language query. Default \"en\". start_date character(1) integer(1) start date query. Default NULL. Supported formats: YYYY yearly data (e.g. 2020 \"2020\") YYYYQ[1-4] quarterly data (e.g. \"2020Q1\") YYYYM[1-12] monthly data (e.g. \"2020M02\") end_date character(1) integer(1) end date query, format start_date. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank country indicator data — wb_country_indicator","text":"data.frame() available country indicators. columns : date date indicator_id indicator ID. indicator_name indicator name. country_id country ID. country_name country name. country_code country code. value indicator value. unit indicator unit. obs_status observation status. decimal decimal.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank country indicator data — wb_country_indicator","text":"","code":"wb_country_indicator(\"NY.GDP.MKTP.CD\", \"US\") #> # A tibble: 64 × 10 #> date indicator_id indicator_name country_id country_name country_code #> #> 1 2023 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 2 2022 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 3 2021 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 4 2020 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 5 2019 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 6 2018 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 7 2017 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 8 2016 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 9 2015 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 10 2014 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> # ℹ 54 more rows #> # ℹ 4 more variables: value , unit , obs_status , decimal wb_country_indicator( \"DPANUSSPB\", c(\"CHN\", \"BRA\"), start_date = \"2012M01\", end_date = \"2012M08\" ) #> # A tibble: 16 × 10 #> date indicator_id indicator_name country_id country_name country_code value #> #> 1 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.03 #> 2 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.03 #> 3 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.05 #> 4 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.98 #> 5 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.85 #> 6 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.79 #> 7 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.72 #> 8 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.79 #> 9 2012M… DPANUSSPB Exchange rate… CHN China NA 6.36 #> 10 2012M… DPANUSSPB Exchange rate… CHN China NA 6.37 #> 11 2012M… DPANUSSPB Exchange rate… CHN China NA 6.36 #> 12 2012M… DPANUSSPB Exchange rate… CHN China NA 6.32 #> 13 2012M… DPANUSSPB Exchange rate… CHN China NA 6.30 #> 14 2012M… DPANUSSPB Exchange rate… CHN China NA 6.31 #> 15 2012M… DPANUSSPB Exchange rate… CHN China NA 6.30 #> 16 2012M… DPANUSSPB Exchange rate… CHN China NA 6.31 #> # ℹ 3 more variables: unit , obs_status , decimal "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank income level data — wb_income_level","title":"World Bank income level data — wb_income_level","text":"List income levels supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank income level data — wb_income_level","text":"","code":"wb_income_level(income = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank income level data — wb_income_level","text":"https://api.worldbank.org/v2/incomeLevels","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank income level data — wb_income_level","text":"income character() income level query. Default NULL. NULL, levels returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank income level data — wb_income_level","text":"data.frame() available income levels. columns : id income level ID. iso2code ISO 2 code income level. value income level value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank income level data — wb_income_level","text":"","code":"wb_income_level() #> # A tibble: 7 × 3 #> id iso2code value #> #> 1 HIC XD High income #> 2 INX XY Not classified #> 3 LIC XM Low income #> 4 LMC XN Lower middle income #> 5 LMY XO Low & middle income #> 6 MIC XP Middle income #> 7 UMC XT Upper middle income"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank indicator data — wb_indicator","title":"World Bank indicator data — wb_indicator","text":"List indicators supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank indicator data — wb_indicator","text":"","code":"wb_indicator(indicator = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank indicator data — wb_indicator","text":"https://api.worldbank.org/v2/indicator","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank indicator data — wb_indicator","text":"indicator character(1) indicator query. Default NULL. NULL, indicators returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank indicator data — wb_indicator","text":"data.frame() available indicators. columns : id indicator ID. name indicator name. unit indicator unit. source_id source ID. source_value source value. source_note source note. source_organization source organization. topic_id topic ID. topic_value topic value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank indicator data — wb_indicator","text":"","code":"wb_indicator(\"NY.GDP.MKTP.CD\") #> # A tibble: 1 × 9 #> id name unit source_id source_value source_note source_organization #> #> 1 NY.GDP.MKT… GDP … NA 2 World Devel… GDP at pur… World Bank nationa… #> # ℹ 2 more variables: topic_id , topic_value "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank available languages — wb_language","title":"World Bank available languages — wb_language","text":"List languages supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank available languages — wb_language","text":"","code":"wb_language()"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank available languages — wb_language","text":"https://api.worldbank.org/v2/languages","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank available languages — wb_language","text":"data.frame() available languages. columns : code language code. name language name. native_form native form language name.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank available languages — wb_language","text":"","code":"wb_language() #> # A tibble: 23 × 3 #> code name native_form #> #> 1 en English English #> 2 es Spanish Español #> 3 fr French Français #> 4 ar Arabic عربي #> 5 zh Chinese 中文 #> 6 bg Bulgarian Български #> 7 de German Deutsch #> 8 hi Hindi हिंदी #> 9 id Indonesian Bahasa indonesia #> 10 ja Japanese 日本語 #> # ℹ 13 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank lending type data — wb_lending_type","title":"World Bank lending type data — wb_lending_type","text":"List lending types supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank lending type data — wb_lending_type","text":"","code":"wb_lending_type(type = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank lending type data — wb_lending_type","text":"https://api.worldbank.org/v2/lendingTypes","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank lending type data — wb_lending_type","text":"type character() lending type query. Default NULL. NULL, types returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank lending type data — wb_lending_type","text":"data.frame() available lending types. columns : id lending type ID. iso2code ISO 2 code lending type. value lending type value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank lending type data — wb_lending_type","text":"","code":"wb_lending_type() #> # A tibble: 4 × 3 #> id iso2code value #> #> 1 IBD XF IBRD #> 2 IDB XH Blend #> 3 IDX XI IDA #> 4 LNX XX Not classified"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank region data — wb_region","title":"World Bank region data — wb_region","text":"List regions supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank region data — wb_region","text":"","code":"wb_region(region = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank region data — wb_region","text":"https://api.worldbank.org/v2/region","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank region data — wb_region","text":"region character() region query. Default NULL. NULL, regions returned lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank region data — wb_region","text":"data.frame() available regions. columns : id region ID. code region code. iso2code ISO 2 code region. name region name.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank region data — wb_region","text":"","code":"wb_region() #> # A tibble: 44 × 4 #> id code iso2code name #> #> 1 NA AFE ZH Africa Eastern and Southern #> 2 NA AFR A9 Africa #> 3 NA AFW ZI Africa Western and Central #> 4 NA ARB 1A Arab World #> 5 NA CAA C9 Sub-Saharan Africa (IFC classification) #> 6 NA CEA C4 East Asia and the Pacific (IFC classification) #> 7 NA CEB B8 Central Europe and the Baltics #> 8 NA CEU C5 Europe and Central Asia (IFC classification) #> 9 NA CLA C6 Latin America and the Caribbean (IFC classification) #> 10 NA CME C7 Middle East and North Africa (IFC classification) #> # ℹ 34 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank source data — wb_source","title":"World Bank source data — wb_source","text":"List sources supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank source data — wb_source","text":"","code":"wb_source(source = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank source data — wb_source","text":"https://api.worldbank.org/v2/sources","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank source data — wb_source","text":"source character() source query. Default NULL. NULL, sources returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank source data — wb_source","text":"data.frame() available sources. columns : id source ID. last_updated date source last updated. name source name. code source code. description source description. url source URL. data_availability Whether source data available. metadata_availability Whether source metadata available. concepts concepts associated source.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank source data — wb_source","text":"","code":"wb_source() #> # A tibble: 69 × 9 #> id last_updated name code description url data_availability #> #> 1 1 2021-08-18 Doing Business DBS NA NA TRUE #> 2 2 2024-09-19 World Developme… WDI NA NA TRUE #> 3 3 2023-09-29 Worldwide Gover… WGI NA NA TRUE #> 4 5 2016-03-21 Subnational Mal… SNM NA NA TRUE #> 5 6 2024-02-29 International D… IDS NA NA TRUE #> 6 11 2013-02-22 Africa Developm… ADI NA NA TRUE #> 7 12 2024-06-25 Education Stati… EDS NA NA TRUE #> 8 13 2022-03-25 Enterprise Surv… ESY NA NA TRUE #> 9 14 2024-09-24 Gender Statisti… GDS NA NA TRUE #> 10 15 2024-09-20 Global Economic… GEM NA NA TRUE #> # ℹ 59 more rows #> # ℹ 2 more variables: metadata_availability , concepts "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank topic data — wb_topic","title":"World Bank topic data — wb_topic","text":"List topics supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank topic data — wb_topic","text":"","code":"wb_topic(topic = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank topic data — wb_topic","text":"https://api.worldbank.org/v2/topics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank topic data — wb_topic","text":"topic character() topic query. Default NULL. NULL, topics returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank topic data — wb_topic","text":"data.frame() available topics. columns : id topic ID. value topic value. source_note source note.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank topic data — wb_topic","text":"","code":"wb_topic() #> # A tibble: 21 × 3 #> id value source_note #> #> 1 1 Agriculture & Rural Development \"For the 70 percent of the world's poo… #> 2 2 Aid Effectiveness \"Aid effectiveness is the impact that … #> 3 3 Economy & Growth \"Economic growth is central to economi… #> 4 4 Education \"Education is one of the most powerful… #> 5 5 Energy & Mining \"The world economy needs ever-increasi… #> 6 6 Environment \"Natural and man-made environmental re… #> 7 7 Financial Sector \"An economy's financial markets are cr… #> 8 8 Health \"Improving health is central to the Mi… #> 9 9 Infrastructure \"Infrastructure helps determine the su… #> 10 10 Social Protection & Labor \"The supply of labor available in an e… #> # ℹ 11 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/worldbank-package.html","id":null,"dir":"Reference","previous_headings":"","what":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","title":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","text":"Download search data 'World Bank Indicators API', provides access nearly 16,000 time series indicators. See https://datahelpdesk.worldbank.org/knowledgebase/articles/889392---indicators-api-documentation details API.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/worldbank-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","text":"Maintainer: Maximilian Mücke muecke.maximilian@gmail.com (ORCID)","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-development-version","dir":"Changelog","previous_headings":"","what":"worldbank (development version)","title":"worldbank (development version)","text":"Add support Finances One API data","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-030","dir":"Changelog","previous_headings":"","what":"worldbank 0.3.0","title":"worldbank 0.3.0","text":"CRAN release: 2024-08-26 Moved HTTPS API calls Support Poverty Inequality Platform (PIP) data","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-020","dir":"Changelog","previous_headings":"","what":"worldbank 0.2.0","title":"worldbank 0.2.0","text":"CRAN release: 2024-07-31 Support month quarter date format wb_country_indicator() robust error handling","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-010","dir":"Changelog","previous_headings":"","what":"worldbank 0.1.0","title":"worldbank 0.1.0","text":"CRAN release: 2024-07-02 Initial CRAN submission.","code":""}] +[{"path":"https://m-muecke.github.io/worldbank/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 worldbank authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://m-muecke.github.io/worldbank/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Maximilian Mücke. Author, maintainer.","code":""},{"path":"https://m-muecke.github.io/worldbank/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Mücke M (2024). worldbank: Client World Banks's 'Indicators' 'Poverty Inequality Platform (PIP)' APIs. R package version 0.3.0.9000, https://github.com/m-muecke/worldbank, https://m-muecke.github.io/worldbank/.","code":"@Manual{, title = {worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs}, author = {Maximilian Mücke}, year = {2024}, note = {R package version 0.3.0.9000, https://github.com/m-muecke/worldbank}, url = {https://m-muecke.github.io/worldbank/}, }"},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"overview","dir":"","previous_headings":"","what":"Overview","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"worlbank provides simple interface following World Bank APIs: Indicators API v2 Poverty Inequality Platform (PIP) API. Finances One API main difference packages ’s modern implementation using httr2 package supports available endpoints parameters. worldbank package provides set functions interact various endpoints World Bank Indicators API. function designed retrieve specific types data, making easier access analyze World Bank datasets. overview available endpoints corresponding functions package: Languages (wb_language): Retrieves list languages supported World Bank API. Useful obtaining language-specific data. Lending Types (wb_lending_type): Fetches information different lending types recognized World Bank. Income Levels (wb_income_level): Allows users access data various income levels defined World Bank. Sources (wb_source): Provides details different data sources available within World Bank’s datasets. Topics (wb_topic): Lists topics covered World Bank API, helping users narrow data search specific areas interest. Regions (wb_region): Offers information different geographical regions categorized World Bank. Countries (wb_country): Enables access detailed data individual countries, including socio-economic developmental indicators. Country Indicators (wb_country_indicator): Specific retrieving indicators particular country countries, allowing targeted data analysis. Indicators (wb_indicator): endpoint gives users access wide array indicators used World Bank data analysis reports.","code":""},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"can install released version worldbank CRAN : development version GitHub :","code":"install.packages(\"worldbank\") # install.packages(\"pak\") pak::pak(\"m-muecke/worldbank\")"},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"usage","dir":"","previous_headings":"","what":"Usage","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"worldbank functions prefixed wb_ follow naming convention World Bank API v2.","code":"library(worldbank) # filter by specific country wb_country(c(\"US\", \"DE\")) #> # A tibble: 2 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 DEU DE Germany ECS Z7 Europe & Central … #> 2 USA US United States NAC XU North America #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude # or fetch all (default) wb_country() #> # A tibble: 296 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 ABW AW Aruba LCN ZJ Latin Ameri… #> 2 AFE ZH Africa Eastern and… NA NA Aggregates #> 3 AFG AF Afghanistan SAS 8S South Asia #> 4 AFR A9 Africa NA NA Aggregates #> 5 AFW ZI Africa Western and… NA NA Aggregates #> # ℹ 291 more rows #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude # search for specific indicator ind <- wb_indicator() ind <- subset( ind, grepl(\"GDP\", id, fixed = TRUE) & source_value == \"World Development Indicators\" ) ind #> # A tibble: 35 × 9 #> id name unit source_id source_value source_note source_organization #> #> 1 EG.GDP.PUS… GDP … 2 World Devel… GDP per un… IEA Statistics © O… #> 2 EG.GDP.PUS… GDP … 2 World Devel… GDP per un… IEA Statistics © O… #> 3 ER.GDP.FWT… Wate… 2 World Devel… Water prod… Food and Agricultu… #> 4 NY.GDP.COA… Coal… 2 World Devel… Coal rents… World Bank staff e… #> 5 NY.GDP.DEF… Infl… 2 World Devel… Inflation … World Bank nationa… #> # ℹ 30 more rows #> # ℹ 2 more variables: topic_id , topic_value # fetch indicator data for specific or all countries (default) gdp <- wb_country_indicator(\"NY.GDP.MKTP.CD\", c(\"US\", \"DE\", \"FR\", \"CH\", \"JP\")) gdp #> # A tibble: 320 × 10 #> date indicator_id indicator_name country_id country_name country_code value #> #> 1 2023 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.85e11 #> 2 2022 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.18e11 #> 3 2021 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 8.13e11 #> 4 2020 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 7.42e11 #> 5 2019 NY.GDP.MKTP… GDP (current … CH Switzerland CHE 7.21e11 #> # ℹ 315 more rows #> # ℹ 3 more variables: unit , obs_status , decimal "},{"path":"https://m-muecke.github.io/worldbank/index.html","id":"related-work","dir":"","previous_headings":"","what":"Related work","title":"Client for World Bankss Indicators and Poverty and Inequality Platform (PIP)' APIs","text":"wbstats: R package searching downloading data World Bank API WDI: R package download World Bank data pipr: R client PIP Worldbank API","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":null,"dir":"Reference","previous_headings":"","what":"Return Finances One API Data — fone_dataset","title":"Return Finances One API Data — fone_dataset","text":"Return Finances One API Data","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return Finances One API Data — fone_dataset","text":"","code":"fone_dataset(dataset_id, resource_id, ..., limit = NULL) fone_view(view_id, ..., limit = NULL)"},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return Finances One API Data — fone_dataset","text":"https://financesone.worldbank.org/data","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return Finances One API Data — fone_dataset","text":"dataset_id character(1) id associated dataset. resource_id character(1) id associated resource. ... additional arguments passed request. limit integer(1) maximum number rows return. Default NULL. NULL, rows returned. view_id character(1) id view.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return Finances One API Data — fone_dataset","text":"data.frame() requested dataset.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/fone.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return Finances One API Data — fone_dataset","text":"","code":"if (FALSE) { # \\dontrun{ fone_dataset(dataset_id = \"DS00047\", resource_id = \"RS00005\") fone_view(view_id = \"DS01538\") } # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":null,"dir":"Reference","previous_headings":"","what":"Return auxiliary data tables — pip_aux","title":"Return auxiliary data tables — pip_aux","text":"Return auxiliary data tables","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return auxiliary data tables — pip_aux","text":"","code":"pip_aux( table = NULL, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return auxiliary data tables — pip_aux","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return auxiliary data tables — pip_aux","text":"table character(1) table returned. Default NULL. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return auxiliary data tables — pip_aux","text":"character() available tables data.frame() containing table data.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_aux.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return auxiliary data tables — pip_aux","text":"","code":"# \\donttest{ # get a list of available tables pip_aux() #> [1] \"aux_versions\" \"countries\" \"country_coverage\" #> [4] \"country_list\" \"cpi\" \"decomposition\" #> [7] \"dictionary\" \"framework\" \"gdp\" #> [10] \"incgrp_coverage\" \"indicators\" \"interpolated_means\" #> [13] \"metaregion\" \"missing_data\" \"national_poverty_lines\" #> [16] \"pce\" \"pg_lnp\" \"pg_svy\" #> [19] \"pop\" \"pop_region\" \"poverty_lines\" #> [22] \"ppp\" \"region_coverage\" \"regions\" #> [25] \"spr_lnp\" \"spr_svy\" \"survey_means\" # get countries pip_aux(\"countries\") #> # A tibble: 170 × 8 #> country_code country_name africa_split africa_split_code region region_code #> #> 1 AGO Angola Eastern and… AFE Sub-S… SSA #> 2 ALB Albania NA NA Europ… ECA #> 3 ARE United Arab E… NA NA Other… OHI #> 4 ARG Argentina NA NA Latin… LAC #> 5 ARM Armenia NA NA Europ… ECA #> 6 AUS Australia NA NA Other… OHI #> 7 AUT Austria NA NA Other… OHI #> 8 AZE Azerbaijan NA NA Europ… ECA #> 9 BDI Burundi Eastern and… AFE Sub-S… SSA #> 10 BEL Belgium NA NA Other… OHI #> # ℹ 160 more rows #> # ℹ 2 more variables: world , world_code # get GDP pip_aux(\"gdp\") #> # A tibble: 10,560 × 4 #> country_code data_level year value #> #> 1 ABW national 1977 NA #> 2 ABW national 1978 NA #> 3 ABW national 1979 NA #> 4 ABW national 1980 NA #> 5 ABW national 1981 NA #> 6 ABW national 1982 NA #> 7 ABW national 1983 NA #> 8 ABW national 1984 NA #> 9 ABW national 1985 NA #> 10 ABW national 1986 16112. #> # ℹ 10,550 more rows # get CPI pip_aux(\"cpi\") #> # A tibble: 8,084 × 4 #> country_code data_level year value #> #> 1 AGO national 1977 NA #> 2 AGO national 1978 NA #> 3 AGO national 1979 NA #> 4 AGO national 1980 NA #> 5 AGO national 1981 NA #> 6 AGO national 1982 NA #> 7 AGO national 1983 NA #> 8 AGO national 1984 NA #> 9 AGO national 1985 NA #> 10 AGO national 1986 NA #> # ℹ 8,074 more rows # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":null,"dir":"Reference","previous_headings":"","what":"Return citation for a given version — pip_citation","title":"Return citation for a given version — pip_citation","text":"Return citation given version","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return citation for a given version — pip_citation","text":"","code":"pip_citation(release_version = NULL, ppp_version = NULL, version = NULL)"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return citation for a given version — pip_citation","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return citation for a given version — pip_citation","text":"release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return citation for a given version — pip_citation","text":"data.frame() citation.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_citation.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return citation for a given version — pip_citation","text":"","code":"# \\donttest{ pip_citation() #> # A tibble: 1 × 3 #> citation version date_accessed #> #> 1 World Bank (2024), Poverty and Inequality Platform (ver… 202406… 2024-10-02 # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":null,"dir":"Reference","previous_headings":"","what":"Return main poverty and inequality statistics — pip_data","title":"Return main poverty and inequality statistics — pip_data","text":"Return main poverty inequality statistics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return main poverty and inequality statistics — pip_data","text":"","code":"pip_data( country = NULL, year = NULL, povline = 2.15, popshare = NULL, fill_gaps = FALSE, welfare_type = c(\"all\", \"consumption\", \"income\"), reporting_level = c(\"all\", \"national\", \"rural\", \"urban\"), additional_ind = FALSE, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return main poverty and inequality statistics — pip_data","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return main poverty and inequality statistics — pip_data","text":"country character() countries statistics computed, specified ISO3 codes. Default NULL. year character() | numeric() year(s) statistics computed, specified YYYY. Default NULL. povline numeric(1) poverty line used compute poverty mesures. Poverty lines accepted 3 decimals. Default 2.15. popshare numeric(1) proportion population living poverty line. ignored povline specified. Default NULL. fill_gaps logical(1) whether fill gaps data. Default FALSE. welfare_type character(1) type welfare measure used. Default \"\". reporting_level character(1) level reporting statistics. Default \"\". additional_ind logical(1) whether include additional indicators. Default FALSE. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return main poverty and inequality statistics — pip_data","text":"data.frame() requested statistics.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_data.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return main poverty and inequality statistics — pip_data","text":"","code":"# \\donttest{ pip_data(c(\"ZAF\", \"ZMB\")) #> # A tibble: 16 × 44 #> region_name region_code country_name country_code reporting_year #> #> 1 Sub-Saharan Africa SSA South Africa ZAF 1993 #> 2 Sub-Saharan Africa SSA South Africa ZAF 2000 #> 3 Sub-Saharan Africa SSA South Africa ZAF 2005 #> 4 Sub-Saharan Africa SSA South Africa ZAF 2008 #> 5 Sub-Saharan Africa SSA South Africa ZAF 2010 #> 6 Sub-Saharan Africa SSA South Africa ZAF 2014 #> 7 Sub-Saharan Africa SSA Zambia ZMB 1991 #> 8 Sub-Saharan Africa SSA Zambia ZMB 1993 #> 9 Sub-Saharan Africa SSA Zambia ZMB 1996 #> 10 Sub-Saharan Africa SSA Zambia ZMB 1998 #> 11 Sub-Saharan Africa SSA Zambia ZMB 2002 #> 12 Sub-Saharan Africa SSA Zambia ZMB 2004 #> 13 Sub-Saharan Africa SSA Zambia ZMB 2006 #> 14 Sub-Saharan Africa SSA Zambia ZMB 2010 #> 15 Sub-Saharan Africa SSA Zambia ZMB 2015 #> 16 Sub-Saharan Africa SSA Zambia ZMB 2022 #> # ℹ 39 more variables: reporting_level , survey_acronym , #> # survey_coverage , survey_year , welfare_type , #> # survey_comparability , comparable_spell , poverty_line , #> # headcount , poverty_gap , poverty_severity , watts , #> # mean , median , mld , gini , polarization , #> # decile1 , decile2 , decile3 , decile4 , decile5 , #> # decile6 , decile7 , decile8 , decile9 , … # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":null,"dir":"Reference","previous_headings":"","what":"Return aggregation of PIP statistics — pip_group","title":"Return aggregation of PIP statistics — pip_group","text":"Return aggregation PIP statistics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return aggregation of PIP statistics — pip_group","text":"","code":"pip_group( country = NULL, year = NULL, povline = 2.15, popshare = NULL, group_by = c(\"wb\", \"none\"), fill_gaps = FALSE, welfare_type = c(\"all\", \"consumption\", \"income\"), reporting_level = c(\"all\", \"national\", \"rural\", \"urban\"), additional_ind = FALSE, release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return aggregation of PIP statistics — pip_group","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return aggregation of PIP statistics — pip_group","text":"country character() countries statistics computed, specified ISO3 codes. Default NULL. year character() | numeric() year(s) statistics computed, specified YYYY. Default NULL. povline numeric(1) poverty line used compute poverty mesures. Poverty lines accepted 3 decimals. Default 2.15. popshare numeric(1) proportion population living poverty line. ignored povline specified. Default NULL. group_by character(1) aggregate results pre-defined sub-groups. Default \"wb\". fill_gaps logical(1) whether fill gaps data. Default FALSE. welfare_type character(1) type welfare measure used. Default \"\". reporting_level character(1) level reporting statistics. Default \"\". additional_ind logical(1) whether include additional indicators. Default FALSE. release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return aggregation of PIP statistics — pip_group","text":"data.frame() requested statistics.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_group.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return aggregation of PIP statistics — pip_group","text":"","code":"# \\donttest{ pip_group(c(\"AFE\", \"LAC\")) #> # A tibble: 88 × 14 #> region_name region_code reporting_year poverty_line headcount poverty_gap #> #> 1 Eastern and So… AFE 1981 2.15 0.520 0.221 #> 2 Eastern and So… AFE 1982 2.15 0.524 0.225 #> 3 Eastern and So… AFE 1983 2.15 0.529 0.229 #> 4 Eastern and So… AFE 1984 2.15 0.539 0.235 #> 5 Eastern and So… AFE 1985 2.15 0.547 0.240 #> 6 Eastern and So… AFE 1986 2.15 0.540 0.235 #> 7 Eastern and So… AFE 1987 2.15 0.533 0.230 #> 8 Eastern and So… AFE 1988 2.15 0.533 0.229 #> 9 Eastern and So… AFE 1989 2.15 0.533 0.230 #> 10 Eastern and So… AFE 1990 2.15 0.542 0.236 #> # ℹ 78 more rows #> # ℹ 8 more variables: poverty_severity , watts , mean , #> # spr , pg , estimate_type , reporting_pop , #> # pop_in_poverty # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine if the API is running and listening as expected — pip_health_check","title":"Determine if the API is running and listening as expected — pip_health_check","text":"Determine API running listening expected","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine if the API is running and listening as expected — pip_health_check","text":"","code":"pip_health_check()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Determine if the API is running and listening as expected — pip_health_check","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine if the API is running and listening as expected — pip_health_check","text":"character(1) health check message.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_health_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine if the API is running and listening as expected — pip_health_check","text":"","code":"# \\donttest{ pip_health_check() #> [1] \"PIP API is running\" # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":null,"dir":"Reference","previous_headings":"","what":"Return information about the API — pip_info","title":"Return information about the API — pip_info","text":"Return information API","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return information about the API — pip_info","text":"","code":"pip_info()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return information about the API — pip_info","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return information about the API — pip_info","text":"data.frame() API information.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_info.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return information about the API — pip_info","text":"","code":"# \\donttest{ pip_info() #> $available_data_versions #> $available_data_versions[[1]] #> [1] \"20240627_2017_01_02_PROD\" #> #> $available_data_versions[[2]] #> [1] \"20240627_2011_02_02_PROD\" #> #> $available_data_versions[[3]] #> [1] \"20240326_2017_01_02_PROD\" #> #> $available_data_versions[[4]] #> [1] \"20240326_2011_02_02_PROD\" #> #> $available_data_versions[[5]] #> [1] \"20230919_2017_01_02_PROD\" #> #> $available_data_versions[[6]] #> [1] \"20230919_2011_02_02_PROD\" #> #> $available_data_versions[[7]] #> [1] \"20230328_2017_01_02_PROD\" #> #> $available_data_versions[[8]] #> [1] \"20230328_2011_02_02_PROD\" #> #> $available_data_versions[[9]] #> [1] \"20220909_2017_01_02_PROD\" #> #> $available_data_versions[[10]] #> [1] \"20220909_2011_02_02_PROD\" #> #> #> $pip_packages #> $pip_packages$pipapi #> $pip_packages$pipapi$pkg_version #> $pip_packages$pipapi$pkg_version[[1]] #> [1] \"1.3.10\" #> #> #> $pip_packages$pipapi$pkg_hash #> $pip_packages$pipapi$pkg_hash[[1]] #> [1] \"c6600af6c0e74b2aaee8f647ea4d56b585b26abb\" #> #> #> #> $pip_packages$wbpip #> $pip_packages$wbpip$pkg_version #> $pip_packages$wbpip$pkg_version[[1]] #> [1] \"0.1.4\" #> #> #> $pip_packages$wbpip$pkg_hash #> $pip_packages$wbpip$pkg_hash[[1]] #> [1] \"80bcd3151f16c3e113086d5f27d778a8262b4adf\" #> #> #> #> #> $other_packages #> $other_packages[[1]] #> [1] \"arrow_17.0.0.1\" #> #> $other_packages[[2]] #> [1] \"assertthat_0.2.1\" #> #> $other_packages[[3]] #> [1] \"bit_4.0.5\" #> #> $other_packages[[4]] #> [1] \"bit64_4.0.5\" #> #> $other_packages[[5]] #> [1] \"cachem_1.1.0\" #> #> $other_packages[[6]] #> [1] \"cli_3.6.3\" #> #> $other_packages[[7]] #> [1] \"codetools_0.2-19\" #> #> $other_packages[[8]] #> [1] \"collapse_2.0.16\" #> #> $other_packages[[9]] #> [1] \"compiler_4.3.2\" #> #> $other_packages[[10]] #> [1] \"crayon_1.5.3\" #> #> $other_packages[[11]] #> [1] \"data.table_1.16.0\" #> #> $other_packages[[12]] #> [1] \"digest_0.6.37\" #> #> $other_packages[[13]] #> [1] \"dplyr_1.1.4\" #> #> $other_packages[[14]] #> [1] \"ellipsis_0.3.2\" #> #> $other_packages[[15]] #> [1] \"fansi_1.0.6\" #> #> $other_packages[[16]] #> [1] \"fastmap_1.2.0\" #> #> $other_packages[[17]] #> [1] \"fs_1.6.4\" #> #> $other_packages[[18]] #> [1] \"fst_0.9.8\" #> #> $other_packages[[19]] #> [1] \"future_1.34.0\" #> #> $other_packages[[20]] #> [1] \"generics_0.1.3\" #> #> $other_packages[[21]] #> [1] \"globals_0.16.3\" #> #> $other_packages[[22]] #> [1] \"glue_1.7.0\" #> #> $other_packages[[23]] #> [1] \"hms_1.1.3\" #> #> $other_packages[[24]] #> [1] \"httpuv_1.6.15\" #> #> $other_packages[[25]] #> [1] \"jsonlite_1.8.8\" #> #> $other_packages[[26]] #> [1] \"later_1.3.2\" #> #> $other_packages[[27]] #> [1] \"lifecycle_1.0.4\" #> #> $other_packages[[28]] #> [1] \"listenv_0.9.1\" #> #> $other_packages[[29]] #> [1] \"magrittr_2.0.3\" #> #> $other_packages[[30]] #> [1] \"MASS_7.3-60\" #> #> $other_packages[[31]] #> [1] \"memoise_2.0.1\" #> #> $other_packages[[32]] #> [1] \"parallel_4.3.2\" #> #> $other_packages[[33]] #> [1] \"parallelly_1.38.0\" #> #> $other_packages[[34]] #> [1] \"pillar_1.9.0\" #> #> $other_packages[[35]] #> [1] \"pkgconfig_2.0.3\" #> #> $other_packages[[36]] #> [1] \"promises_1.3.0\" #> #> $other_packages[[37]] #> [1] \"purrr_1.0.2\" #> #> $other_packages[[38]] #> [1] \"qs_0.26.3\" #> #> $other_packages[[39]] #> [1] \"R6_2.5.1\" #> #> $other_packages[[40]] #> [1] \"RApiSerialize_0.1.3\" #> #> $other_packages[[41]] #> [1] \"rappdirs_0.3.3\" #> #> $other_packages[[42]] #> [1] \"Rcpp_1.0.13\" #> #> $other_packages[[43]] #> [1] \"RcppParallel_5.1.9\" #> #> $other_packages[[44]] #> [1] \"readr_2.1.5\" #> #> $other_packages[[45]] #> [1] \"rlang_1.1.4\" #> #> $other_packages[[46]] #> [1] \"stringfish_0.16.0\" #> #> $other_packages[[47]] #> [1] \"stringi_1.8.4\" #> #> $other_packages[[48]] #> [1] \"swagger_5.17.14.1\" #> #> $other_packages[[49]] #> [1] \"tibble_3.2.1\" #> #> $other_packages[[50]] #> [1] \"tidyselect_1.2.1\" #> #> $other_packages[[51]] #> [1] \"tools_4.3.2\" #> #> $other_packages[[52]] #> [1] \"triebeard_0.4.1\" #> #> $other_packages[[53]] #> [1] \"tzdb_0.4.0\" #> #> $other_packages[[54]] #> [1] \"urltools_1.7.3\" #> #> $other_packages[[55]] #> [1] \"utf8_1.2.4\" #> #> $other_packages[[56]] #> [1] \"vctrs_0.6.5\" #> #> $other_packages[[57]] #> [1] \"vroom_1.6.5\" #> #> $other_packages[[58]] #> [1] \"webutils_1.2.1\" #> #> $other_packages[[59]] #> [1] \"yaml_2.3.10\" #> #> #> $r_version #> $r_version[[1]] #> [1] \"R version 4.3.2 (2023-10-31)\" #> #> #> $server_os #> $server_os[[1]] #> [1] \"Red Hat Enterprise Linux 8.10 (Ootpa)\" #> #> #> $server_time #> $server_time[[1]] #> [1] \"2024-10-02 08:39:14\" #> #> # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":null,"dir":"Reference","previous_headings":"","what":"Return valid query parameters — pip_valid_params","title":"Return valid query parameters — pip_valid_params","text":"Return valid query parameters","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return valid query parameters — pip_valid_params","text":"","code":"pip_valid_params( endpoint = c(\"all\", \"aux\", \"pip\", \"pip-grp\", \"pip-info\", \"valid-params\"), release_version = NULL, ppp_version = NULL, version = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return valid query parameters — pip_valid_params","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Return valid query parameters — pip_valid_params","text":"endpoint character(1) endpoint valid parameters returned. Default \"\". release_version character(1) version data release YYYYMMDD format. Default NULL. ppp_version character(1) | numeric(1) version data. Default NULL. version character(1) version data. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return valid query parameters — pip_valid_params","text":"data.frame() valid parameters.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_valid_params.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return valid query parameters — pip_valid_params","text":"","code":"# \\donttest{ pip_valid_params() #> # A tibble: 350 × 4 #> param_names param_values param_boundaries param_types #> #> 1 country ALL NA character #> 2 country AFE NA character #> 3 country AFW NA character #> 4 country AGO NA character #> 5 country ALB NA character #> 6 country ARE NA character #> 7 country ARG NA character #> 8 country ARM NA character #> 9 country AUS NA character #> 10 country AUT NA character #> # ℹ 340 more rows # }"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":null,"dir":"Reference","previous_headings":"","what":"Return the available data versions — pip_versions","title":"Return the available data versions — pip_versions","text":"Return available data versions","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Return the available data versions — pip_versions","text":"","code":"pip_versions()"},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Return the available data versions — pip_versions","text":"https://pip.worldbank.org/api","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Return the available data versions — pip_versions","text":"data.frame() available versions.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/pip_versions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Return the available data versions — pip_versions","text":"","code":"# \\donttest{ pip_versions() #> # A tibble: 10 × 4 #> version release_version ppp_version identity #> #> 1 20240627_2017_01_02_PROD 20240627 2017 PROD #> 2 20240627_2011_02_02_PROD 20240627 2011 PROD #> 3 20240326_2017_01_02_PROD 20240326 2017 PROD #> 4 20240326_2011_02_02_PROD 20240326 2011 PROD #> 5 20230919_2017_01_02_PROD 20230919 2017 PROD #> 6 20230919_2011_02_02_PROD 20230919 2011 PROD #> 7 20230328_2017_01_02_PROD 20230328 2017 PROD #> 8 20230328_2011_02_02_PROD 20230328 2011 PROD #> 9 20220909_2017_01_02_PROD 20220909 2017 PROD #> 10 20220909_2011_02_02_PROD 20220909 2011 PROD # }"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank country data — wb_country","title":"World Bank country data — wb_country","text":"List countries supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank country data — wb_country","text":"","code":"wb_country(country = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank country data — wb_country","text":"https://api.worldbank.org/v2/country","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank country data — wb_country","text":"country character() country query. Default NULL. NULL, countries returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank country data — wb_country","text":"data.frame() available countries. columns : country_id country ID. country_code country code. country_name country name. region_id region ID. region_code region code. region_value region value. admin_region_id admin region ID. admin_region_code admin region code. admin_region_value admin region value. income_level_id income level ID. income_level_code income level code. income_level_value income level value. lending_type_id lending type ID. lending_type_code lending type code. lending_type_value lending type value. capital_city capital city. longitude longitude. latitude latitude.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank country data — wb_country","text":"","code":"wb_country() #> # A tibble: 296 × 18 #> country_id country_code country_name region_id region_code region_value #> #> 1 ABW AW Aruba LCN ZJ Latin Ameri… #> 2 AFE ZH Africa Eastern an… NA NA Aggregates #> 3 AFG AF Afghanistan SAS 8S South Asia #> 4 AFR A9 Africa NA NA Aggregates #> 5 AFW ZI Africa Western an… NA NA Aggregates #> 6 AGO AO Angola SSF ZG Sub-Saharan… #> 7 ALB AL Albania ECS Z7 Europe & Ce… #> 8 AND AD Andorra ECS Z7 Europe & Ce… #> 9 ARB 1A Arab World NA NA Aggregates #> 10 ARE AE United Arab Emira… MEA ZQ Middle East… #> # ℹ 286 more rows #> # ℹ 12 more variables: admin_region_id , admin_region_code , #> # admin_region_value , income_level_id , income_level_code , #> # income_level_value , lending_type_id , lending_type_code , #> # lending_type_value , capital_city , longitude , #> # latitude "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank country indicator data — wb_country_indicator","title":"World Bank country indicator data — wb_country_indicator","text":"List country indicators supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank country indicator data — wb_country_indicator","text":"","code":"wb_country_indicator( indicator = \"NY.GDP.MKTP.CD\", country = NULL, lang = \"en\", start_date = NULL, end_date = NULL )"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank country indicator data — wb_country_indicator","text":"https://api.worldbank.org/v2/country/{country}/indicator/{indicator}","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank country indicator data — wb_country_indicator","text":"indicator character(1) indicator query. country character() country query. Default NULL. NULL, countries returned. lang character(1) language query. Default \"en\". start_date character(1) integer(1) start date query. Default NULL. Supported formats: YYYY yearly data (e.g. 2020 \"2020\") YYYYQ[1-4] quarterly data (e.g. \"2020Q1\") YYYYM[1-12] monthly data (e.g. \"2020M02\") end_date character(1) integer(1) end date query, format start_date. Default NULL.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank country indicator data — wb_country_indicator","text":"data.frame() available country indicators. columns : date date indicator_id indicator ID. indicator_name indicator name. country_id country ID. country_name country name. country_code country code. value indicator value. unit indicator unit. obs_status observation status. decimal decimal.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_country_indicator.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank country indicator data — wb_country_indicator","text":"","code":"wb_country_indicator(\"NY.GDP.MKTP.CD\", \"US\") #> # A tibble: 64 × 10 #> date indicator_id indicator_name country_id country_name country_code #> #> 1 2023 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 2 2022 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 3 2021 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 4 2020 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 5 2019 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 6 2018 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 7 2017 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 8 2016 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 9 2015 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> 10 2014 NY.GDP.MKTP.CD GDP (current US$) US United States USA #> # ℹ 54 more rows #> # ℹ 4 more variables: value , unit , obs_status , decimal wb_country_indicator( \"DPANUSSPB\", c(\"CHN\", \"BRA\"), start_date = \"2012M01\", end_date = \"2012M08\" ) #> # A tibble: 16 × 10 #> date indicator_id indicator_name country_id country_name country_code value #> #> 1 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.03 #> 2 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.03 #> 3 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 2.05 #> 4 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.98 #> 5 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.85 #> 6 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.79 #> 7 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.72 #> 8 2012M… DPANUSSPB Exchange rate… BRA Brazil NA 1.79 #> 9 2012M… DPANUSSPB Exchange rate… CHN China NA 6.36 #> 10 2012M… DPANUSSPB Exchange rate… CHN China NA 6.37 #> 11 2012M… DPANUSSPB Exchange rate… CHN China NA 6.36 #> 12 2012M… DPANUSSPB Exchange rate… CHN China NA 6.32 #> 13 2012M… DPANUSSPB Exchange rate… CHN China NA 6.30 #> 14 2012M… DPANUSSPB Exchange rate… CHN China NA 6.31 #> 15 2012M… DPANUSSPB Exchange rate… CHN China NA 6.30 #> 16 2012M… DPANUSSPB Exchange rate… CHN China NA 6.31 #> # ℹ 3 more variables: unit , obs_status , decimal "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank income level data — wb_income_level","title":"World Bank income level data — wb_income_level","text":"List income levels supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank income level data — wb_income_level","text":"","code":"wb_income_level(income = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank income level data — wb_income_level","text":"https://api.worldbank.org/v2/incomeLevels","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank income level data — wb_income_level","text":"income character() income level query. Default NULL. NULL, levels returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank income level data — wb_income_level","text":"data.frame() available income levels. columns : id income level ID. iso2code ISO 2 code income level. value income level value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_income_level.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank income level data — wb_income_level","text":"","code":"wb_income_level() #> # A tibble: 7 × 3 #> id iso2code value #> #> 1 HIC XD High income #> 2 INX XY Not classified #> 3 LIC XM Low income #> 4 LMC XN Lower middle income #> 5 LMY XO Low & middle income #> 6 MIC XP Middle income #> 7 UMC XT Upper middle income"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank indicator data — wb_indicator","title":"World Bank indicator data — wb_indicator","text":"List indicators supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank indicator data — wb_indicator","text":"","code":"wb_indicator(indicator = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank indicator data — wb_indicator","text":"https://api.worldbank.org/v2/indicator","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank indicator data — wb_indicator","text":"indicator character(1) indicator query. Default NULL. NULL, indicators returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank indicator data — wb_indicator","text":"data.frame() available indicators. columns : id indicator ID. name indicator name. unit indicator unit. source_id source ID. source_value source value. source_note source note. source_organization source organization. topic_id topic ID. topic_value topic value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_indicator.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank indicator data — wb_indicator","text":"","code":"wb_indicator(\"NY.GDP.MKTP.CD\") #> # A tibble: 1 × 9 #> id name unit source_id source_value source_note source_organization #> #> 1 NY.GDP.MKT… GDP … NA 2 World Devel… GDP at pur… World Bank nationa… #> # ℹ 2 more variables: topic_id , topic_value "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank available languages — wb_language","title":"World Bank available languages — wb_language","text":"List languages supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank available languages — wb_language","text":"","code":"wb_language()"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank available languages — wb_language","text":"https://api.worldbank.org/v2/languages","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank available languages — wb_language","text":"data.frame() available languages. columns : code language code. name language name. native_form native form language name.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_language.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank available languages — wb_language","text":"","code":"wb_language() #> # A tibble: 23 × 3 #> code name native_form #> #> 1 en English English #> 2 es Spanish Español #> 3 fr French Français #> 4 ar Arabic عربي #> 5 zh Chinese 中文 #> 6 bg Bulgarian Български #> 7 de German Deutsch #> 8 hi Hindi हिंदी #> 9 id Indonesian Bahasa indonesia #> 10 ja Japanese 日本語 #> # ℹ 13 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank lending type data — wb_lending_type","title":"World Bank lending type data — wb_lending_type","text":"List lending types supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank lending type data — wb_lending_type","text":"","code":"wb_lending_type(type = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank lending type data — wb_lending_type","text":"https://api.worldbank.org/v2/lendingTypes","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank lending type data — wb_lending_type","text":"type character() lending type query. Default NULL. NULL, types returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank lending type data — wb_lending_type","text":"data.frame() available lending types. columns : id lending type ID. iso2code ISO 2 code lending type. value lending type value.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_lending_type.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank lending type data — wb_lending_type","text":"","code":"wb_lending_type() #> # A tibble: 4 × 3 #> id iso2code value #> #> 1 IBD XF IBRD #> 2 IDB XH Blend #> 3 IDX XI IDA #> 4 LNX XX Not classified"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank region data — wb_region","title":"World Bank region data — wb_region","text":"List regions supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank region data — wb_region","text":"","code":"wb_region(region = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank region data — wb_region","text":"https://api.worldbank.org/v2/region","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank region data — wb_region","text":"region character() region query. Default NULL. NULL, regions returned lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank region data — wb_region","text":"data.frame() available regions. columns : id region ID. code region code. iso2code ISO 2 code region. name region name.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_region.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank region data — wb_region","text":"","code":"wb_region() #> # A tibble: 44 × 4 #> id code iso2code name #> #> 1 NA AFE ZH Africa Eastern and Southern #> 2 NA AFR A9 Africa #> 3 NA AFW ZI Africa Western and Central #> 4 NA ARB 1A Arab World #> 5 NA CAA C9 Sub-Saharan Africa (IFC classification) #> 6 NA CEA C4 East Asia and the Pacific (IFC classification) #> 7 NA CEB B8 Central Europe and the Baltics #> 8 NA CEU C5 Europe and Central Asia (IFC classification) #> 9 NA CLA C6 Latin America and the Caribbean (IFC classification) #> 10 NA CME C7 Middle East and North Africa (IFC classification) #> # ℹ 34 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank source data — wb_source","title":"World Bank source data — wb_source","text":"List sources supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank source data — wb_source","text":"","code":"wb_source(source = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank source data — wb_source","text":"https://api.worldbank.org/v2/sources","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank source data — wb_source","text":"source character() source query. Default NULL. NULL, sources returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank source data — wb_source","text":"data.frame() available sources. columns : id source ID. last_updated date source last updated. name source name. code source code. description source description. url source URL. data_availability Whether source data available. metadata_availability Whether source metadata available. concepts concepts associated source.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_source.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank source data — wb_source","text":"","code":"wb_source() #> # A tibble: 69 × 9 #> id last_updated name code description url data_availability #> #> 1 1 2021-08-18 Doing Business DBS NA NA TRUE #> 2 2 2024-09-19 World Developme… WDI NA NA TRUE #> 3 3 2023-09-29 Worldwide Gover… WGI NA NA TRUE #> 4 5 2016-03-21 Subnational Mal… SNM NA NA TRUE #> 5 6 2024-02-29 International D… IDS NA NA TRUE #> 6 11 2013-02-22 Africa Developm… ADI NA NA TRUE #> 7 12 2024-06-25 Education Stati… EDS NA NA TRUE #> 8 13 2022-03-25 Enterprise Surv… ESY NA NA TRUE #> 9 14 2024-09-24 Gender Statisti… GDS NA NA TRUE #> 10 15 2024-09-20 Global Economic… GEM NA NA TRUE #> # ℹ 59 more rows #> # ℹ 2 more variables: metadata_availability , concepts "},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":null,"dir":"Reference","previous_headings":"","what":"World Bank topic data — wb_topic","title":"World Bank topic data — wb_topic","text":"List topics supported World Bank API.","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"World Bank topic data — wb_topic","text":"","code":"wb_topic(topic = NULL, lang = \"en\")"},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"World Bank topic data — wb_topic","text":"https://api.worldbank.org/v2/topics","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"World Bank topic data — wb_topic","text":"topic character() topic query. Default NULL. NULL, topics returned. lang character(1) language query. Default \"en\".","code":""},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"World Bank topic data — wb_topic","text":"data.frame() available topics. columns : id topic ID. value topic value. source_note source note.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/wb_topic.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"World Bank topic data — wb_topic","text":"","code":"wb_topic() #> # A tibble: 21 × 3 #> id value source_note #> #> 1 1 Agriculture & Rural Development \"For the 70 percent of the world's poo… #> 2 2 Aid Effectiveness \"Aid effectiveness is the impact that … #> 3 3 Economy & Growth \"Economic growth is central to economi… #> 4 4 Education \"Education is one of the most powerful… #> 5 5 Energy & Mining \"The world economy needs ever-increasi… #> 6 6 Environment \"Natural and man-made environmental re… #> 7 7 Financial Sector \"An economy's financial markets are cr… #> 8 8 Health \"Improving health is central to the Mi… #> 9 9 Infrastructure \"Infrastructure helps determine the su… #> 10 10 Social Protection & Labor \"The supply of labor available in an e… #> # ℹ 11 more rows"},{"path":"https://m-muecke.github.io/worldbank/reference/worldbank-package.html","id":null,"dir":"Reference","previous_headings":"","what":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","title":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","text":"Download search data 'World Bank Indicators API', provides access nearly 16,000 time series indicators. See https://datahelpdesk.worldbank.org/knowledgebase/articles/889392---indicators-api-documentation details API.","code":""},{"path":[]},{"path":"https://m-muecke.github.io/worldbank/reference/worldbank-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"worldbank: Client for World Banks's 'Indicators' and 'Poverty and Inequality Platform (PIP)' APIs — worldbank-package","text":"Maintainer: Maximilian Mücke muecke.maximilian@gmail.com (ORCID)","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-development-version","dir":"Changelog","previous_headings":"","what":"worldbank (development version)","title":"worldbank (development version)","text":"Add support Finances One API data","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-030","dir":"Changelog","previous_headings":"","what":"worldbank 0.3.0","title":"worldbank 0.3.0","text":"CRAN release: 2024-08-26 Moved HTTPS API calls Support Poverty Inequality Platform (PIP) data","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-020","dir":"Changelog","previous_headings":"","what":"worldbank 0.2.0","title":"worldbank 0.2.0","text":"CRAN release: 2024-07-31 Support month quarter date format wb_country_indicator() robust error handling","code":""},{"path":"https://m-muecke.github.io/worldbank/news/index.html","id":"worldbank-010","dir":"Changelog","previous_headings":"","what":"worldbank 0.1.0","title":"worldbank 0.1.0","text":"CRAN release: 2024-07-02 Initial CRAN submission.","code":""}]