data.read.phase {phenmod} | R Documentation |
Read data from TSV-table
Description
This function reads phenological data out of a tsv-table.
Usage
data.read.phase(path, filename)
Arguments
path |
The path of the tsv-file to read. |
filename |
The filename of the tsv-table. |
Details
Reads phenological data out of a tsv-table containing the columns ‘DWD_STAT_ID’ (the ID of the phenological station), ‘STAT_NAME’ (the name of the phenological station), ‘STAT_LON’ (the longitude of the station), ‘STAT_LAT’ (the latitude of the station), ‘STAT_ALT’ (the altitude of the station), ‘BEGIN_OBS’ (the year the station started the observation), ‘END_OBS’ (the year the station stopped the observation), ‘NATURRAUM_ID’ (the id of the region), ‘PHASE_ID’ (the ID of the observed phase), ‘OBS_DAY’ (the julian day the observed phase starts), ‘OBS_YEAR’ (the year at which ‘OBS_DAY’ was observed), ‘CHECKED’ (a value determining wether the result was checked or not), ‘outlier’ (if result was checked, this value determines wether it was an outlier or not). Such a dataset can be obtained at http://www.phenology.de.
Value
Returns the table as R-Dataframe.
Author(s)
Daniel Doktor, Maximilian Lange
References
Dierenbach, J., Badeck, F.W., Schaber, J., 2013. The plant phenological online database (PPODB): an online database for long-term phenological data. International Journal of Biometeorology , 1-8.
See Also
Examples
##read file 'beech_budburst.tsv' out of working directory
## Not run: data.budburst <- data.read.phase(path=getwd(),
filename="beech_budburst.tsv")
## End(Not run)
## resulting data looks like the following:
data(lcObs)
data(bbObs)
lcObs
bbObs