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

Allow ojo_search_minutes to search by code OR by description #90

Open andrewjbe opened 1 year ago

andrewjbe commented 1 year ago

Right now it only searches the minute descriptions; it would be handy to be able to do something like ojo_search_minutes("FTA") and get minutes with "FTA" in their minute code

brancengregory commented 1 year ago

Great idea! I'm thinking this would be functionality we could wrap up in an ojo_minutes function, which would be a helper similar to ojo_crim_cases.

I could see usage being something like:

test <- ojo_minutes(code = "FTA", description = "<insert full text description query>")
brancengregory commented 1 year ago

Related:

I'd also like an ojo_list_minute_codes function

This would fit in with the other ojo_list_ functions