# >
Merging columns
For these exercises, we’ll use the dog breed traits data set along with the data on breed popularity rankings.
- Load tidyverse, download and import
dog_breed_traits_clean.csv
totraits
, and importdog_breed_ranks.csv
toranks
. Make sure to download both files from the website, as they have changed or are new.
- Which breeds differ between
traits
andranks
?
# >
- Merge
traits
andranks
(in that order) to produce a data frame that includes breeds shared by both data sets. How many rows are there?
# >
- Merge
traits
andranks
(in that order) to produce a data frame that includes all breeds included in either data set. How many rows are there?
# >
- Merge
traits
andranks
(in that order) to produce a data frame that includes only breeds included intraits
. How many rows are there?
# >
- Merge
traits
andranks
(in that order) to produce a data frame that includes only breeds included inranks
. How many rows are there?
# >
- Make
table4a
andtable4b
tidy then join them to replicatetable1
.
# >