create_figure_3: Create Figure 3

Description Usage Arguments Value Examples

View source: R/create_figure_3.R

Description

This function produces Figure 3 from the publication. Plots total number of Nino Registrations from EU2, EU8 and EU15.

Usage

1
2
create_figure_3(data, year_to_date, year_end_filter, labels, save = TRUE,
  interactive = FALSE)

Arguments

data

raw data from API call

year_to_date

Last month in quarter, one of: Mar, Jun, Sep, Dec

labels

labels from API call must be in colnames of data

save

whether or not to save figure as png Default is TRUE use data$colnames to see available choices

Value

plot of class ggplot

Examples

1
## Not run: create_figure_3(data, year_to_date)

DFoly/ninorap documentation built on Aug. 15, 2019, 12:52 a.m.