Skip to contents

Calculates a validity score column based on valid_banks and has_relief columns in a set of cross section points

Usage

calc_validity_scores(
  cs_to_validate,
  crosswalk_id = NULL,
  validity_col_name = "validity_score"
)

Arguments

cs_to_validate

dataframe

crosswalk_id

character, ID column

validity_col_name

name of the output validity score column

Value

dataframe with added validity_score column