rformat_network: Format river network

Description Usage Arguments Value

Description

Format river network, joining data, selecting variables, computing derived variables, etc.

Usage

1
2
3
4
5
6
7
rformat_network(
  in_predvars,
  in_monthlydischarge = NULL,
  inp_riveratlasmeta,
  inp_riveratlas,
  inp_riveratlas2
)

Arguments

in_predvars

data.table of predictor variable codes, names and attributes. See selectformat_predvars.

in_monthlydischarge

optional data.table of long-term mean monthly discharge values (from WaterGAP v2.2) for global river reaches.

inp_riveratlasmeta

path to RiverATLAS attributes metadata table.

inp_riveratlas

path to RiverATLAS (v1.0) attribute table (for the entire global river network).

inp_riveratlas2

path to new attributes calculated for global river network following RiverATLAS methodology

Value

data.table of identifiers and hydro-environmental attribute for all reaches in the RiverATLAS global river


NaiaraLopezRojo/globalIRmap documentation built on Dec. 17, 2021, 5:19 a.m.