Learn R Programming

phenmod (version 1.2-7)

data.read.phase: 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.

Value

Returns the table as R-Dataframe.

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.

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

lcObs,bbObs

Examples

Run this code
# NOT RUN {
  ##read file 'beech_budburst.tsv' out of working directory
  
# }
# NOT RUN {
data.budburst <- data.read.phase(path=getwd(), 
				filename="beech_budburst.tsv")
# }
# NOT RUN {
  ## resulting data looks like the following:
  data(lcObs)
  data(bbObs)

  lcObs
  bbObs
# }

Run the code above in your browser using DataLab