eblondel / zen4R

zen4R - R Interface to Zenodo REST API
https://github.com/eblondel/zen4R/wiki
Other
44 stars 14 forks source link

set location of a record #77

Closed bonushenricus closed 2 years ago

bonushenricus commented 2 years ago

thanks for zen4R However, I don't find a way to set the location of a record.

eblondel commented 2 years ago

Thanks @bonushenricus that sounds a new metadata element no supported in the past, I will have a look to it.

eblondel commented 2 years ago

@bonushenricus Just added two methods addLocation (with args place - required; description, lat and lon) and removeLocation (with place argument) to encode the locations metadata in a ZenodoRecord. This said, i've tried to look for the locations field in the web Zenodo infra (both prod and sandbox), and I don't see this new field, although it's described in the Zenodo API documentation. I would recommend to contact Zenodo support team to ask if this is actually supported by Zenodo.