Package index
Functions for pulling court data
These functions are for pulling and manipulating Oklahoma district court data scraped from OSCN.net and ODCR.net.
-
ojo_civ_cases()
- Query civil cases from the OJO database
-
ojo_crim_cases()
- Query criminal cases from the OJO database
-
ojo_eviction_cases()
- OJO Eviction Cases
-
ojo_add_counts()
- Add counts to a tibble of cases
-
ojo_add_minutes()
- Query minutes for a given case
-
ojo_add_issues()
- Add issues to civil cases
-
ojo_add_party_details()
- Add party details to a parties query
-
ojo_search_minutes()
- Query minutes for a given search term
-
ojo_collect()
- OJO Collect
Functions to help aid with analysis
These include some other helpful functions you might use in your analysis.
-
ojo_color()
- Add OJO styling to a ggplot
-
ojo_fill()
- Add OJO styling to a ggplot
-
ojo_pal
- Add OJO styling to a ggplot
-
ojo_theme()
- Style a ggplot in the OJO style
-
ojo_county_population()
- Get population data by county for Oklahoma from the Census Bureau's American Community Survey
-
ojo_fiscal_year()
- Determine the Oklahoma state fiscal year that a Date falls in
Database management functions
These functions allow you to look at and interact with the OJO database’s structure.
-
ojo_list_schemas()
- List all schemas on the OJO database
-
ojo_list_tables()
- List all tables on the OJO database
-
ojo_list_vars()
- List all variables in a table on the ojodb database
-
ojo_case_types()
- List the case types present in the OJO database
-
ojo_show_row()
- Browse the source court record of a row
‘Behind the scenes’ functions
These are the most basic / fundamental functions in the package. Generally, we shouldn’t need to use them directly.
-
ojo_connect()
- OJO Connect
-
ojo_tbl()
- Identify a table from the OJO database
-
ojo_query()
- OJO Query
-
ojo_check_ssl()
- Check whether the database connection is using SSL properly
-
ojo_auth()
- Create configuration for OJO database connection
-
ojo_env()
- OJO Environment
-
ojo_version()
- OJO Version