Description Usage Arguments Value Examples
Lookup ISO country code weatherunderground API doesn't recognize iso codes uniformly for every country.name
1 | lookup_country_code(name, region = NULL)
|
name |
Name of country |
region |
Geographic region |
data.frame of country codes
1 2 3 4 5 | ## Not run:
lookup_country_code("Korea")
lookup_country_code("Guinea", region = "Africa")
## End(Not run)
|
Attaching package: 'rwunderground'
The following object is masked from 'package:utils':
history
country.name.en iso2c region
111 Democratic People's Republic of Korea KP Eastern Asia
172 Republic of Korea KR Eastern Asia
country.name.en iso2c region
63 Equatorial Guinea GQ Middle Africa
87 Guinea GN Western Africa
88 Guinea Bissau GW Western Africa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.