Description Usage Format Examples
Data frame of Gapminder country names and ISO 3166-1 country codes:
The 3-letter ISO 3166-1 alpha-3 code.
The 3-digit ISO 3166-1 numeric-3 code.
Also includes the countries covered by the supplemental data frame
gapminder_unfiltered
.
1 |
An object of class tbl_df
(inherits from tbl
, data.frame
) with 187 rows and 3 columns.
1 2 3 4 5 6 | if (require("dplyr")) {
gapminder %>%
filter(year == 2007, country %in% c("Kenya", "Peru", "Syria")) %>%
select(country, continent) %>%
left_join(country_codes)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.