R/stream_network_relations.R
create_stream_network_observation.RdCreates one time-specific Stream Network Observation row. Conditional requirements distinguish current producer output from qualified legacy evidence without inventing missing provenance.
create_stream_network_observation(
stream_network_observation_id,
stream_network_configuration_id,
observation_year,
observation_month = NA_integer_,
observation_day = NA_integer_,
evidence_class,
coverage_status,
source_terrain_id = NA_character_,
source_terrain_label = NA_character_,
source_terrain_fingerprint = NA_character_,
derivation_method_id,
method_version = NA_character_,
threshold_value = NA_real_,
threshold_unit = NA_character_,
topology_tolerance,
topology_tolerance_unit,
native_horizontal_crs,
native_vertical_datum = NA_character_,
horizontal_unit,
vertical_unit = NA_character_,
cell_size = NA_real_,
provenance_completeness,
actor,
created_at = Sys.time()
)Immutable observation UUID.
Governing configuration UUID.
Four-digit evidence year.
Optional month.
Optional day; requires a month.
Controlled evidence class.
Controlled coverage status.
Optional governed terrain UUID.
Optional review label.
Optional 64-character hexadecimal hash.
Stable scientific method identifier.
Method version; required for complete provenance.
Optional positive initiation threshold.
Unit paired with `threshold_value`.
Positive topology tolerance.
Horizontal unit for the tolerance.
Source horizontal CRS identifier.
Optional vertical datum identifier.
Source horizontal unit.
Unit paired with `native_vertical_datum`.
Optional positive terrain cell size; required for direct terrain derivation.
Controlled provenance-completeness code.
Stable actor or process identifier.
Creation date-time; converted to UTC.
A one-row `stream_network_observation` tibble.