Skip to content

XX[OLD] Document Types not updated for WOS

Peter Mangiafico edited this page Apr 13, 2018 · 1 revision

Document Types

ScienceWire document types are listed in:

CAP UI document types

New document types and their UI fields:

Here is a word document Grace Baysinger created that shows the kind of ways people create "working papers", "tech reports", "research papers", etc. You will see that Grace bounced all over the place capturing examples of what fields folks use for these kinds of papers. It is a bit of an overwhelming doc! I put this here so you can see the kinds of papers folks will be adding in. Also, folks asked for these examples in order to look at what the label should be for "placeOfPublication". As you can see, it's a "catchall field" and not the same as institution.

sul_pub code

Relevant code searches related to document types:

db/schema.rb

Reviewing the db/schema.rb:

pub_hash[:type]

So long as a document type is provided or assigned in pub_hash[:type], it will be assigned to Publication.publication_type (a String field supporting 255 chars). This field is not yet indexed (see https://github.com/sul-dlss/sul_pub/blob/master/db/schema.rb#L117-L123, as of Mar, 2016).

The pub_hash[:type] field is also used in the PubHash citation code, e.g.

ScienceWireSourceRecord

Additional doc-type code is in the ScienceWireSourceRecord at Note that the SciencewireSourceRecord model contains some logic for handling different document types in

It can map everything from SW to an article unless it has doc-type 'Conference Proceedings Document' (Mar, 2016); so most SW harvested items will have pub_hash[:type] == 'article'. See

The SciencewireSourceRecord.lookup_sw_doc_type is not used anywhere according to this github search:

PubmedSourceRecord

All of the PubMed records are assigned the article doc-type by

UserSubmittedSourceRecord

There is no doc-type logic in the UserSubmittedSourceRecord.

/authorship API can bypass doc-type filtering

The /authorship API enables an author to associate their profile with a publication that must be retrieved by using a PubMedID or WOS ID, see

This application code path allows a CAP author to create a contribution for a publication with any doc-type (e.g. 'Book Review') and the application will get the publication from a ScienceWire and/or PubMed service. The resulting Publication will have a provenance corresponding to the retrieved service. In this application path, all the filters to exclude some doc-types are NOT engaged. So, in this manner, a CAP author can "demand" a specific document retrieval based only on it's PubMed ID or WOS ID and there is no filtering of any doc-types.