GerkeLab / fcds

Process data from the Florida Cancer Data System
https://gerkelab.github.io/fcds/
Other
3 stars 1 forks source link

Rename age_low and age_high arguments #48

Closed gadenbuie closed 5 years ago

gadenbuie commented 5 years ago

What this

fcds %>%
  filter_age_groups(age_low = 20, age_high = 50)

is really saying is

fcds %>%
  filter_age_groups(greater_than = 20, less_than = 50)

or

fcds %>%
  filter_age_groups(gt = 20, lt = 50)

or

fcds %>%
  filter_age_groups(age_gt = 20, age_lt = 50)
gadenbuie commented 5 years ago

going with door number 4 because age_gt and age_lt are used in complete_age_groups() as well.