This function uses the rest api here https://restcountries.eu/rest/v2/all' to get country metadata.

country_metadata()

Value

a data.frame

Author

Sean Davis seandavi@gmail.com

Examples

cmd = country_metadata()
#> Error in curl::curl_fetch_memory(url, handle = handle): Timeout was reached: [restcountries.eu] Failed to connect to restcountries.eu port 443: Connection timed out
colnames(cmd)
#> Error in is.data.frame(x): object 'cmd' not found
sapply(cmd, class)
#> Error in lapply(X = X, FUN = FUN, ...): object 'cmd' not found

head(cmd)
#> Error in head(cmd): object 'cmd' not found