AddSolarTimes: Add solar times

Description Usage Arguments Details Value

Description

Add sunrise, sunset, and solarnoon to a dataframe of location data

Usage

1
AddSolarTimes(df, id, tz)

Arguments

df

Dataframe

by

Column name to use to split, analyze, and merge data. Default is "id".

tz

Column name of timezone. Default is "Etc/GMT+5".

Details

Coordinates in "lat" and "long" must be WGS84, sunrise and solarnoon based on first location, sunset based on last location.

Value

Dataframe with sunrise, sunset, and solarnoon times


Blakemassey/gisr documentation built on Aug. 30, 2020, 12:14 a.m.