A Collection of Nifty Functions and Objects for OJO Analysts
You can install the development version of ojoutils from GitHub with:
# remotes::install_github("openjusticeok/ojoutils")
install.packages("ojoutils", repos = c('https://openjusticeok.r-universe.dev', 'https://cloud.r-project.org'))
ojo_counties - Vector of Oklahoma county namesojo_parse_county() - Standardize Oklahoma county namescount_interval() - Count active intervals over time periods using
Rust/Arrow backendlimit() - SQL-style row limitingojo_create_project() - Create standardized OJO project from templateojo_use_template() - Add Quarto report template to projectgcs_auth_bucket() - Authenticate with GCS and set default bucketgcs_read_csv() - Read CSV files from GCS using Arrowgcs_write_csv() - Write CSV files to GCSgcs_list_objects() - List objects in a GCS buckettar_gcs_csv() - Create targets pipeline targets for GCS CSVsSee the package website for full documentation and vignettes.
GPL (>= 3)