Description Usage Arguments Value See Also Examples
View source: R/geom_NOAA_timeline.R
For a given (optional) selection of date range and countries.
The resulting selection of earthquakes is represented by a circle along a time axis.
Optional feature enable to add a vertical axis usualy country aesthetic y
.
Additional optional aesthetics fill
an r
enable the user to represent
additional continuous variables such as nb of deaths or magnitude.
1 |
data |
The data to be displayed in this layer. There are three options: If A A |
mapping |
Set of aesthetic mappings created by |
xmin |
start date for data vizualisation [Character] encoded as YYYY-MM-DD or [Date] |
xmax |
end date for data vizualisation [Character] encoded as YYYY-MM-DD or [Date] |
countries |
[Character] list of Countries to filter |
alpha |
alpha parameter for transparency |
ggplot plot object
timeline_data geom_timeline_label relabel_legend
1 2 3 4 | ## Not run:
ggplot(data=clean_data,aes(x=DATE,y=COUNTRY)) + geom_timeline()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.