Access functions

High-level utility functions for getting and setting access rules for DataONE objects

set_rights_holder()

Set the rights holder for an object

set_access()

Set the access policy for an object

remove_access()

Remove a subject from an object's access policy

set_rights_and_access()

Set rights holder with access policy for an object

set_public_read()

Set public read access for an object

remove_public_read()

Remove public read access for an object

is_public_read()

Check whether an object has public read access

NetCDF Functions

Get a data.frame of attributes from a NetCDF object

get_ncdf4_attributes()

Get a data.frame of attributes from a NetCDF object

Sysmeta Function

Utility function for modifying System Metadata objects

get_all_sysmeta()

Get system metadata for all elements of a data package

Package editing functions

Functions for managing package contents

publish_object()

Publish an object on a Member Node

update_object()

Update an object with a new file

publish_update()

Publish an updated data package

create_resource_map()

Create a resource map object on a Member Node

update_resource_map()

Update an existing resource map object on a Member Node

set_file_name()

Set the file name for an object

reformat_file_name()

Helper for publish_object. Reformat the filName in system metadata.

Functions to help test a package

Various helper functions for things like testing a package

create_dummy_attributes_dataframe()

Create test attributes data.frame

create_dummy_enumeratedDomain_dataframe()

Create test enumeratedDomain data.frame

create_dummy_metadata()

Create a test metadata object

create_dummy_object()

Create a test object

create_dummy_package()

Create a test package

create_dummy_package_full()

Create dummy package with fuller metadata

create_dummy_parent_package()

Create a test parent package

create_resource_map()

Create a resource map object on a Member Node

get_orcid_name()

Retrieve a name from an ORCID URL

get_orcid_email()

Retrieve an email address from an ORCID URL

EML Functions

Helper functions for creating EML metadata

pid_to_eml_entity()

Create EML entity with physical section from any DataONE PID

pid_to_eml_physical()

Create EML physical objects for the given set of PIDs

eml_get_raster_metadata()

Get raster info from a file on disk

eml_nsf_to_project()

Create an EML project section from a list of NSF award numbers

eml_otherEntity_to_dataTable()

Convert otherEntities to dataTables

eml_set_reference()

Set a reference to an EML object

eml_set_shared_attributes()

Set shared attribute references

which_in_eml()

Search through EMLs

reorder_pids()

Reorder a named list of objects according to the order in the metadata

Environment Functions

Function related to loading configuriation based upon the environment

env_get()

Get the current environment name

Format Functions

Functions related to data object formats

guess_format_id()

Guess format from filename

format_eml()

Generate the EML 2.1.1 format ID

format_iso()

Generate the ISO 19139 format ID

convert_iso_to_eml()

Convert an ISO document to EML using an XSLT

QA Function

Function related to metadata quality

mdq_run()

Score a metadata document against a MetaDIG suite