Returns the data from INQStats. Further information about INQStats, e.g. how to get api key, what data is available, can be found on http://blog.inqubu.com/inqstats-open-api-published-to-get-demographic-data
api_key
a key received from INQStats.
country_code
a vector of ISO 3166-1 country codes, e.g. "us,gb,se".
data
a data-set, as a vector, e.g. c("population","birth_rate").
years
a year range, as a vector, e.g. 1990:2002.
result
a data frame.
1 | databycountry$new(api_key= "97c1f72e01dd5ba3", country_code = "us,lt,se", data = c("population","birth_rate","co2_emissions","fifa","hdi"),years = 1990:2015)$result
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.