supported_countries {DemografixeR} | R Documentation |
Retrieve the supported countries for each API
Description
Scrapes the API websites to retrieve an updated list of supported countries for each API.
Usage
supported_countries(type)
Arguments
type |
Obligatory parameter to define the API from which to obtain the
supported countries. Must be one of the following
|
Value
Returns a data.frame
with the supported
ISO 3166-1 alpha-2
country code, country name the number of items (names) for each country.
Warning
Please be conscious that this function directly scrapes the website, do not overuse it as it might overwhelm the server.
Examples
## Not run:
supported_countries(type="genderize")
## End(Not run)
[Package DemografixeR version 0.1.1 Index]