Complete a QWAmetadata object with all optional fields
Source:R/QWAmetadata.R
complete_QWAmetadata.RdAdds missing optional columns to $images and to any already-present
optional component tables. For absent hierarchical tables ($sites,
$trees, $woodpieces, $slides), pre-fills known values from the
hierarchy in $images (the same logic used by the metadata Shiny app).
For absent flat tables ($dataset, $authors, $funding, $related),
inserts a 0-row skeleton with all schema columns so the user can see the
expected fields.
Arguments
- x
A QWAmetadata object.
Value
A QWAmetadata object with all optional columns and component tables initialized.