Description Usage Arguments Value Examples
View source: R/pre_process_data.R
The function takes data frame generated by one of the functions that sourced data from statistics.gov.scot and returns pre-processed data set with the following changes.
1 2 | pre_process_data(x, clean_URI_strings = TRUE, remove_cols = TRUE,
clean_column_names = TRUE)
|
x |
A data frame, usually obtained via
|
clean_URI_strings |
Defaults to |
remove_cols |
Removes redundant columns, such as columns with value
|
clean_column_names |
Defaults to |
A data frame.
1 2 3 4 5 6 | ## Not run:
pre_process_data(x = get_geography_data(data_set = "recorded-crime",
geography = "Glasgow City",
measure = "count"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.