Description Usage Arguments Value Examples
View source: R/create_figure_1.R
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.
1 | create_figure_1(data, year_to_date, save = TRUE, interactive = FALSE)
|
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 |
year to data sums to plot figure 1
1 | ## Not run: create_figure_1(data, year_to_date)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.