R/record_study_analysis_reference.R
record_study_analysis_reference.RdRecords or explicitly revises one project-wide analysis choice, not a source declaration, executed transformation, or approval. Values are descriptive text, not validated CRS definitions or unit-conversion instructions. Prior context files, other components, terrain and manifest assertions are preserved.
record_study_analysis_reference(
dsn,
output_file,
component,
value,
basis,
evidence,
analyst,
report_file = NULL,
report_purpose = "definition"
)Existing saved Study Area context GeoPackage.
New context .gpkg beside dsn.
One of horizontal, vertical, elevation_unit.
Nonempty description of the choice. State exceptions/limitations in evidence; a project-wide record does not certify every event or DEM.
PROJECT_RECORD, OWNER_RECOLLECTION, or PROPOSED. A proposal is not an established choice; corroboration is not inferred from saving.
Nonempty source, rationale and qualifications for this choice.
Nonempty recorder attribution, not an approval signature.
Optional new HTML report. Saved choices are visible without opting in to fresh terrain-file inspection.
definition (default), terrain, or staging.
List with context and report paths. Schema-1 inputs remain readable; contexts containing choices use FLUVGEO_STUDY_CONTEXT_2. New-file publication preserves the source. A later report failure retains the new context for inspection and retry. No in-file revision ledger or cryptographic signature is created; retain prior snapshots. No missing choice is inferred.