checkConsistence: Check a dataset for inconsistencies in Timestamp or...

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

Description

The function will search through the dataset and checks whether the Timestamp is equidistant and the Recordnumber is growing by an increment of 1. Creates an inconsistency.txt when finding any inconsistencies

Usage

1

Arguments

data

Data from the read.logger function .Their has to be one column named "TIMESTAMP" and one called "RECORD"

info

Logical. More Info and inconsistency.txt

Details

This function uses the most frequent distance between TIMESTAMPs. In very short data.frames this could lead to an wrong TIMESTAMP.

Value

logical

Returning TRUE if everything was fine, returning FALSE otherwise.

Console message

If info = TRUE and there is something fishy going on, you'll get a message.

inconsistency.txt

When info = TRUE: every row listed here is damaged. Visiting these directly often gives insight to the type of error.

Note

last update: 2015-02-18 TO DO: getting clean messages and a better formated .txt item !!!

Author(s)

Carsten Vick (carsten.vick@campus.tu-berlin.de)

References

www.klima.tu-berlin.de

See Also

read.logger


ca-vi/Climatology_Package documentation built on May 13, 2019, 10:37 a.m.