Write an empty metadata template to local fileSource:
The fields are those defined by the Dublin Core Metadata Initiative (DCMI),
template produced by this function is in
json format which can be manually
edited to provide metadata for a deposit.
Name or full path to local file where template is to be written. This file will be created. If a file of that name already exists, it must first be deleted. The file extension '.json' will be automatically appended.
filename <- tempfile (fileext = ".json") deposits_metadata_template (filename) #> Edit the file [/tmp/RtmpRL4Npj/file40b7ae02844.json] and remove everything except the metadata fields you require. #> The filename may be then passed as the 'metadata' argument to a 'deposits' client. # then edit that file to complete metadata