getLocationData: Get climate data for a location.

Description Usage Arguments Value

Description

Get climate data for a location. Wraps loadClimateData() in order to return a data frame with all necessary components for easy plotting.

Usage

1
getLocationData(lat, lng, mode, data.dir = "data/", ...)

Arguments

lat

the latitude of a location

lng

the longitude of a location

mode

one of 'historical', 'future', or 'present'. Determines data to fetch.

data.dir

the directory containing 'historical', 'future', and 'present' directories.

...

other parameters passed to loadClimateData()

crop

a crop object containing gdd information

Value

a data frame of climate data with dates attached.


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