Skip to content

Instantly share code, notes, and snippets.

@anirudhjayaraman
Created December 18, 2015 12:37
Embed
What would you like to do?
# Print out all flights in hflights that traveled 3000 or more miles
filter(hflights, Distance > 3000)
# All flights flown by one of JetBlue, Southwest, or Delta
filter(hflights, UniqueCarrier %in% c('JetBlue', 'Southwest', 'Delta'))
# All flights where taxiing took longer than flying
filter(hflights, TaxiIn + TaxiOut > AirTime)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment