Combines data into a format which can be ingested by the optimization routines. Data is aggregated on an individual_id basis, rather than on the user defined site_id.
pr_fm_npn(
data,
phenophase = 371,
offset = 264,
path = tempdir(),
internal = TRUE
)
an USA-NPN data frame as returned by download_npn()
a phenophase to include as validation statistic
offset of the time series in DOY (default = 264, sept 21)
path where to save the generated data file
return data as structured list to R workspace or write to RDS file (default = TRUE)
if (FALSE) {
npn_data <- pr_fm_npn()
}