eq_location_clean: Print "Earthquakes City Location"

Description Usage Arguments Value Note Examples

View source: R/earthquakes.R

Description

This function reads in the country and full name for an earthquake as 2 string fields like ITALY: POMPEI

Usage

1
eq_location_clean(country, full_name)

Arguments

country

The name of the country.

full_name

The full name of the country and city.

Value

This function returns a city name without the country name and returned in Title Case format.

Note

Some earthquakes have impacted multiple city locations and in these instances, country name is currently returned with all subsequent cities.

Examples

1
2
3
4
## Not run: 
eq_location_clean(country, full_name)

## End(Not run)

aliciatb/earthquakes documentation built on May 29, 2019, 11:02 p.m.