Skip to contents

get_point_type_counts() will create a dataframe providing the counts of every point_type for each hy_id/cs_id in a set of classified cross section points (output of classify_pts())

Usage

get_point_type_counts(classified_pts, crosswalk_id = NULL)

Arguments

classified_pts

dataframe or sf dataframe, cross section points with a "hy_id", and "cs_id" columns as well as a 'point_type' column containing the values: "bottom", "left_bank", "right_bank", and "channel"

crosswalk_id

character, ID column

Value

dataframe or sf dataframe with hy_id, cs_id, and <point_type>_count columns for each point_type