ojo_add_counts: Add counts to a tibble of cases

View source: R/ojo_crim_cases.R

ojo_add_countsR Documentation

Add counts to a tibble of cases

Description

Add counts to a tibble of cases

Usage

ojo_add_counts(data, vars = NULL, ...)

Arguments

data

A tibble returned by an ojo_ prefixed function

vars

Variable names from the count table to include

...

Placeholder for future arguments

Value

A tibble with counts for each case

Examples

## Not run: 
ojo_crim_cases(vars = c("counts", "open_counts")) |>
  ojo_add_counts()

## End(Not run)


openjusticeok/ojodb documentation built on Aug. 4, 2024, 3:25 p.m.