Combines CSV data into a format which can be ingested by the optimization routines. The CSV requires columns named: id, lat, lon, phenophase, year, doy

pr_fm_csv(
  file = "your_phenology.csv",
  phenophase,
  offset = 264,
  internal = TRUE,
  path = tempdir()
)

Arguments

file

an CSV file with phenology observation dates

phenophase

a phenophase to include as validation statistic

offset

offset of the time series in DOY (default = 264, sept 21)

internal

return data as structured list to R workspace or write to RDS file (default = TRUE)

path

output directory for converted data

Examples


if (FALSE) {
npn_data <- pr_fm_csv()
}