Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

populate data min/max #4

Open
aappling-usgs opened this issue Nov 2, 2020 · 1 comment
Open

populate data min/max #4

aappling-usgs opened this issue Nov 2, 2020 · 1 comment

Comments

@aappling-usgs
Copy link
Member

Is there an automated way to do this?

@jordansread
Copy link
Member

It sure should be automateable.

meddle::attribute_skeleton is the place where this should happen. It has logic that will keep info in from an existing file and thus not wipe out metadata info, but it doesn't extract the min/max info from the file, just the attr-label and gives you empty fields for filling in the values for the other fields.

I've stopped using this method of populating metadata in favor of putting it into the yaml, but this is a method that may be useful to you if you are ok using tsv or csvs for the metadata. read_attr_file gives you a data.frame that can be merged with new information with merge_attr_table

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants