File

projects/dvl-fw-isi/src/lib/data-model/isi-record.ts

Index

Properties

Properties

abstract
abstract: string
Type : string
authors
authors: string[]
Type : string[]
authorsAddress
authorsAddress: string[]
Type : string[]
authorsFullname
authorsFullname: string[]
Type : string[]
eissn
eissn: string
Type : string
id
id: string
Type : string
issn
issn: string
Type : string
issue
issue: number
Type : number
journalFullname
journalFullname: string
Type : string
journalName
journalName: string
Type : string
numCites
numCites: number
Type : number
publicationType
publicationType: string
Type : string
publicationYear
publicationYear: number
Type : number
title
title: string
Type : string
import { parseRISRecords, TagMapping } from './ris-reader';

export interface ISIRecord {
  id: string;
  title: string;
  issn: string;
  eissn: string;
  journalName: string;
  journalFullname: string;
  authors: string[];
  authorsFullname: string[];
  authorsAddress: string[];
  publicationYear: number;
  abstract: string;
  publicationType: string;
  issue: number;
  numCites: number;
}

// See https://images.webofknowledge.com/images/help/WOK/hs_wos_fieldtags.html for a list of tags
export const ISI_TAGS: TagMapping = {
  'FN': { ignored: true },
  'VR': { ignored: true },
  'ER': { endrecord: true },
  'default': { list: true },

  'UT': { string: true, separator: ' ', remap: 'id'},
  'TI': { string: true, separator: ' ', remap: 'title' },
  'SN': { string: true, separator: ' ', remap: 'issn' },
  'EI': { string: true, separator: ' ', remap: 'eissn' },
  'J9': { string: true, separator: ' ', remap: 'journalName' },
  'JI': { string: true, separator: ' ', remap: 'journalFullname' },
  'AU': { list: true, remap: 'authors' },
  'AF': { list: true, remap: 'authorsFullname' },
  'C1': { list: true, remap: 'authorsAddress' },
  'PY': { number: true, remap: 'publicationYear' },

  'AB': { string: true, separator: ' ', remap: 'abstract' },
  'PT': { string: true, separator: ' ', remap: 'publicationType' },
  // 'IS': { number: true, remap: 'issue' },

  'TC': { number: true, remap: 'numCites' }
};

export function parseISIFile(fileContents: string): ISIRecord[] {
  return parseRISRecords(fileContents, ISI_TAGS);
}

result-matching ""

    No results matching ""