Filtering rows

Author

Jeffrey R. Stevens

Published

February 19, 2025

For these exercises, we’ll use a new clean version of the dog breed traits data set.

  1. Import data from https://jeffreyrstevens.github.io/dpavir2025/data/dog_breed_traits_clean.csv and assign to traits.
# >
  1. Return dogs only with short coats.
# >
  1. Return a data frame excluding dogs with short coats.
# >
  1. Return dogs with double or silky coats.
# >
  1. Return dogs with double or silky coats and shedding ratings 3 or below.
# >
  1. Return dogs with NA for coat_type.
# >
  1. Return dogs with NA for any column.
# >
  1. Return dogs not missing any data.
# >
  1. Return dogs sorted by breed name.
# >
  1. Return dogs sorted by coat type then coat length then affectionate rating.
# >