A great selection
The imf_data
tibble contains characteristics of countries
including (but not limited to) currency conversion rate
compared to a US dollar, gross domestic product (in billions
of US dollars), and population across many years. In this
exercise, you'll explore this data from the
International Monetary Fund (IMF) further.
Throughout this chapter, dplyr
and imf_data
have been loaded for you. A string
vector including a few countries is also available as
countries_vector
for this exercise.
This exercise is part of the course
Programming with dplyr
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Choose country, year, USD conversion, and GDP columns
selected_imf <- imf_data %>%
___