data.read.phase: Read data from TSV-table

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/data.read.phase.R

Description

This function reads phenological data out of a tsv-table.

Usage

1
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 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

lcObs,bbObs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ##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

phenmod documentation built on May 29, 2017, 11:37 a.m.