coordinate_fidelity_audit: Coordinate semantic-fidelity audit

View source: R/048-semantic-validation-0-7.R

coordinate_fidelity_auditR Documentation

Coordinate semantic-fidelity audit

Description

Detects lossless preservation and stable affine coordinate transformations.

Usage

coordinate_fidelity_audit(
  source,
  roundtrip,
  source_x = "x",
  source_y = "y",
  roundtrip_x = source_x,
  roundtrip_y = source_y,
  key = NULL,
  tolerance = 1e-06,
  correlation_floor = 0.999
)

Arguments

source

Original/source representation.

roundtrip

Round-tripped or comparison representation.

source_x

Source horizontal coordinate column.

source_y

Source vertical coordinate column.

roundtrip_x

Round-tripped horizontal coordinate column.

roundtrip_y

Round-tripped vertical coordinate column.

key

Column or columns used to align records.

tolerance

Numerical tolerance used by the comparison.

correlation_floor

Minimum correlation treated as compatible.

Value

An object of class "eye_coordinate_fidelity", stored as a named list, with components "status", "x", "y", "matched_n", "tolerance", "correlation_floor". It contains coordinate semantic-fidelity audit and associated metadata or diagnostics needed to interpret the result.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.