CASMNodeTablePreparer: A function to create a CASM node location table given an REC...

Description Usage Arguments Value Author(s)

View source: R/CASM_PrePostProcessorFunctions.R

Description

This function generates a data frame of CASM Node names, CASM tributary, CASM tributary location

Usage

1
2
3
4
5
6
7
CASMNodeTablePreparer(
  CASMRECNetwork = RECReachNetwork,
  NetworkLabelList = NetworkLabelList,
  TributaryConnectionTable = TributaryConnectionTable,
  CASMNodes = data.frame(NodeName = c("test", "Manawatu at Teachers College"),
    nzsegment = c(7140020, 7239110))
)

Arguments

CASMRECNetwork

An REC V2 network (either dataframe of spatial dataframe), with at least nzsegment, CASMTrib and CASMTrib_Loc attributes

CASMNodes

A dataframe of node names and REC V2 reach number (i.e. nzsegment attribute) of the nodes for which the CASM table is to be prepared

Value

A dataframe of CASM Node names, CASM tributary, CASM tributary location

Author(s)

Tim Kerr, Tim.Kerr@Rainfall.NZ


RainfallNZ/CASMPrePostProcessor documentation built on Oct. 14, 2021, 8:04 a.m.