fun_read_units:

Usage Arguments Examples

View source: R/sndet_read_data_metadata.R View source: R/fhs_read_data_metadata.R View source: R/esqc_Read_data_metadata.R

Usage

1
fun_read_units(PATH, FILE)

Arguments

PATH
FILE

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (PATH, FILE) 
{
    data = read.csv(paste(PATH, FILE, sep = ""), stringsAsFactors = F)
    units = data[c(1, 2), ]
    df = rbind(colnames(units), units)
    return(df)
  }

EURAC-Ecohydro/SnowSeasonAnalysis documentation built on Dec. 6, 2020, 2:05 a.m.