## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
if (FALSE) {
loc <- data.frame(id = "001", lon = -78.90, lat = 35.97)
calculate_temporal_dummies(
locs = loc,
locs_id = "id",
year = seq(2018L, 2022L)
)
}
Run the code above in your browser using DataLab