knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(deidentify)
names(deidentify::initiations) head(data.frame(deidentify::initiations))
temp <- make_k_score(deidentify::initiations, columns = c("race")) temp summary(temp$number_of_observations)
temp <- make_k_score(deidentify::initiations, columns = c("race", "gender")) temp summary(temp$number_of_observations)
temp <- make_k_score(deidentify::initiations, columns = c("race", "gender", "offense_category")) nrow(temp) head(temp) tail(temp) summary(temp$number_of_observations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.