sunrise_sunset: Function to calculate sunrise and sunset times at a...

View source: R/sunrise_sunset.R

sunrise_sunsetR Documentation

Function to calculate sunrise and sunset times at a particular location

Description

Function to calculate sunrise and sunset times at a particular location

Usage

sunrise_sunset(date, latitude, longitude)

Arguments

latitude

Latitude of location

longitude

Longitude of location

Value

Tibble.

Author(s)

Shona Wilde

See Also

sunriset, gissr::calculate_sunrise

Examples

# append to data frame
df %>% 
  mutate(sunrise_sunset(date, 54.20092, -0.81852))


shonawilde/shonarrr documentation built on Jan. 29, 2025, 1:27 a.m.