Description Usage Arguments Value
Filter out data that should not be plotted
1 | filterPlotData(plotData, filters, startYear = NULL, endYear = NULL)
|
plotData |
Data frame containing the data for a plot. |
filters |
Named list of variables and values to filter on before aggregating. Values can be character or a list. |
startYear |
Minimum year to display. If NULL, searches year column for minimum in data. |
endYear |
Maximum year to display. If NULL, searches year column for maximum in data. |
Filtered data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.