Skip to contents

Retrieve the default replacement value for missing (NA) values of a specific column from data_specification.

Usage

find_no_na_value(what, column)

Arguments

what

Character string, the name of the table or element in floodam.cba::data_specification[["no_na"]].

column

Character string, the name of the column.

Value

The default replacement value defined for the pair (what, column), or NULL if no rule is specified.

Details

Queries the "no_na" component of data_specification for the specified table what and column to get the default replacement value (e.g., +Inf for step_duration).

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org