createPlotFromLocation: Create a plot for a specific location from scratch.

Description Usage Arguments Value

Description

Loads the necessary data and creates a plot from it.

Usage

1
2
createPlotFromLocation(lat, lng, crop, years.this, years.range = c(1970,
  2006), years.compare = NULL, today = Sys.Date(), forecast.date = NULL)

Arguments

lat

the latitude of a location.

lng

the longitude of a location.

crop

the name of a crop.

years.range

a 2-item list of the first and last year to include in the range.

years.compare

list of years to compare to.

today

the date to consider today.

forecast.date

the data at which forecast starts.

year.this

the year to consider the current year.

Value

plot object


karawoo/cbccy documentation built on May 20, 2019, 7:21 a.m.