Filter scorecard data by variable values.
This function is used to filter the downloaded scorecard data. It converts idiomatic R into the format required by the API call.
Current list of parameters carried forward from prior functions in the chain (ignore)
Expressions to evaluate
1 2 3 4 5 6 7 8 9
## Not run: sc_filter(region == 1) # New England institutions sc_filter(stabbr == c('TN','KY')) # institutions in Tennessee and Kentucky sc_filter(control != 3) # exclude private, for-profit institutions sc_filter(control == c(1,2)) # same as above sc_filter(control == 1:2) # same as above sc_filter(stabbr == 'TN', control == 1, locale == 41:43) # TN rural publics ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.