Fetch SMARTER REST API countries endpoint and returns results in a dataframe.
Usage
get_smarter_countries(query = list())Passing additional parameters
Contries endpoint supports additional parameters when making queries.
Additional parameters need to be passed as list using the query
parameter. For example, to get all the countries where there are "Sheeps"
you need to provide list(species="Sheep") as query parameter.
Endpoint supports searches with two or tree ISO codes using
alpha_2 and alpha3 parameters respectively. In addition,
you can search using a pattern through the search parameter.
See
Swagger Countries endpoint for more information about the breeds endpoint