This function is for formatting purposes. It simply inserts the doi or id that the user wishes to query into Solr format so that it is compatible with the dataoneR query functionality in the PEcAn function

format_identifier(id)

Arguments

id

the doi or other identifier linked to the package in DataONE

Value

returns the id in the proper format for querying the DataONE Federation (using solrQuery syntax)