You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the EML distributed online URL location with the figshare link
Update EML link of csv and other data files to their download URLs from figshare
package EML and all data files (CSV, images, code, etc) as figshare file object. (Will mean using fs_create to establish the figshare link metadata first. Files will need to be uploaded to get their URLs, then the EML file will need to be modified with those URLs.)
EML keywordLists for both the figshare tags and figshare categories (with categories reflecting figshare limited thesaurus).
Likewise figshare metadata should all come from the EML file.
The text was updated successfully, but these errors were encountered:
Generate the EML first with eml_write. Then call eml_publish("file.eml", destination="figshare") to publish.
This approach would rely on the EML file to generate the minimal metadata required by figshare, along with any additional metadata we choose to supply.
This would create a problem for cases where the EML file (perhaps not generated by REML) did contain enough metadata for figshare publication (e.g. figshare category). I suppose we could warn in those cases, or include an argument where the user could provide a category, etc.
Option 2
Call eml_publish directly with data and metadata, avoiding the need to call eml_write explicitly (in this version, eml_publish would obviously call eml_write. In some ways this is easier to write, since the eml_publish just takes a list of all the arguments to fs_new_article (or the components thereof), along with all the arguments to eml_write (to which it could also append the figshare metadata).
The down-side of this approach is that the function call itself may be a bit more clumsy.
Both?
We might want to support both options, but providing a clean and intuitive API (function call) becomes tricky...
Additional strategies and things to look out for
Want to avoid re-writing metadata to the EML that already exists there.
Default settings probably want to include support for some figshare metadata, such as preferred category.
Maybe an id=figshare metadata node (with EML keywordList, etc) should be added? Would be the easiest way
Involves several steps:
fs_create
to establish the figshare link metadata first. Files will need to be uploaded to get their URLs, then the EML file will need to be modified with those URLs.)The text was updated successfully, but these errors were encountered: