Skip to contents

List all topics supported by the World Bank API.

Usage

wb_topic(topic = NULL, lang = "en")

Arguments

topic

character() topic to query. Default NULL. If NULL, all topics are returned.

lang

character(1) language to query. Default "en".

Value

A data.frame() with the available topics. The columns are:

id

The topic ID.

value

The topic value.

source_note

The source note.

See also

Examples

wb_topic()
#> # A tibble: 21 × 3
#>       id value                           source_note                            
#>    <int> <chr>                           <chr>                                  
#>  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