Releases: nationalparkservice/EMLeditor
Hidden Meadow
What's Changed
- bugfix for set_doi() by @RobLBaker in #130
- bugfix: deprecation message in set_cui by @RobLBaker in #132
- Fix documentation/typo in set_int_rights documentation for EML Script Creation by @RobLBaker in #134
- Update datastore_interactions.R by @James-R-Brown in #135
- add new function set_new_creator by @RobLBaker in #143
- unit tests for set_new_creators by @RobLBaker in #145
- update .get_park_polygon API by @RobLBaker in #146
- update API from v6 to v7 by @RobLBaker in #148
- add set_project function by @RobLBaker in #150
- add missing comma to remotes by @RobLBaker in #151
- fix unit test data file path by @RobLBaker in #152
- Add id=DataStore_project to projects with DataStore Project URLs by @RobLBaker in #155
- add the function set_project, updates to set_int_rights, update from Rest API v6 to v7 by @RobLBaker in #156
Full Changelog: v0.1.5...v0.1.6
Little Bighorn
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
This version adds the ability to detach files from a DataStore Reference
Single Pen
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
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
- fix set_int_rights bug by @RobLBaker in #85
- repull for repulls sake by @RobLBaker in #86
- add park_units parameter to set_creator_orgs by @RobLBaker in #88
- repul: closes #88 by @RobLBaker in #89
- fix logic statement error by @RobLBaker in #90
- fix typos in EML creation script by @RobLBaker in #92
- fix how set_creator_orcids handles orcids: store url prefix and orcid number by @RobLBaker in #94
- add functions: set methods and addtional_info by @RobLBaker in #98
- bug fixes by @RobLBaker in #100
- hopefully close out a bunch of issues? by @RobLBaker in #102
- merge in lurking unmerged mergers by @RobLBaker in #103
- DataStore v6 dev by @RobLBaker in #105
Full Changelog: v0.1.0.7...v0.1.1
"Clingmans Dome"
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
- minor tweaks to set_datastore_doi by @RobLBaker in #77
- address missing surName issue by @RobLBaker in #79
- add function set_creator_orcids by @RobLBaker in #80
- New version: 0.1.07: Allow edits to creators by @RobLBaker in #83
Full Changelog: v0.1.0.6...v0.1.0.7
Double Arch
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()
, andset_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()
andset_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
- Fixes major bug in
set_doi()
andset_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 toset_doi()
orset_datastore_doi()
if DOI doesn't exist
Hall of Mosses
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
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"