Description Usage Arguments Value Examples
View source: R/eq_location_clean.R
This function is a intermediate step to clean the raw data. The 'eq_clean_data' will use it behind the scenes to insert the column LOCATION.
1 | eq_location_clean(df_2 = rlang::.data)
|
df_2 |
A DataFrame with LOCATION_NAME column. |
Adds a new column to the DataFrame called LOCATION, following the specifications: Title Case and without country name.
1 2 3 4 5 6 | ## Not run:
# Piping a DataFrame with LOCATION_NAME to be converted in LOCATION.
readr::read_delim("inst/extdata/signif.txt",
delim = "\t") %>%
eq_location_clean()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.