Aan de slagGa gratis aan de slag

Concatenating a list of data.tables

A list of data.tables 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.tables in the gdp list

Deze oefening maakt deel uit van de cursus

Joining Data with data.table in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Concatenate its data.tables
gdp_all_1 <- ___
Code bewerken en uitvoeren