Releases: NCEAS/arcticdatautils
v0.5.9
v0.5.8
v0.5.7
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
v0.5.5
NEW
publish_update
no longer automatically adds EMLotherEntity
elements to your metadata because this is overall not desirable. You now have to add those sections before runningpublish_update
- You can now create EML
physical
elements withsysmeta_to_eml_physical
. This may be useful to you when you are hand-editing EML to add entity/attribute information.
v0.5.4
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 metadataObject
you're updating has custom-editedotherEntity
elements (like if you added attribute info),publish_update
will no longer remove your edits - If you are running
publish_update
and theResource 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
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
toFALSE
where they were previously setting it to the default, which wasTRUE
.
REMOVED
- Nothing
v0.5.2
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 itspublic
argument. If you setpublic=FALSE
, the metadata and resource map in the updated package will not be public. Note that data objects are unaffected whenpublic=FALSE
NEW
- You can now set a custom PID and even a SID in calls to
update_object
publish_update
no warns when you setuse_doi=TRUE
andpublic=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
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
Biggest changes here:
get_package
should now return results more similar to what MetacatUI showseml_creator
andeml_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
andeml_contact
now support adding more information than beforeget_all_versions
no longer pretty-prints its output and, instead, returns a vector of the pids in order ofdateUploaded
- You can now skip adding EML
otherEntity
sections to your package inpublish_update
via theskip_other_entities
argument
NEW
is_obsolete
: Checks whether an object has been obsoleted by another objectis_authorized
: Checks whether an action can be performed by a user on an object. This was written because, at the time of its creation, thedataone
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 ofget_package
FIXED
- The error you got during calls to
publish_update
about data objects not having theirfileName
properties set should now be much more helpful!