Skip to contents

Rearrange transects / cross sections in order from upstream to downstream

Usage

cs_arrange(x, crosswalk_id = NULL, order_by = c("cs_id", "cs_measure"))

Arguments

x

dataframe, sf dataframe or tibble

crosswalk_id

character, unique ID column

order_by

character, either "cs_id" or "cs_measure"

Value

dataframe, sf dataframe or tibble with an added 'cs_id' column