pr_fm_csv: Formatting of CSV based data

View source: R/pr_fm_csv.R

pr_fm_csvR Documentation

Formatting of CSV based data

Description

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

Usage

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


## Not run: 
npn_data <- pr_fm_csv()

## End(Not run)

khufkens/phenor documentation built on Aug. 31, 2023, 1:24 a.m.