getAupusData: Get AUPUS Data

Description Usage Arguments Value

Description

This function extracts the AUPUS data from the data base.

Usage

1
getAupusData(aupusParam, database = c("new", "old"), conn)

Arguments

aupusParam

A list of running parameters to be used in pulling the data. Typically, this is generated from getAupusParameter (see that function for a description of the required elements).

database

Whether to use the new or the old statistical working system.

conn

The RJDBS connection to the old working system, only required if database = "old".

Value

A data.table object containing the AUPUS data. The first three columns contain the dimensions (geographicAreaFS, measuredItemFS, and timePointYears) and the remaining columns are values and flags for each of the elements required by AUPUS.


SWS-Methodology/faoswsAupus documentation built on May 9, 2019, 11:45 a.m.