Prepare Lunar Data for the Portalcasting Repository
Source:R/prepare_newmoons.R
prepare-newmoons.Rd
Get time information (calendar dates, census periods, and newmoon numbers) associated with trapping events (achieved and missed) based on a lunar survey schedule. add_forecast_newmoons
adds future newmoon dates to the newmoon table from prepare_newmoons
associated with the forecast.
Value
Some version of a newmoons data.frame
. prepare_newmoons
: fully appended and formatted data.frame
(also saved out if settings$save = TRUE
). add_forecast_newmoons
: fully appended and formatted data.frame
.
See also
Content preparation functions:
directory filling
,
prepare covariates
,
prepare metadata
,
prepare models
,
prepare rodents
Examples
if (FALSE) { # \dontrun{
main1 <- file.path(tempdir(), "newmoons")
create_dir(main = main1)
fill_resources(main = main1)
fill_forecasts(main = main1)
fill_fits(main = main1)
fill_models(main = main1)
prepare_newmoons(main = main1)
unlink(main1, recursive = TRUE)
} # }