osulp / Easydeposit2

Automate journal article deposit for open access
4 stars 0 forks source link

Crosswalk WoS record to SA article #58

Closed zhang4952 closed 6 years ago

zhang4952 commented 6 years ago

Based on the crosswalk: https://docs.google.com/spreadsheets/d/1hNxlQ1_NUScxEArcD5HswRXH0H_l14pbx0YhlYQjNWw/edit#gid=1674691243, create a method

  1. save WoS record elements to SA article fields
  2. the return is a hash
revgum commented 6 years ago

WebOfScience::Record should have some configuration (CONST?) to handle the mapping and labels for each field.. something along the lines of:

FIELDS = {
  authors: {
    label: 'Authors',
    field: 'authors',
    repository: 'creators'
  },
  ...
}
revgum commented 6 years ago

fixed in #96