#' Transforms RDOS into tidy format, including offence groups
#' @param data crest_with_offence_groups dataset
#' @export
crest <- function(data){
data %>%
dplyr::group_by(period, variable) %>%
dplyr::summarise(value = sum(value)) %>%
dplyr::ungroup()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.