
Read OSF metadata that was saved alongside a downloaded folder
Source:R/archive-zenodo-upload.R
dot-zenodo_meta_from_folder.Rdosf_file_download(metadata = TRUE) writes _osf_metadata/metadata.json
into each project folder. Reading it back means a folder can be uploaded
with its real title, description, tags, licence and contributors without
asking the OSF again – and still works for a project that has since been
deleted there, which is the reason for archiving it in the first place.
Value
a metadata list in the same shape .osf_zenodo_metadata() returns,
or NULL when the folder has no such file