DOI-USGS / meddle

Tools for metadata creation and data releases
Other
0 stars 10 forks source link

Possibility to write spatial metadata to a file instead of return object #65

Open jordansread opened 3 years ago

jordansread commented 3 years ago

see discussion here https://github.com/USGS-R/mntoha-data-release/pull/24#issuecomment-759698108

simple solution would be to add a fileout arg to meddle::extract_feature(), but it seems like that arg should go first, not last, which probably creates a pile-up of code breaking if we change that. Easier to make that arg last...which I guess does actually match with the pattern in meddle::write_attr_file(), which has file appearing last.

jordansread commented 3 years ago

Idea with ☝️ is that file or fileout being NULL means you just return the object, as normal.