Description Usage Arguments Value Examples
This function modifies the LOCATION_NAME column of a dataframe by separating the LOCATION_NAME into multiple strings (separated by the character ':'), and selecting the last one. This step transforms the LOCATION_NAME field from states and cities (towns) to just cities. It also correctly formats the LOCATION_NAME so that it only has its first letter capitalized.
1 | eq_location_clean(dset)
|
dset |
Dataset depicting the raw NOAA data frame. |
This function returns the raw NOAA data frame with the LOCATION_NAME columns cleaned up.
1 2 3 4 5 6 7 | ## Not run:
dataset = read_delim("data/signif.txt", delim = "\t")
dataset = eq_location_clean(dataset)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.