dfsummary: Summarize properties of criminal history records data frames.

Description Usage Arguments Details Value

View source: R/Data_Mgt_Functions.R

Description

This function summarizes specific properties of data frames into a short data frame.

Usage

1
dfsummary(x, label = NULL, dvar)

Arguments

x

A data frame containing variables named OID and IID.

label

An optional vector of row names for the resulting data frame.

dvar

A date variable to be summarized. The earliest and latest date values will be extracted and stored as variables in the result.

Details

This function counts the number of records in the data frame, .

Value

A data frame containing variables N.Records, N.Incidents (based on unique values for x$IID), N.Offenders (based on unique values for x$OID), Earliest, and Latest.


sjpierce/SSACHR documentation built on Jan. 16, 2022, 12:39 a.m.