openjusticeok / ojodb

OJO's R package for opening the black box of our justice system
https://openjusticeok.github.io/ojodb/
GNU General Public License v3.0
8 stars 3 forks source link

Make the "districts" argument in ojo_crim_cases() not case-sensitive #72

Closed andrewjbe closed 1 year ago

andrewjbe commented 2 years ago

Currently, running ojo_crim_cases(districts = "Oklahoma") %>% collect() will not return anything, because the district names are all capitalized (e.g. "OKLAHOMA"). It would be kind of nice to just run that variable through toupper() just so we don't have to worry about case sensitivity when we're looking for certain counties.