filterData: filterData

Description Usage Arguments Value Examples

Description

A cleaned NOOA dataframe is prepared for visualisation. That means that the eartquakes are filtered after a vector of COUNTRY and a period of time. The period of time is given between a minYear and maxYear.

Usage

1
filterData(df, COUNTRY, minYear = 2000, maxYear = 2001)

Arguments

df

a NOOA Dataframe

COUNTRY

a vector of characters representing country after which we will filter

minYear

a minimum value for YEAR

maxYear

a maximum value for YEAR

Value

a filtered dataframe

Examples

1
2
3
4
df <- load_data()
df <- eq_clean_data(df)
df <- eq_location_clean(df)
dff <- filterData(df, COUNTRY="CUBA", minYear=1880, maxYear=1992)

constantin345/NOOA documentation built on May 16, 2019, 7:09 p.m.