read_asc2: Read time series data from .asc file format

Description Usage Arguments Value See Also

Description

Reads the .asc structured time series data output generated by 'AquaZIS' and creates an xts-object.

Usage

1
2
read_asc2(file, attributes = 16, na.strings = "RWLuecke", header = F,
  sep = "", dec = ".", verbose = FALSE, ...)

Arguments

file

The file to be read.

attributes

How many attibutes are provided?

na.strings

a character vector of strings which are to be interpreted as NA values. Blank fields are also considered to be missing values in logical, integer, numeric and complex fields.

header

a logical value indicating whether the file contains the names of the variables as its first line. If missing, the value is determined from the file format: header is set to TRUE if and only if the first row contains one fewer field than the number of columns.

sep

the field separator character. Values on each line of the file are separated by this character. If sep = "" (the default for read.table) the separator is 'white space', that is one or more spaces, tabs, newlines or carriage returns.

dec

the character used in the file for decimal points.

verbose

logical. Provide additional details?

...

Further arguments to be passed to read.table.

Value

An xts-object.

See Also

xts.


dleutnant/tsconvert documentation built on May 15, 2019, 9:17 a.m.