fLoadTXTIntoDataframe: Load text file with one header and one unit row into data...

View source: R/FileHandling.R

fLoadTXTIntoDataframeR Documentation

Load text file with one header and one unit row into data frame

Description

If gaps with the flag -9999.0 exist, these are set to NA.

Usage

fLoadTXTIntoDataframe(FileName = FileName.s, 
    Dir = if (!missing(Dir.s)) Dir.s else "", 
    FileName.s, Dir.s = "")

Arguments

FileName

File name as a character string

Dir

Directory as a character string

FileName.s

deprecated

Dir.s

deprecated way of specifying Dir

Details

Function fLoadFluxNCIntoDataframe, which loads data from NetCDF-Files, has been moved to add-on package REddyProcNCDF. In addition, fLoadEuroFlux16 loads data from several annual files in format corresponding to Europe-fluxdata 2016.

For using only part of the records, use fFilterAttr to keep units attributes.

Value

Data frame with data from text file.

Author(s)

Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]

See Also

help_export

Examples


examplePath <- getExamplePath('Example_DETha98.txt', TRUE)
EddyData.F <- fLoadTXTIntoDataframe(examplePath)

bgctw/REddyProc documentation built on March 26, 2024, 11:35 p.m.