Exploring the Australian population
Your goal is to calculate the total percentage of people living in major cities of Australia (listed in capitals
). For this exercise, population
has a new column ("percentage"
) containing the percentage of people living in each of its listed cities.
This exercise is part of the course
Joining Data with data.table in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Inner join capitals to population
___