eq_location_clean: Cleaning the location

Description Usage Arguments Value Source

View source: R/clean.R

Description

This is a function that makes some further changes to the variable LOCATION that will be useful later. In particular, we keep only the name of the place and we dismiss the country. For example, the location "Italy: Palermo" becomes "Palermo".

Usage

1

Arguments

data

is a dataframe with all the data that we aquired from the NOOA website and we cleaned with the help of the function eq_clean_data().

Value

This function returns a dataframe with all the data in a tidy format. All the locations have the appropriate format.

Source

The data should come from the NOOA website


zflouris/final documentation built on May 6, 2019, 8:06 p.m.