get_timeline: get_timeline

Description Usage Arguments Value Examples

View source: R/earthquake.R

Description

A wrapper function to help generate timeline visualisations easier.

Usage

1
get_timeline(data_raw, clist = "ALL", xmin, xmax)

Arguments

data_raw

A data table containing NOAA Earthquake data

clist

Character/Vector of grouping names eg "USA" from COUNTRY column.

xmin

POSIXct date - minimum date for timeline

xmax

POSIXct date - maximum date for timeline

Value

A ggplot2 graphical object displaying timeline of earthquakes data

Examples

1
2
3
4
## Not run: 
get_timeline(eq_data_raw, c("USA","IRAN"),"1970-01-01","2016-01-01")

## End(Not run)

Moonglum8/rEarthquake documentation built on July 17, 2020, 5:10 p.m.