Closed cole-brokamp closed 8 months ago
purrr::map2(
as.Date(x$start_date), as.Date(x$end_date),
\(.s, .e) seq(from = .s, to = .e, by = 1)
)
as an example of how to convert tibble with start dates and end dates for each s2 cell location
this is included in readme.rmd example for now. maybe more detailed vignette on example geomarker covariates? e.g., temp, precip, humidity
Start from addresses? or from lat/lon?
Randomly choose dates? Or show example of start_date and end_date being used to make a daily time series? (or do this as an s3 object)
Show conversion to s2 cells and how to use tibble to add new geomarker column or columns
Show how to extract columns from geomarker functions that return tibbles
Show how to nest / unnest dates to get tabular data for further use