CatalogConvention: 'vetools' Catalog Convention White Sheet (Revision 3)

Description Author(s) See Also Examples

Description

This white sheet describes the Catalog Convention of vetools package.

Catalog Convention White Sheet (Revision 3)
The purpose of this convention is to standarize the data structure used to store the environmental data and associated meta-data. All data-sets provided and processed by the vetools package that follow this convention are of class "Catalog" and are referred as "Collection"s. Each collection provides the following structure of class list:

This pair of lists ("catalog" and "data") form the collection. The two (or more) items are always of class "list" and are in direct correspondence, i.e. item n of the "catalog" corresponds to the measured variable item n in "data".

For example, suppose collection is a collection of 30 stations, then collection$catalog[[4]] element describes the measurement of collection$data[[4]].

Functions
Functions provided to read data sources are

read.HIDROX

imports Argus 1.0 data source files

read.MARN

imports M.A.R.N. files

read.MINAMB

imports EDELCA source files

These functions all return a list class "Catalog". Generally are parsed as follows:

1
2
3
4
5
6
file = system.file('tests/test-HIDROX.csv',package='vetools')
collection <- read.HIDROX(file)
names(collection$catalog[[1]])
summary(collection)
print(collection)
plot(collection)

Author(s)

A.M. Sajo Castelli

See Also

vetools, summary.Catalog, read.HIDROX, read.MARN, read.MINAMB.

Examples

1
2
3
4
5
6
7
8
9
## Not run: # This collection has only one station
Collection <- read.MARN(system.file("tests/test-MARN.dat", package="vetools"))
summary(Collection)
plot(Collection$data)
# This collection has many stations
Collection.H <- read.HIDROX(system.file("tests/test-HIDROX.csv", package="vetools"))
summary(Collection.H)
plot(Collection.H$data[[4]])
## End(Not run)

vetools documentation built on May 2, 2019, 10:15 a.m.