Skip to content

Releases: NCEAS/arcticdatautils

v0.5.9

03 Mar 02:46
Compare
Choose a tag to compare

This release adds new helper functions.

NEW

  • New helper function, set_abstract, for setting an abstract on the EML document easily
  • New helper function, eml_validate_attributes for validating an attributeList

v0.5.8

24 Feb 20:28
Compare
Choose a tag to compare

This is a minor bug-fix release.

FIXED

  • The return value of get_ncdf4_attributes now includes the NetCDF variable name in the column attributeName for easy use in EML

v0.5.7

14 Feb 19:19
Compare
Choose a tag to compare

This release includes a few new EML helpers and a new function called profile() which simulates the #profile page.

NEW

  • New function profile() that simulates what you'll see on the #profile page in MetacatUI
  • New EML helper associatedParty to help in generating the ELM for associated parites
  • New EML helper metadataProvider to help in generating the EML for metadata providers
  • New EML helper get_ncdf4_attributes to help in generating attribute lists from NetCDF files

FIXED

  • Minor documentation issues

REMOVED

  • Nothing

v0.5.6

27 Jan 23:24
Compare
Choose a tag to compare

This is an important update that fixes a bug in the generation of EML otherEntity elements.

FIXED

  • Fixed a breaking bug in the set_other_entities and related functions.

v0.5.5

27 Jan 01:15
Compare
Choose a tag to compare

NEW

  • publish_update no longer automatically adds EML otherEntity elements to your metadata because this is overall not desirable. You now have to add those sections before running publish_update
  • You can now create EML physical elements with sysmeta_to_eml_physical. This may be useful to you when you are hand-editing EML to add entity/attribute information.

v0.5.4

06 Jan 20:12
Compare
Choose a tag to compare

This is a minor release but is a recommended updated for all users as it addresses two workflows you may have.

NEW

  • If you are running publish_update and the metadata Object you're updating has custom-edited otherEntity elements (like if you added attribute info), publish_update will no longer remove your edits
  • If you are running publish_update and the Resource Map contains triples unrelated to packaging (such as PROV triples), they will be retained.

FIXED

  • Lots of minor tweaks to messages and other less important stuff

v0.5.3

09 Nov 19:43
Compare
Choose a tag to compare

This is critical update to address a bug in sending the right authentication token along with DataONE API calls. Recommneded for alll users.

NEW

  • Numerous functions now work against CNs instead of just MNs

FIXED

  • Tokens are now properly set based upon what environment the node you're communicating with is registered in. Before this, we were working around
  • The various update/create calls now set replicationAllowed to FALSE where they were previously setting it to the default, which was TRUE.

REMOVED

  • Nothing

v0.5.2

27 Oct 19:04
Compare
Choose a tag to compare

This is a bug fix update with a few features on the side and is a recommended update for all users. The main bug fixed relates to how publish_update handles its public argument. See below for more details.

FIXED

  • publish_update now correctly honors its public argument. If you set public=FALSE, the metadata and resource map in the updated package will not be public. Note that data objects are unaffected when public=FALSE

NEW

  • You can now set a custom PID and even a SID in calls to update_object
  • publish_update no warns when you set use_doi=TRUE and public=FALSE
  • A number of functions can now take a CNode as their first argument, as an alternative to an MNode

REMOVED

  • Nothing

v0.5.1

10 Oct 20:23
Compare
Choose a tag to compare

This release fixes a critical bug that affects all operations that create or update objects. This is a recommended update for all users.

FIXED

  • Fixed a bug where checksums were being calculated for files used in create and update calls where checksums were incorrectly calculated from the in-memory representation of the file rather than the contents of the file on disk

v0.5.0

14 Sep 22:11
Compare
Choose a tag to compare

Biggest changes here:

  • get_package should now return results more similar to what MetacatUI shows
  • eml_creator and eml_contact can now do more, see below

CHANGED

  • get_package now has an optional argument, file_names which returns the file names for the objects in the package
  • You can now pass a metadata PID or a resource map PID to get_package. Previously you could only pass it a metadata PID
  • eml_creator and eml_contact now support adding more information than before
  • get_all_versions no longer pretty-prints its output and, instead, returns a vector of the pids in order of dateUploaded
  • You can now skip adding EML otherEntity sections to your package in publish_update via the skip_other_entities argument

NEW

  • is_obsolete: Checks whether an object has been obsoleted by another object
  • is_authorized: Checks whether an action can be performed by a user on an object. This was written because, at the time of its creation, the dataone R package didn't support this DataONE API method on Members Nodes. This function should be deprecated in the future.

REMOVED

  • get_related_pids has been removed in favor of get_package

FIXED

  • The error you got during calls to publish_update about data objects not having their fileName properties set should now be much more helpful!