Skip to contents

Query the Open Justice Oklahoma database

Usage

ojo_query(query, ..., .con = NULL)

Arguments

query

The query to send to ojodb

...

Arguments to pass to glue::glue_sql

.con

The ojodb connection to use

Value

data, a tibble containing the results of the query

Examples

if (FALSE) { # \dontrun{
ojo_query("SELECT * FROM \"case\" LIMIT 10")
ojo_query("SELECT * FROM iic.inmate LIMIT 10")
} # }