find_indicator: Find available indicator code names or file groups for UN...

View source: R/find_indicator.R

find_indicatorR Documentation

Find available indicator code names or file groups for UN DESA World Population Prospects data

Description

Find available indicator code names or file groups for UN DESA World Population Prospects data

Usage

find_indicator(x, wpp_version = 2022, simple = TRUE)

Arguments

x

Character string on key word or name related to indicator of potential interest.

wpp_version

Integer for WPP version. Default of 2022. All WPP back to 1998 are available.

simple

Logical to give simple table without variant or file group information

Value

A subset of the wpp_indicators data frame with one or more of columns matching the keyword given to x. Use the result in the indicator column to input to the get_wpp() function for downloading data.

Examples

find_indicator("migration")

find_indicator("sex ratio")

# show variant information
find_indicator("Deaths", simple = FALSE)

guyabel/tidywpp documentation built on July 14, 2022, 7:08 a.m.