subset_network: Subset the upstream protion of a network

View source: R/network_subsetting.R

subset_networkR Documentation

Subset the upstream protion of a network

Description

Subset the upstream protion of a network

Usage

subset_network(
  gpkg,
  origin,
  flowpath_edgelist = "flowpath_edge_list",
  flowpath_name = "aggregate_flowpaths",
  catchment_name = "aggregate_divides",
  mainstem = FALSE,
  attribute_layers = NULL,
  export_gpkg = NULL,
  overwrite = FALSE,
  verbose = TRUE
)

Arguments

gpkg

path to a hydrofabric

origin

the ID to begin navigation

flowpath_edgelist

layer name of flowpath edgelist in gpkg

flowpath_name

layer name of flowpaths in gpkg

catchment_name

layer name of cathcments in gpkg

mainstem

should only the mainstem flowpath be retruned (default = FALSE)

export_gpkg

a path to write the data to. If NULL a list is returned


NOAA-OWP/hyAggregate documentation built on Aug. 13, 2022, 1:36 p.m.