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.
sqs_spi_indicator(indicators)
indicators | An indicator from the Social Progress Index. |
---|
Indicator code from the Social Progress Index.
sqs_spi_country
for the SPI's country code and sqs_spi_data
to collect data when you have both indicator and country code.
myIndicator <- sqs_spi_indicator() myIndicator <- sqs_spi_indicator(indicators = "mortality") myIndicator <- sqs_spi_indicator("mortality")