Write an empty metadata template to local file
Source:R/metadata-template.R
deposits_metadata_template.Rd
The fields are those defined by the Dublin Core Metadata Initiative (DCMI),
defined at
https://www.dublincore.org/specifications/dublin-core/dcmi-terms/. The
template produced by this function is in json
format which can be manually
edited to provide metadata for a deposit.
See also
Other meta:
dcmi_terms()
,
figshare_categories()
Examples
filename <- tempfile (fileext = ".json")
deposits_metadata_template (filename)
#> Edit the file [/tmp/RtmpI08z46/file830406cfc57.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