create_figure_1: Create Figure 1

Description Usage Arguments Value Examples

View source: R/create_figure_1.R

Description

This function produces Figure 1 from the publication. Plots total number of Nino Registrations from EU, outside the EU and the total. Assumes data is of type list by default and data frame is the first element of the list.

Usage

1

Arguments

data

raw data from API call

year_to_date

Last month in quarter: March, June, September, December

save

Whether to save the plot or not. TRUE by default

Value

year to data sums to plot figure 1

Examples

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

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