flatten_to_table: flatten geojson object to data table with must salient...

Description Usage Arguments Value See Also Examples

View source: R/flatten_to_table.R

Description

flatten geojson object to data table with must salient covariates

Usage

1
flatten_to_table(seismic.geojson.obj)

Arguments

seismic.geojson.obj

GeoJson object

Value

A flattened dataset to tabular format, useful for analysis.

See Also

get_seismic_data, fit_quaker, plot, get_freq_grp_by_country_mag, get_freq_grp_by_day_mag

Examples

1
2
3
4
5
6
data <- flatten_to_table(get_seismic_data(timeFrame = 'PAST_DAY', minMagnitude = 'all'))
data
data <- flatten_to_table(get_seismic_data(timeFrame = 'PAST_WEEK', minMagnitude = '1'))
data
data <- flatten_to_table(get_seismic_data(timeFrame = 'PAST_MONTH', minMagnitude = '2.5'))
data

iant04128591/quaker documentation built on May 18, 2019, 1:28 a.m.