Description Usage Arguments Value Examples
Uniform Crime Report Offenses and Clearances Column Name Fixer
1 | UCR.OffenseNames(UCR_dataset)
|
UCR_dataset |
This is the data.frame containing data from the UCR "Offenses Known and Clearance by Arrest" dataset You may use any years from 1998-2014 |
Returns the same data.frame as inputted but with column names corrected as per the UCR "Offenses Known and Clearance by Arrest" codebook for years 1998-2014
1 2 3 4 5 6 | # This is an example data.frame with the same column names
# as the real UCR offenses and clearances, dataset.
example <- data.frame(V1 = 1:10, V2 = 2:11, V8 = "example")
names(example)
example <- UCR.OffenseNames(example)
names(example)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.