Skip to content

Latest commit

 

History

History
210 lines (128 loc) · 9.96 KB

NEWS.md

File metadata and controls

210 lines (128 loc) · 9.96 KB

EMLeditor v0.1.2 "Mukooda Trail"

06 October 2023

Updated set_datastore_doi() and upload_data_package() functions to allow them to work with IRMA dev for testing and training purposes. Updated upload_data_package() to prevent file upload if the reference already has files associated with it.

EMLeditor v0.1.1 "Big South Fork"

29 August 2023

Updated all rest API services from v4/v5 to v6. Units services remain at v2.

15 August 2023

  • Fix bugs in get_authors()
  • Fix bugs in get_abstract()

19 July 2023

  • Fix examples in set_creator_orgs()
  • Add function set_methods() allows user to add or replace existing methods sections.
  • Add function get_methods() returns the methods section (as a list)
  • Add function set_additiona_info() allows the user to set or replace existing addtitionalInfo. AdditionalInfo becomes "Notes" on the DataStore landing page.
  • Add function get_additional_info() returns the additionalInfo ("notes") from metadata.

12 July 2023

  • Add global variable bindings
  • Fix how set_creator_orcids handles orcids; now takes a 19-char string as input and saves orcid as a 37-char string with "https://orcid.org/" prefix.

10 July 2023

  • Fixed minor typos in EML creation script.

30 June 2023

  • Added a "park_units" parameter to set_creator_orgs(). This takes a park unit (or list of park units) and uses the IRMA units service to populate the organizationName with the FullName of the park_unit specified. If you specify park_units, you cannot also specify "creator_orgs" - non-park unit organizations must be added as creators using a separate call to set_creator_orgs() (and the creators can subsequently be reorganized using set_creator_order()).

22 June 2023

  • Bug fix for set_int_rights() - previously it only worked if you used set_cui(), exported to .xml and then re-imported to R. Now you can go straight from set_cuio() to set_int_rights().
  • Updated documentation: more information on additional functions available and how to use upload_datapackage() function
  • updated the EML script template: EMLassemblyline::make_eml now does not write a .xml by default but instead defaults to generating an R object that can subsequently be processed via EMLeditor functions.

EMLeditor v0.1.0.7 "Clingmans Dome"

16 June 2023

  • added the function set_creator_order(), which allows users to re-order the creators (authors on DataStore) as well as remove creators.

14 June 2023

  • updates to the EML creation script; the make_eml() function stopped saving an EML object in R and was just writing a .xml to the working directory. Add the the arguments return.obj = TRUE and write.file = FALSE to get it to do the opposite: save an EML object to R for further processing and not write the .xml (so as not to create confusion later on)
  • added the function set_creator_orgs() which allows users to add organizations as creators (authors on DataStore). EMLassemblyline did not appear to support this functionality.

13 June 2023

  • added the function set_creator_orcids() which allows users to add or edit ORCiDs for individuals (not organizations) listed as creators

12 June 2023

  • updated error messages in get_author_list() and get_citation() to be more informative, especially when surName is missing from the creator/individualName

21 April 2023

  • updated set_datastore_doi() so that it does not prompt to use set_datastore_doi() if there is no previous doi. Fixed readline prompt cursor on the wrong line. Now generates draft references with blank fields instead of place-holder strings (except for the title).

EMLeditor v0.1.0.6 "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(), 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.

EMLeditor v0.1.0.5 "Congaree Boardwalk Loop"

12 April 2023

  • set_doi() and set_datastore_doi() will now automatically update the online urls listed in the metadata for each data file to correspond to the new location. Caution: metadata with a DOI generated prior to 12 April 2023 may have incorrect online URLs.
  • Attempt to add .Rmd template to Rstudio

04 April 2023

  • upload_data_package() maximum file size increased to 32Mb (from 4Mb)

