spiR_country-deprecated: sqs_spi_country (deprecated)

Description Usage Arguments Value See Also Examples

Description

This function allows you to find and search the right country code associated with the Social Progress Index's Data. If no argument is filed, all indicators will be displayed. This function will be removed in the next version and replaced by the simpler function 'spir_country()'

Usage

1
sqs_spi_country(country)

Arguments

country

The name of the country.

Value

Country's ISO code.

See Also

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

Examples

1
2
3
mycountry <- sqs_spi_country()
mycountry <- sqs_spi_country(country = "Canada")
mycountry <- sqs_spi_country("Canada")

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