Portal Data Manipulation Pipes (dplyr)
If the file
surveys.csv is not already in your working directory then download a copy.
Load the file into R using
Use pipes (either
%>%) to combine the following operations to manipulate the data.
is.na()to create a new data frame with the
species_id, and weight in kilograms of each individual, with no null weights.
- Use the
select()to get the
species_idcolumns for all of the rows in the data frame where