Open andrewjbe opened 1 year ago
I was creating a UCCS code lookup table for a different project, and I figured it would be handy to have the script I used in /inst
here. I also included the resulting dataset of unique charge descriptions; let me know if there's a better spot for it.
Changes to
ojo_parse_county()
:squish
argument is now consistent regardless of other args; ifTRUE
, there will be no spaces, and ifFALSE
, all spaces will remain. I also altered the tests slightly to reflect the changed behavior.suffix
argument is now a real thing; it adds the argument to the county names and respects all other argsNew
ojo_list_counties()
function:ojo_list_
functions.case
,squish
,suffix
args fromojo_parse_county()
, so you can pass those arguments along easily to get a formatted list.oscn_only
arg; ifTRUE
, will filter the list to only include the 13 oscn counties.