spir_indicator: spir_indicator

Description Usage Arguments Value See Also Examples

View source: R/spiR.R

Description

This function allows you to find and search the right indicator code from the Social Progress Index you want to use. If no argument is filed, all indicators will be displayed.

Usage

1
spir_indicator(indicators)

Arguments

indicators

An indicator from the Social Progress Index.

Value

Indicator code from the Social Progress Index.

See Also

spir_country for the SPI's country code and spir_data to collect data when you have both indicator and country code.

Examples

1
2
3
myIndicator <- spir_indicator()
myIndicator <- spir_indicator(indicators = "mortality")
myIndicator <- spir_indicator("mortality")

spiR documentation built on March 5, 2021, 5:05 p.m.