This function allows you to find and display the Social Progress Index data according to the selected parameters. If no arguments are filled, all data will be displayed. This function will be removed in the next version and replaced by the simpler function 'spir_data()'
sqs_spi_data( country = spi_country, years = spi_year, indicators = spi_indicator )
country | Countries' ISO code. |
---|---|
years | Years for which you want data. |
indicators | Indicators from the Social Progress Index. |
Data for the country, indicator and year requested.
spir_indicator
for the SPI's indicator symbol and spir_country
for the country's ISO code.
#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'myData<- sqs_spi_data(, "2018", )#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'myData<- sqs_spi_data("USA", "2017", )#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'myData<- sqs_spi_data("USA", , )#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'myData<- sqs_spi_data(, , )#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'myData<- sqs_spi_data()#> Warning: 'sqs_spi_data()' will be removed in the next version and replaced by the simpler function 'spir_data()'