24 March 2023

  • Added tryCatch to .get_park_poygon() to improve error handling for invalid park codes.
  • Improved set_content_units() error handling to specifically test for invalid park codes prior to executing & report list of invalid park codes to user.
  • Fixed (yet another) bug in get_content_units().

EMLeditor v0.1.0.4 "Acadia"

21 March 2023

Summary

Added a new function upload_data_package() that will upload data package files to the appropriate draft reference on DataStore. Individual files must be < 4Mb.

Major changes:

  • Added upload_data_package() that will upload data package files to the appropriate draft reference on DataStore. The function is only compatible with .csv data files and requires a single EML metadata file ending in *_metadata.xml to all be present in a single folder/directory. The metadata file must have a DOI specified. upload_data_package() will extract the DOI from metadata and check to see if a corresponding reference exists on DataStore. If the reference exists, the function will upload each file in the data package (including the metadata file).

Minor changes

  • Minor update to get_doi() points; if DOI doesn't exist the function now refers users to both set_doi() and set_datastore_doi().
  • Minor updates to documentation for consistency and grammar.

EMLeditor v0.1.0.3 "Hall of Mosses"

February 24, 2023

Summary

Added a new function, set_datastore_doi() that will initiate a draft reference on DataStore and insert the DOI into metadata

Major changes:

  • Added a new function, set_datasore_doi() that will initiate a draft reference on DataStore and insert the DOI into metadata. It requires that the user be logged on to the VPN and that the metadata has a title for the data package. The function will warn the user if the metadata already contains a DOI and will ask it they really want to generate a new draft reference and new DOI.

Minor changes

  • Updated documentation to reflect the new set_datastore_doi() function.
  • Updated the get_title() and get_doi() functions to get just the data package title and just the data package DOI, respectively. They had been returning multiple titles and dois if the <title> and fields were used multiple times in the metadata.

EMLeditor v0.1.0.2 "Devils Tower"

February 09, 2023

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"

EMLeditor v0.1.0.1 "Whitebark Pine"

January 24, 2023

Summary

Added check_eml() function.

Major changes

check_eml() function is a wrapper that calls DPchecker::run_congruence_checks() with check_metadata-only = TRUE. To run all the metadata-specific tests that will be run during a congruence test.

Minor changes

  • specify ISO 639-2B in set_language()
  • added documentation for check_eml()
  • Changed Non-NPS user section to more apt, "Custom Publisher/Producer"
  • added a "Additional Functions" section in addition to the Minimal Workflow that outlines functions like set_title(), set_abstract() and set_int_rights().
  • moved write_readme() and the new check_eml() to the file check_eml.R.

EMLeditor v0.1.0.0, "Electric Peak"

December 1, 2022

Summary

Added set_int_rights() function.

Major Changes

set_int_rights() allows users to update the intellectual rights text supplied by 3rd party EML generators with one of 3 NPS-specific options. Enforces congruence between CUI and license.


November, 2022

Summary

Updating to v0.1.0.0 "Electric Peak" is recommended for all users in order to take full advantage of metadata/DataStore integration included the most up-to-date locations and specifications for DataStore metadata elements.

Major Changes

  1. The ability to switch "set_" class functions from a verbose (asks user for input, provides feedback) to silent (no feedback, no prompts) to enable scripting.

  2. Inclusion of set_publisher function to customize the publisher and agencyOriginated options for non-NPS users, for NPS partners and contractors.

Enhancements

  1. CUI can now be overwritten as well as written

  2. write_readme dynamically populates publisher information

  3. Renamed functions and parameters to conform to tidyverse style guides

  4. Removed redundant functions (set_doi)

  5. Added ability to set DRR title and DOI

  6. write_readme now defaults to printing to the screen (but can still save to a .txt file)

  7. Update documentation to reflect changes

Bug Fixes

Let's just leave this at "a lot".


EMLeditor 0.0.1.1

  • Added a NEWS.md file to track changes to the package.