eq_location_clean: Clean LOCATION_NAME column

Description Usage Arguments Value Examples

View source: R/clean_data.r

Description

This function cleans the LOCATION_NAME column by removing country name and converting names to title case.

Usage

1

Arguments

df

dataframe containing LOCATION_NAME column

Value

Returns df with cleaned LOCATION_NAME column

Examples

1
2
3
4
5
6
## Not run: 
  df <- load_data() %>% eq_location_clean()
  print(class(df))
  head(df)

## End(Not run)

lakrobinson/noaar2 documentation built on Dec. 1, 2020, 9:35 p.m.