passport
passport copied to clipboard
Travel smoothly between country name and code formats
It's been a while since the data for this package has been recompiled, and some of it does change, so it's time to rebuild and release a patch version to...
The Google Places API no longer allows keyless access, and changed from allowing 2500 free calls a day to giving each user $200 of free usage each month. Given the...
It would be nice to add [administrative division](https://en.wikipedia.org/wiki/Administrative_division) support, including names in as many languages as possible (start with UN-official?) and codes where possible (at least ISO 3166-2), in parallel...
Currently `is_developed` and `is_independent` return character vectors: ``` r unique(passport:::countries$is_developed) #> [1] NA "Developed" "Developing" unique(passport:::countries$is_independent) #> [1] NA "Yes" #> [3] "Territory of GB" "International" #> [5] "Territory of...
Country attributes that are not strictly country names or codes (tld, currency, capital, independence and territorial status (#2), etc.) should be split out of `countries` and accessed with a more...
It would be useful to handle containment and country groupings more effectively, e.g. when moving from countries to regions: ``` r passport::as_country_name(c('FR', 'DE', 'SG'), 'continent') #> Multiple unique values aggregated...