thomaszwagerman / butterfly

Verification of continually updating timeseries data where we expect new values, but want to ensure previous data remains unchanged.
https://thomaszwagerman.github.io/butterfly/
Other
2 stars 0 forks source link

Data versioning util function #21

Open thomaszwagerman opened 3 weeks ago

thomaszwagerman commented 3 weeks ago

Add in a function similar in behaviour to usethis::use_github_release() to help with semantic versioning of datasets in "releases".

Requires the reading and writing of machine-readable metadata on versioning.

e.g. when changes are detected, would you like to revise dataset + create a new release?

Possible secondary function to plug into Datacite API to attach new DOI, link with old dataset and supercede.

thomaszwagerman commented 3 weeks ago

Possibly implement using dataset package, already formatted datacite metadata generation.

Function to adjust version: https://dataset.dataobservatory.eu/reference/version.html

Also see other relevant items: https://datacite-metadata-schema.readthedocs.io/en/4.5/properties/version/