Description Usage Arguments Value Examples
It's expected that the data frame is produced by the file_read
function. The cleaning is performed in the following way:
Creates the DATE
column by uniting the year, month, day
and converting it to the Date class
Converts the LATITUDE
and LONGITUDE
columns to numeric class
Cleans the LOCATION_NAME
column by stripping out the country name
(including the colon) and converts names to title case (as opposed to all caps)
1 |
df |
a data frame to clean |
Cleaned data frame
1 2 | library(dplyr)
file_read() %>% eq_clean_data()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.