request: Request SolarGIS data.

Description Usage Arguments Value Author(s)

View source: R/request.R

Description

The parameters of this function may be used to perform requests for multiple sights for multiple years.

Usage

1
2
request(solargis_dir, site_id, lat, lon, start_date, end_date, author, api_key,
  min_dist = 1000)

Arguments

solargis_dir

The root directory where solar-gis data is stored.

site_id

A site identifier. Does not be unique. Unique identifier is created with site_id and location_hash in the meta data table.

lat

The location's latitude.

lon

The location's longitude.

start_date

The start date for the data to be requested.

end_date

The end date for the data to be reqeusted.

api_key

A SolarGIS API key.

min_dist

The minimum distance in meters from (lat, lon) that is acceptable for use. Defaults to 1000 meters which is about 0.62 miles.

Value

A complete file path for the SolarGIS data requested.

Author(s)

author The author of the request. May be an individual's name or the project name requesting data.


jmousseau/solargis documentation built on May 20, 2019, 1:54 p.m.