Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default.yaml #44

Closed
mdoering opened this issue Feb 4, 2021 · 2 comments
Closed

Add default.yaml #44

mdoering opened this issue Feb 4, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@mdoering
Copy link
Member

mdoering commented Feb 4, 2021

Allow an optional default.yaml file to provide default values for all terms. This needs to be a map of entities with a list of terms. If the term is defined in the actual data default values will only apply in case the value is null. E.g. it can be used to have a default extinct value, but override it for exceptional records.

E.g to declare the same kingdom, nomenklatural code or vernacular name language without the need to add a column to data files with the same value all over. Similar to meta.xml in dwca

@mdoering mdoering added this to the Verison 2 milestone Apr 19, 2021
@mdoering mdoering added the enhancement New feature or request label Mar 10, 2022
@mdoering
Copy link
Member Author

mdoering commented Jun 21, 2023

Example default.yaml file:

Name:
  code: zoological
Taxon:
  extinct: false
  environment: marine

@mdoering mdoering changed the title Add defaults.yaml Add default.yaml Jun 21, 2023
mdoering added a commit to CatalogueOfLife/backend that referenced this issue Jun 21, 2023
@mdoering
Copy link
Member Author

@dhobern @gdower @camiplata @thomasstjerne I have implemented this proposal already in ChecklistBank. Might be useful for some of your ColDP archives.

@mdoering mdoering modified the milestones: Verison 2, Version 1.1 Sep 7, 2023
@mdoering mdoering closed this as completed Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant