Concatenating a list of data.tables
A list of data.table
s has been loaded into your R session: gdp
. Its elements contain a data.table
for each continent, each data.table
containing the gross domestic product (gdp) in the year 2000 for the countries in each continent (data sourced from the Gapminder foundation). Your goal is to build a new data.table
containing the observations from all data.table
s in the gdp
list
Cet exercice fait partie du cours
Joining Data with data.table in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Concatenate its data.tables
gdp_all_1 <- ___