buildEdges: Build Edges

Description Usage Arguments Value

Description

Function to merge shares and extraction rate and build the relation graph.

Usage

1
buildEdges(dataList, aupusParam)

Arguments

dataList

A list of AUPUS datasets to be analyzed, typically as produced by the function getAupusDataset. For more details on this argument, please see ?getAupusDataset.

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).

Value

A data.table object with the same keys as dataList$inputData (typically geographicAreaFS, measuredItemParentFS, measuredItmChildFS, and timePointYearsSP). Additional columns are Value_share (shares as specified in dataList$shareData), Value_extraction (extraction rates as specified in dataList$extractionRateData), and Value_input, flagFaostat_input (as specified in dataList$inputData).


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