Description Usage Arguments Value
Loads the necessary data and creates a plot from it.
1 2 | createPlotFromLocation(lat, lng, crop, years.this, years.range = c(1970,
2006), years.compare = NULL, today = Sys.Date(), forecast.date = NULL)
|
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. |
plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.