request_remote: Request data from SolarGIS servers.

Description Usage Arguments Value

View source: R/request.R

Description

Submit a single request for a single location to SolarGIS's REST API. IMPORTANT: NO CHECKS ARE MADE WHEN THIS FUNCTION IS CALLED AGAINST PREVIOUS REQUESTS SO THE TIME PERIOD WILL COUNT AGAINST OUR DATA UNITS.

Usage

1
request_remote(lat, lon, start_date, end_date, api_key)

Arguments

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.

Value

A complete file path for the SolarGIS data requested.


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