Skip to content

Releases: nationalparkservice/EMLeditor

Hidden Meadow

30 Aug 01:09
dcb3861
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.5...v0.1.6

Little Bighorn

02 Apr 18:00
45f31da
Compare
Choose a tag to compare

Refactored all functions that required user input to use a common sub-function that is easily mockr-able for unit testing; added unit tests to almost all functions.

Fix bug in set_creator_orcids(): no longer adds https://orcid.org/NA for creators without an orcid.
Added checks in set_creator_orcids() such that users must specify NA (not "NA") and to check that the length of the orcid list supplied matches the length of the authors in metadata (excluding organizational authors).
Updated set_creator_orcids() documentation to specify that the function can also be used to remove orcids from authors.
Updated the EML creation script to reference set_cui_code() as opposed to the (now deprecated) set_cui().

Fix bug in set_cui_code() that was detecting both CUI code and CUI marking.
Fix bug in set_cui_marking().
Fix bug in set_creator_order().

make write_readme() a non-exported function.

Add function get_cui_code(). Deprecate function get_cui().
Add function get_cui_marking().

Added function set_missing_data() which allows users to add missing data codes and missing data code definitions to metadata.
Added utility functions .get_user_input() and .get_user_input3(). Refactored all set_ class functions to use these sub-functions rather than readlines() to get user input.
Deprecated set_cui() in favor of set_cui_dissem(), which does the exact same thing as set_cui() but the function name has been updated to distinguish the action of the function from the newly added set_cui_code() function.
Updated the publisher contact email in set_npspublisher() from irma@nps.gov to nrss_datastore@nps.gov to reflect DataStore changes in the contact email address.

Mackinac Island

18 Jan 22:36
55bd933
Compare
Choose a tag to compare

This version adds the ability to detach files from a DataStore Reference

Single Pen

07 Nov 20:23
b3c1f3b
Compare
Choose a tag to compare

The major changes to this release are in the documentation and the EML creation script. Several typos and additional documentation were added to the EML creation script. Much of the documentation on generating EML was ported over and updated from the NPS_EML_Script repo. Readme, etc updated.

The datastore interaction functions (set_datastore_doi, upload_data_package) were updated to include the correct DOI prefix when dev = TRUE and were updated to give the correct URL when dev = TRUE.

Big South Fork

05 Sep 19:05
a571af6
Compare
Choose a tag to compare

Summary

Lots of big changes, but update to DataStore API v6 is the biggest one. Previous versions will no longer work with DataStore as they rely on v4/v5 API which has been retired.

What's Changed

Full Changelog: v0.1.0.7...v0.1.1

"Clingmans Dome"

16 Jun 17:42
98e4fd6
Compare
Choose a tag to compare

This update includes improved behavior for set_datastore_doi and improved error messages for get_author_list and get_citation.

It includes the new functions for manipulating the "creator" (author in DataStore) elements of EML:

  • set_creator_orcids()
  • set_creator_ors()
  • set_creator_order()

What's Changed

Full Changelog: v0.1.0.6...v0.1.0.7

Double Arch

19 Apr 21:49
3dde257
Compare
Choose a tag to compare

19 April 2023

  • updated set_content_units() to include the attribute "system = content unit link" as part of the geographicCoverage element for each geographicCoverage element that is also a park content unit link (the old text in the field, "NPS Content Unit Link:" will be retained).

18 April 2023

  • updated set_data_urls(), set_doi(), and set_datastore_doi() to handle cases when there is only one dataTable (as well as multiple data tables).
  • updated set_cui() to handle cases when there is no previus additionalMetadata element in metadata.
  • updated set_cui() and set_int_rights() such that they can accept parameters in any case, not just upper (set_cui()) or lower (set_int_rights()).

13 April 2023

  • added set_data_urls() function to update dataTable urls in metadata to correspond to the DOI in the metadata.
  • updated get_doi() to add a line return to error message.

Congaree Boardwalk Loop

12 Apr 21:37
036c503
Compare
Choose a tag to compare
  • Fixes major bug in set_doi() and set_datastore_doi() which allowed data file urls to become out of sync with the data store reference
  • Adds .RMD template for EML creation workflow to Rstudio
  • Adds upload_data_package() functionality with maximum file size increased to 32Mb
  • Adds tryCatch to .get_park_polygon() to improve error handling for invalid park codes
  • bug fix in set_content_units
  • Improved set_content_units() error handling to specifically test for invalid park codes
  • Updated get_doi() to point user to set_doi() or set_datastore_doi() if DOI doesn't exist

Hall of Mosses

21 Mar 15:45
28e5778
Compare
Choose a tag to compare

v0.1.0.3 introduces set_datastore_doi() a function that can initiate a draft reference on DataStore and add the appropriate DOI to EML metadata.

Devils Tower

10 Feb 16:17
a302d9b
Compare
Choose a tag to compare

Summary
Bug fixes, update set_cui() codes, flesh out set_int_rights. Update documentation.

Major changes

  • replaced PUBVER and PUBFUL codes with PUBLIC in set_cui().
  • removed NPSONLY code from set_cui().
  • major bug fixes to set_content_units().
  • updated set_int_rights() to also populate licenseName field.

Minor changes

  • fixed minor typos in documentation
  • moved set_int_rights() from "additional functions" to "minimal workflow"