Get NHD Crosswalk

get_nhd_crosswalk(
  x,
  catchment_prefix = "catchment_",
  network_order = NULL,
  sites = data.frame(local_id = character(0), site_no = character(0))
)

Arguments

x

sf data.frame output from reconcile_collapsed_flowlines() function

catchment_prefix

character prefix to be appended to local_id output.

network_order

data.frame COMID and Hydroseq attributes allowing upstream downstream sorting.

sites

data.frame local_id and site_no for sites that should be added to the output list. Only used if network_order is not NULL

Value

If network_order is supplied, a list format is returned, if network_order is NULL, a basic crosswalk table is returned.