Description Usage Arguments Value See Also Examples
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.
1 | spir_country(country)
|
country |
The name of the country. |
Country's ISO code.
spir_indicator
for the SPI's indicators and spir_data
to collect data when you have both indicator and country code.
1 2 3 | mycountry <- spir_country()
mycountry <- spir_country(country = "Canada")
mycountry <- spir_country("Canada")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.