Column name suffixes
The three data.table
s containing information about the geography and population of Australia have been loaded into your R session: capitals
, area
, and population
. Both area
and population
now have a column named "percentage"
. The "percentage"
column in area
contains the percentage of total land mass each state occupies. The "percentage"
column in population
contains the percentage of the total population living in each city
.
Diese Übung ist Teil des Kurses
Joining Data with data.table in R
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Inner join
capital_pop <- ___(capitals, population, ___)
# Left join
___