Description Usage Arguments See Also Examples
View source: R/plot_eq_timeline.R
Wrapper for geom_timeline
and link{geom_timeline_label}
.
Data is grouped by COUNTRY.
1 | plot_eq_timeline(data, label = LOCATION_NAME)
|
data |
noaa dataset prepared by |
label |
(tidy eval syntax) Column used for labeling. |
geom_timeline
, geom_timeline_label
1 2 3 4 5 6 7 8 9 10 | ## Not run:
noaa_data <- system.file("extdata", "noaa_earthquakes.tsv", package = "noaa") %>%
eq_read_data %>%
eq_clean_data %>%
filter(COUNTRY %in% c("USA", "CHINA") & YEAR > 2000)
timeline <- noaa_data %>%
plot_eq_timeline(label = DATE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.