Skip to content

Commit

Permalink
Merge pull request #1398 from kelockhart/json-pubtypes
Browse files Browse the repository at this point in the history
Updated worktypes for JSON
  • Loading branch information
thostetler authored Mar 6, 2018
2 parents dea4bfd + 9f9c2cd commit 163451d
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/js/modules/orcid/work.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,30 +228,30 @@ define([
var work = {};
var worktype = function(adsType) {
var oType = {
article: 'JOURNAL-ARTICLE',
inproceedings: 'CONFERENCE-PAPER',
abstract: 'CONFERENCE-ABSTRACT',
eprint: 'WORKING-PAPER',
article: 'JOURNAL_ARTICLE',
inproceedings: 'CONFERENCE_PAPER',
abstract: 'CONFERENCE_ABSTRACT',
eprint: 'WORKING_PAPER',
phdthesis: 'DISSERTATION',
techreport: 'RESEARCH-TECHNIQUE',
inbook: 'BOOK-CHAPTER',
circular: 'RESEARCH-TOOL',
techreport: 'RESEARCH_TECHNIQUE',
inbook: 'BOOK_CHAPTER',
circular: 'RESEARCH_TOOL',
misc: 'OTHER',
book: 'BOOK',
proceedings: 'BOOK',
bookreview: 'BOOK-REVIEW',
erratum: 'JOURNAL-ARTICLE',
bookreview: 'BOOK_REVIEW',
erratum: 'JOURNAL_ARTICLE',
proposal: 'OTHER',
newsletter: 'NEWSLETTER-ARTICLE',
catalog: 'DATA-SET',
intechreport: 'RESEARCH-TECHNIQUE',
newsletter: 'NEWSLETTER_ARTICLE',
catalog: 'DATA_SET',
intechreport: 'RESEARCH_TECHNIQUE',
mastersthesis: 'DISSERTATION',
obituary: 'OTHER',
pressrelease: 'OTHER',
software: 'RESEARCH-TECHNIQUE',
talk: 'LECTURE-SPEECH'
software: 'RESEARCH_TECHNIQUE',
talk: 'LECTURE_SPEECH'
};
return oType[adsType] || 'JOURNAL-ARTICLE';
return oType[adsType] || 'JOURNAL_ARTICLE';
};
try {

Expand Down

0 comments on commit 163451d

Please sign in to comment.