get.AIMS.data: Loads AIMS dataset associated with a particular AIMS graph

View source: R/get.AIMS.data.R

get.AIMS.dataR Documentation

Loads AIMS dataset associated with a particular AIMS graph

Description

The function creates a list of associated dataframes for particular AIMS graph objects. Currently these include one of more of $coords $arc.length $node.pa.

Usage

get.AIMS.data(graph = "mur_full", supress.message = FALSE)

Arguments

graph

A character string defining one of the AIMS graphs codified in streamDAGs.

supress.message

Logical. Supress message detailing objects created by function.

Details

The function radically simplifies code gymnastics required to obtain datasets associated AIMS graphs (see, for instance, Detaails in streamDAGs).

Value

Returns a list containg up to three dataframes:

coords

Spatial coordinates and other information from AIMS.node.coords.

arc.length

Lengths of network, generally in km.

node.pa

Presence(1)/absence(0) of surface water at the node.

Author(s)

Ken Aho

See Also

streamDAGs

Examples

jd <- get.AIMS.data("jd_full", TRUE)
head(jd$coords)
head(jd$arc.length)
head(jd$node.pa)

streamDAG documentation built on April 4, 2025, 12:28 a.m.