Skip to content

Instantly share code, notes, and snippets.

@customcommander
Last active August 25, 2021 18:06
Show Gist options
  • Save customcommander/74687e0b9a7829b98d62fbaf4b663efd to your computer and use it in GitHub Desktop.
Save customcommander/74687e0b9a7829b98d62fbaf4b663efd to your computer and use it in GitHub Desktop.
A detailed look at the 2011 RIS Specification
TY A2 A3 A4 AB AD AN AU C1 C2 C3 C4 C5 C6 C7 C8 CA CN CT CY DA DB DO DP ET IS J2 KW L1 L4 LA LB M1 M2 M3 N1 NV OP PB PY RI RN RP SE SN SP ST SV T2 T3 TA TI TT UR VL Y2
ABST N/A N/A N/A Abstract Author Address Accession Number Author Legal Note PMCID N/A N/A N/A NIHMSID Article Number N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Epub Date Issue Alternate Journal Keywords File Attachments Figure Language Label N/A Start Page Type of Article Notes N/A Original Publication N/A Year Reviewed Item Research Notes Reprint Edition N/A ISSN Pages Short Title N/A Journal N/A Translated Author Title Translated Title URL Volume Access Date
ADVS Performers Series Editor N/A Abstract Author Address Accession Number Author Cast Credits Size/Length N/A Format N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Number N/A Type Notes Extent of Work Contents Publisher Year N/A Research Notes N/A N/A ISBN N/A Short Title N/A N/A Series Title Translated Author Title Translated Title URL Volume Access Date
AGGR N/A N/A N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption N/A N/A City Date Accessed Name of Database DOI Database Provider Date Published N/A Alternate Title Keywords File Attachments Figure Language Label Publication Number N/A Type of Work Notes N/A Original Publication Publisher Year N/A Research Notes N/A Screens ISSN/ISBN Pages Short Title N/A Periodical N/A Translated Author Title Translated Title URL Volume N/A
ANCIENT Editor N/A Translator Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviated Publication Keywords File Attachments Figure Language Label Text Number N/A Type of Work Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition N/A ISBN Pages Short Title N/A Publication Title Volume Title Translated Author Title Translated Title URL Volume Access Date
ART N/A N/A N/A Abstract Author Address Accession Number Artist N/A N/A Size/Length N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Size N/A Type of Work Notes N/A N/A Publisher Year N/A Research Notes N/A N/A N/A Description Short Title N/A N/A N/A Translated Author Title Translated Title URL N/A Access Date
BILL Sponsor N/A N/A Abstract Author Address Accession Number N/A N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Session N/A N/A Keywords File Attachments Figure Language Label Bill Number N/A N/A Notes N/A History N/A Year N/A Research Notes N/A Code Section N/A Code Pages Short Title N/A Code Legislative Body Translated Author Title Translated Title URL Code Volume Access Date
BLOG Editor Illustrator N/A Abstract Author Address Accession Number Author Author Affiliation N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Last Update Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label N/A N/A Type of Medium Notes N/A Content Publisher Year N/A Research Notes N/A Message Number ISBN Description Short Title N/A Title of WebLog Institution Translated Author Title of Entry Translated Title URL Access Year Access Date
BOOK Series Editor Editor Translator Abstract Author Address Accession Number Author N/A N/A Title Prefix Reviewer N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Series Volume N/A Type of Work Notes Number of Volumes Original Publication Publisher Year N/A Research Notes Reprint Edition Pages ISBN Number of Pages Short Title N/A Series Title N/A Translated Author Title Translated Title URL Volume Access Date
CASE Reporter Higher Court Counsel Abstract Author Address Accession Number N/A N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A N/A Date Decided Name of Database DOI Database Provider Action of Higher Court N/A N/A Keywords File Attachments Figure Language Label N/A N/A Citation of Reversal Notes Reporter Abbreviation History Court Year Decided N/A Research Notes N/A Filed Date N/A First Page Abbreviated Case Name N/A N/A Decision Translated Author Case Name Translated Title URL Reporter Volume Access Date
CHAP Editor Series Editor Translator Abstract Author Address Accession Number Author Section N/A Title Prefix Reviewer Packaging Method N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Edition Number of Volumes Abbreviation Keywords File Attachments Figure Language Label N/A N/A N/A Notes N/A Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition Chapter ISBN Pages Short Title Series Volume Book Title Series Title Translated Author Title Translated Title URL Volume Access Date
CHART Name of File N/A N/A Abstract Author Address Accession Number Created By N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Version N/A N/A Keywords File Attachments Figure Language Label Number N/A Type of Image Notes N/A N/A Publisher Year N/A Research Notes N/A N/A N/A Description N/A N/A Image Source Program N/A Translated Author Title Translated Title URL Image Size Access Date
CLSWK Series Editor N/A Translator Abstract Author Address Accession Number Attribution N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Series Volume N/A Type Notes Number of Volumes Original Publication Publisher Year N/A Research Notes Reprint Edition N/A ISSN/ISBN Number of Pages Short Title N/A Series Title N/A Translated Author Title Translated Title URL Volume Access Date
COMP Series Editor N/A N/A Abstract Author Address Accession Number Programmer N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Version N/A Alternate Title Keywords File Attachments Figure Language Label Computer N/A Type Notes N/A Contents Publisher Year N/A Research Notes N/A N/A ISBN Description Short Title N/A Series Title N/A Translated Author Title Translated Title URL Edition Access Date
CONF Editor Series Editor Sponsor Abstract Author Address Accession Number Author Place Published Year Published Proceedings Title N/A Packaging Method N/A N/A N/A Caption Call Number N/A Conference Location Date Name of Database DOI Database Provider Edition N/A N/A Keywords File Attachments Figure Language Label Issue N/A N/A Notes Number of Volumes N/A Publisher Year of Conference N/A Research Notes N/A N/A ISBN Pages Short Title N/A Conference Name Series Title Translated Author Title Translated Title URL Volume Access Date
CPAPER Editor N/A N/A Abstract Author Address Accession Number Author Place Published N/A N/A N/A N/A N/A N/A N/A Caption N/A N/A Conference Location Date Name of Database DOI Database Provider N/A N/A N/A Keywords File Attachments Figure Language Label N/A N/A Type of Work Notes N/A N/A Publisher Year N/A Research Notes N/A N/A N/A Pages N/A N/A Conference Name N/A Translated Author Title Translated Title URL Volume Access Date
CTLG Institution N/A Translator Abstract Author Address Accession Number Author N/A N/A N/A N/A Packaging Method N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Series Volume N/A Type of Work Notes Catalog Number Original Publication Publisher Year N/A Research Notes Reprint Edition Number of Pages ISBN Pages Short Title N/A Series Title N/A Translated Author Title Translated Title URL Volume Access Date
DATA Producer N/A Funding Agency Abstract Author Address Accession Number Investigators Time Period Unit of Observation Data Type Dataset(s) N/A N/A N/A N/A Caption Call Number N/A City Date of Collection Name of Database DOI Database Provider Version N/A Abbreviation Keywords File Attachments Figure Language Label N/A N/A N/A Notes Study Number Version History Distributor Year Geographic Coverage Research Notes N/A Original Release Date ISSN N/A Short Title N/A N/A Series Title Translated Author Title Translated Title URL N/A Access Date
DATA Series Editor N/A N/A Abstract Author Address Accession Number Programmer N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Version N/A Alternate Title Keywords File Attachments Figure Language Label Computer N/A Type Notes N/A Contents Publisher Year N/A Research Notes N/A N/A ISBN Description Short Title N/A Series Title N/A Translated Author Title Translated Title URL Edition Access Date
DBASE N/A N/A N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption N/A N/A Place Published Date Accessed Name of Database DOI Database Provider Date Published N/A N/A Keywords File Attachments Figure Language Label N/A N/A Type of Work Notes N/A N/A Publisher Year N/A Research Notes N/A N/A Report Number Pages N/A N/A Periodical N/A Translated Author Title Translated Title URL Volume N/A
DICT Editor N/A Translator Abstract Author Address Accession Number Author Term N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Number N/A Type of Work Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition Version ISBN Pages Short Title N/A Dictionary Title N/A Translated Author Title Translated Title URL Volume Access Date
EBOOK Editor Series Editor N/A Abstract Author Address Accession Number Author Year Cited Date Cited Title Prefix Reviewer Last Update Date NIHMSID PMCID N/A Caption Call Number N/A Place Published Date Accessed Name of Database DOI Database Provider Edition N/A N/A Keywords File Attachments Figure Language Label N/A N/A Type of Medium Notes Version Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition N/A ISBN Number of Pages N/A N/A Secondary Title Series Title Translated Author Title Translated Title URL Volume N/A
ECHAP Editor N/A N/A Abstract Author Address Accession Number Author Section N/A Title Prefix Reviewer Packaging Method NIHMSID PMCID N/A Caption Call Number N/A Place Published Date Accessed Name of Database DOI Database Provider Edition N/A N/A Keywords File Attachments Figure Language Label Chapter N/A Type of Work Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition N/A ISBN Pages Short Title N/A Book Title Series Title Translated Author Title Translated Title URL Volume Access Date
EDBOOK Series Editor N/A Translator Abstract Editor Address Accession Number Editor N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Series Volume N/A Type of Work Notes Number of Volumes Original Publication Publisher Year N/A Research Notes Reprint Edition N/A ISBN Number of Pages Short Title N/A Secondary Title N/A Translated Author Title Translated Title URL Volume Access Date
EJOUR N/A N/A N/A Abstract Author Address Accession Number Author Year Cited Date Cited PMCID Reviewer Issue Title NIHMSID Article Number N/A Caption N/A N/A Place Published Date Accessed Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Issue N/A Type of Work Notes Document Number N/A Publisher Year Reviewed Item Research Notes Reprint Edition E-Pub Date ISSN Pages Short Title N/A Periodical Title Website Title Translated Author Title Translated Title URL Volume N/A
ELEC Series Editor N/A N/A Abstract Author Address Accession Number Author Year Cited Date Cited N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Last Update Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Access Date N/A Type of Medium Notes N/A Contents Publisher Year N/A Research Notes N/A N/A ISBN Description Short Title N/A Series Title N/A Translated Author Title Translated Title URL Access Year N/A
ENCYC Editor N/A Translator Abstract Author Address Accession Number Author Term N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label N/A N/A N/A Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition N/A ISBN Pages Short Title N/A Encyclopedia Title N/A Translated Author Title Translated Title URL Volume Access Date
EQUA Name of File N/A N/A Abstract Author Address Accession Number Created By N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Version N/A N/A Keywords File Attachments Figure Language Label Number N/A Type of Image Notes N/A N/A Publisher Year N/A Research Notes N/A N/A N/A Description N/A N/A Image Source Program N/A Translated Author Title Translated Title URL Image Size Access Date
FIGURE Name of File N/A N/A Abstract Author Address Accession Number Created By N/A N/A N/A N/A N/A N/A N/A N/A N/A Call Number Caption City Date Name of Database DOI Database Provider Version N/A N/A Keywords File Attachments Figure Language Label Number N/A Type of Image Notes N/A N/A Publisher Year N/A Research Notes N/A N/A N/A Description N/A N/A Image Source Program N/A Translated Author Title Translated Title URL Image Size Access Date
GEN Secondary Author Tertiary Author Subsidiary Author Abstract Author Address Accession Number Author Custom 1 Custom 2 Custom 3 Custom 4 Custom 5 Custom 6 Custom 7 Custom 8 Caption Call Number N/A Place Published Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Number N/A Type of Work Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition Section ISBN/ISSN Pages Short Title N/A Secondary Title Tertiary Title Translated Author Title Translated Title URL Volume Access Date
GOVDOC Department N/A N/A Abstract Author Address Accession Number Author Government Body Congress Number Congress Session N/A N/A N/A N/A N/A Caption N/A N/A City N/A Name of Database DOI Database Provider Edition N/A N/A Keywords File Attachments Figure Language Label Issue N/A N/A Notes N/A N/A Publisher Year N/A Research Notes N/A Section Report Number Pages N/A N/A N/A Series Title Translated Author Title Translated Title URL Volume Access Date
GRANT N/A N/A Translator Abstract Author Address Accession Number Investigators Contact Name Contact Address Contact Phone Contact Fax Funding Number CFDA Number N/A N/A Caption Call Number N/A Activity Location Deadline Name of Database DOI Database Provider Requirement N/A Abbreviation Keywords File Attachments Figure Language Label Status N/A Funding Type Notes Amount Received Original Grant Number Sponsoring Agency Year Reviewed Item Research Notes Review Date Duration of Grant N/A Pages Short Title N/A N/A N/A Translated Author Title of Grant Translated Title URL Amount Requested Access Date
HEAR N/A N/A N/A Abstract Author Address Accession Number N/A N/A Congress Number N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Session N/A N/A Keywords File Attachments URL Language Label Document Number N/A N/A Notes Number of Volumes History Publisher Year N/A Research Notes N/A N/A ISBN Pages Short Title N/A Committee Legislative Body Translated Author Title Translated Title URL N/A Access Date
ICOMM Recipient N/A N/A Abstract Author Address Accession Number Author Sender's E-Mail Recieipients E-Mail N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Description N/A Abbreviation Keywords File Attachments Figure Language Label Folio Number N/A Type Notes Communication Number N/A Publisher Year N/A Research Notes N/A N/A N/A Pages Short Title N/A N/A N/A Translated Author Title Translated Title URL N/A Access Date
INPR N/A N/A N/A Abstract Author Address Accession Number Author Legal Note PMCID N/A N/A N/A NIHMSID Article Number N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Epub Date Issue Alternate Journal Keywords File Attachments Figure Language Label N/A Start Page Type of Article Notes N/A Original Publication N/A Year Reviewed Item Research Notes Reprint Edition N/A ISSN Pages Short Title N/A Journal N/A Translated Author Title Translated Title URL Volume Access Date
JFULL N/A N/A N/A Abstract Author Address Accession Number Author Legal Note PMCID N/A N/A N/A NIHMSID Article Number N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Epub Date Issue Alternate Journal Keywords File Attachments Figure Language Label N/A Start Page Type of Article Notes N/A Original Publication N/A Year Reviewed Item Research Notes Reprint Edition N/A ISSN Pages Short Title N/A Journal N/A Translated Author Title Translated Title URL Volume Access Date
JOUR N/A N/A N/A Abstract Author Address Accession Number Author Legal Note PMCID N/A N/A N/A NIHMSID Article Number N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Epub Date Issue Alternate Journal Keywords File Attachments Figure Language Label N/A Start Page Type of Article Notes N/A Original Publication N/A Year Reviewed Item Research Notes Reprint Edition N/A ISSN Pages Short Title N/A Journal N/A Translated Author Title Translated Title URL Volume Access Date
LEGAL Issuing Organization N/A N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A Place Published Date of Code Edition Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Start Page N/A Type of Work Notes Session Number History Publisher Year N/A Research Notes N/A Section Number Document Number Pages N/A N/A Title Number Supplement No. Translated Author Title Translated Title URL Rule Number Access Date
MANSCPT N/A N/A N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Description of Material N/A Abbreviation Keywords File Attachments Figure Language Label Folio Number N/A Type of Work Notes Manuscript Number N/A Library/Archive Year N/A Research Notes Reprint Edition Start Page N/A Pages Short Title N/A Collection Title N/A Translated Author Title Translated Title URL Volume/Storage Container Access Date
MAP Series Editor N/A N/A Abstract Author Address Accession Number Cartographer Scale Area Size N/A Packaging Method N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label N/A N/A Type Notes N/A N/A Publisher Year N/A Research Notes Reprint Edition N/A ISBN Description Short Title N/A Series Title N/A Translated Author Title Translated Title URL N/A Access Date
MGZN N/A N/A N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A Place Published Date Name of Database DOI Database Provider Edition N/A Alternate Magazine Keywords File Attachments Figure Language Label Issue Number N/A Type of Article Notes Frequency Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition Start Page ISSN Pages Short Title N/A Magazine N/A Translated Author Title Translated Title URL Volume Access Date
MPCT Series Director Producer Performers Synopsis Author Address Accession Number Director Cast Credits N/A Genre Format N/A N/A N/A Caption Call Number N/A Country Date Released Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label N/A N/A Medium Notes N/A N/A Distributor Year Released N/A Research Notes N/A N/A N/A Running Time Short Title N/A Series Title N/A Translated Author Title Translated Title URL N/A Access Date
MULTI Series Editor N/A N/A Abstract Author Address Accession Number Created By Year Cited Date Cited N/A N/A Format/Length N/A N/A N/A Caption N/A N/A N/A Date Accessed Name of Database DOI Database Provider N/A N/A N/A Keywords File Attachments Figure Language Label Number of Screens N/A Type of Work Notes N/A N/A Distributor Year N/A Research Notes N/A N/A N/A N/A N/A N/A Series Title N/A Translated Author Title Translated Title URL N/A N/A
MUSIC Editor Series Editor Producer Abstract Author Address Accession Number Composer Format of Music Form of Composition Music Parts Target Audience Accompanying Matter N/A N/A N/A Caption Call Number N/A Place Published Date Name of Database DOI Database Provider Edition N/A N/A Keywords File Attachments Figure Language Label N/A N/A Form of Item Notes Number of Volumes Original Publication Publisher Year N/A Research Notes Reprint Edition Section ISSN Pages Short Title N/A Album Title Series Title Translated Author Title Translated Title URL Volume Access Date
NEWS N/A N/A N/A Abstract Author Address Accession Number Reporter Column Issue N/A N/A N/A N/A N/A N/A Caption Call Number N/A City N/A Name of Database DOI Database Provider Edition N/A N/A Keywords Figure File Attachments Language N/A Start Page N/A Type of Article Notes Frequency N/A Publisher Year Reviewed Item Research Notes Reprint Edition Section ISSN Pages Short Title N/A Newspaper N/A Translated Author Title Translated Title URL Volume Access Date
PAMP Institution N/A Translator Abstract Author Address Accession Number Author N/A N/A N/A N/A Packaging Method N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Series Volume Number of Pages Type of Work Notes N/A Original Publication Publisher Year N/A Research Notes Reprint Edition N/A ISBN Pages Short Title N/A Published Source N/A Translated Author Title Translated Title URL Number Access Date
PAT Issuing Organization International Author N/A Abstract Inventor Address Accession Number Inventor N/A Issue Date Designated States Attorney/Agent References Legal Status N/A N/A Caption Call Number N/A Country Date Name of Database DOI Database Provider International Patent Classification N/A N/A Keywords File Attachments Figure Language Label Application Number N/A Patent Type Notes US Patent Classification Priority Numbers Assignee Year N/A Research Notes Notes International Patent Number Patent Number Pages Short Title N/A Published Source International Title Translated Author Title Translated Title URL Patent Version Number Access Date
PCOMM Recipient N/A N/A Abstract Author Address Accession Number Author Sender's E-Mail Recieipients E-Mail N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Description N/A Abbreviation Keywords File Attachments Figure Language Label Folio Number N/A Type Notes Communication Number N/A Publisher Year N/A Research Notes N/A N/A N/A Pages Short Title N/A N/A N/A Translated Author Title Translated Title URL N/A Access Date
RPRT Series Editor Publisher Department/Division Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A Issue N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Document Number N/A Type Notes Series Volume Contents Institution Year N/A Research Notes Notes N/A Report Number Pages Short Title N/A Series Title N/A Translated Author Title Translated Title URL Volume Access Date
SER Editor Series Editor Volume Editor Abstract Author Address Accession Number Author Section Report Number N/A N/A Packaging Method N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Abbreviation Keywords File Attachments Figure Language Label Series Volume N/A Type of Work Notes Number of Volumes Original Publication Publisher Year Reviewed Item Research Notes Reprint Edition Chapter ISBN Pages Short Title N/A Secondary Title Series Title Translated Author Title Translated Title URL Volume Access Date
SLIDE Performers Series Editor N/A Abstract Author Address Accession Number Author Cast Credits Size/Length N/A Format N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Number N/A Type Notes Extent of Work Contents Publisher Year N/A Research Notes N/A N/A ISBN N/A Short Title N/A N/A Series Title Translated Author Title Translated Title URL Volume Access Date
SOUND Performers Series Editor N/A Abstract Author Address Accession Number Author Cast Credits Size/Length N/A Format N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Number N/A Type Notes Extent of Work Contents Publisher Year N/A Research Notes N/A N/A ISBN N/A Short Title N/A N/A Series Title Translated Author Title Translated Title URL Volume Access Date
STAND N/A N/A N/A Abstract Author Address Accession Number Institution N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A Place Published Date Name of Database DOI Database Provider N/A N/A Abbreviation Keywords File Attachments Figure Language Label Start Page N/A Type of Work Notes Session Number N/A Publisher Year N/A Research Notes N/A Section Number Document Number Pages N/A N/A Section Title Paper Number Translated Author Title Translated Title URL Rule Number Access Date
STAT N/A N/A N/A Abstract Author Address Accession Number N/A N/A N/A N/A N/A Publisher Volume N/A N/A Caption Call Number N/A Country Date Enacted Name of Database DOI Database Provider Session N/A Abbreviation Keywords File Attachments Figure Language Label Public Law Number N/A N/A Notes Statute Number History Source Year Article Number Research Notes N/A Section N/A Pages Short Title N/A Code International Source Translated Author Name of Act Translated Title URL Code Number Date Enacted
THES N/A Advisor N/A Abstract Author Address Accession Number Author N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider N/A N/A N/A Keywords File Attachments Figure Language Label Document Number N/A Thesis Type Notes N/A N/A University Year N/A Research Notes N/A N/A N/A Number of Pages Short Title N/A Academic Department N/A Translated Author Title Translated Title URL Degree Access Date
UNBILL Sponsor N/A N/A Abstract Author Address Accession Number N/A N/A N/A N/A N/A N/A N/A N/A N/A Caption Call Number N/A N/A Date Name of Database DOI Database Provider Session N/A N/A Keywords File Attachments Figure Language Label Bill Number N/A N/A Notes N/A History N/A Year N/A Research Notes N/A Code Section N/A Code Pages Short Title N/A Code Legislative Body Translated Author Title Translated Title URL Code Volume Access Date
UNPB Series Editor N/A N/A Abstract Author Address N/A Author N/A N/A N/A N/A N/A N/A N/A N/A Caption N/A N/A City Date Name of Database DOI Database Provider N/A N/A Abbreviation Keywords File Attachments Figure Language Label Number N/A Type of Work Notes N/A N/A Institution Year N/A Research Notes N/A N/A N/A Pages Short Title N/A Series Title Department Translated Author Title of Work Translated Title URL N/A Access Date
VIDEO Performers Series Editor N/A Abstract Author Address Accession Number Author Cast Credits Size/Length N/A Format N/A N/A N/A Caption Call Number N/A City Date Name of Database DOI Database Provider Edition N/A Alternate Title Keywords File Attachments Figure Language Label Number N/A Type Notes Extent of Work Contents Publisher Year N/A Research Notes N/A N/A ISBN N/A Short Title N/A N/A Series Title Translated Author Title Translated Title URL Volume Access Date
FIELD NAME REFERENCE TYPE
ABST Abstract
ADVS Audiovisual Material
AGGR Aggregated Database
ANCIENT Ancient Text
ART Artwork
BILL Bill
BLOG Blog
BOOK Book
CASE Case
CHAP Book Section
CHART Chart
CLSWK Classical Work
COMP Computer Program
CONF Conference Proceeding
CPAPER Conference Paper
CTLG Catalog
DATA Dataset
DBASE Online Database
DICT Dictionary
EBOOK Electronic Book
ECHAP Electronic Book Section
EDBOOK Edited Book
EJOUR Electronic Article
ELEC Web Page
ENCYC Encyclopedia
EQUA Equation
FIGURE Figure
GEN Generic
GOVDOC Government Document
GRNT Grant
HEAR Hearing
ICOMM Internet Communication
INPR In Press Article
JFULL Full Journal
JOUR Journal Article
LEGAL Legal Rule
MANSCPT Manuscript
MAP Map
MGZN Magazine Article
MPCT Film or Broadcast
MULTI Online Multimedia
MUSIC Music
NEWS Newspaper Article
PAMP Pamphlet
PAT Patent
PCOMM Personal Communication
RPRT Report
SER Serial
SLIDE Slide
SOUND Sound Recording
STAND Standard
STAT Statute
THES Thesis
UNBILL Unenacted Bill
UNPD Unpublished Work
VIDEO Video Recording

RIS Specification

This is to the best of my knowledge the RIS specification as it was defined in 2011 by the original author. See https://en.wikipedia.org/wiki/RIS_(file_format)#cite_note-:1-5.

(Re)producing the dataset

Requirements

In order to run the scripts used to produce the dataset the following programs must be available on your system path:

  1. Docker
  2. xsltproc
  3. curl

Setup

chmod +x step1.sh
chmod +x step2.sh
./step1.sh

dataset-ris.csv

  1. Open vendor/EN RIS Documentation.xls in Excel.

  2. Then File > Save As… > Web Page (.htm) and save in the same directory!

  3. Then run:

    ./step2.sh
    

dataset-types.csv

This is simply a copy/paste (sorted by field name) of the table on pages 8-9 of Direct Export RIS.pdf available in the vendor directory.

#!/bin/sh
rm -rfv *.zip
rm -rfv vendor
curl --output vendor.zip -L https://web.archive.org/web/20120526103719/http://refman.com/support/direct%20export.zip
unzip -d vendor vendor.zip
#!/bin/sh
JQ_DOCKER="docker run --rm -v $(pwd):/workspace -w /workspace dockerpinata/jq"
rm -rfv out
mkdir out
find vendor -name "sheet*.htm" | xargs -t -I{} sh -c 'xsltproc --html --output out/$(basename "{}" .htm).json transform-html-to-json.xsl "{}"'
$JQ_DOCKER sh -c 'find . -name "*.json" | xargs -t jq --raw-output --compact-output -f transform-extract.jq' | sort | tee out/all-tmp.json
$JQ_DOCKER jq --slurp '.' out/all-tmp.json | tee dataset-ris.json
$JQ_DOCKER jq --raw-output -f transform-csv.jq dataset-ris.json | tee dataset-ris.csv
(map(keys) | add | unique | . - ["TY", "ER"] | ["TY"] + .) as $cols
| map(. as $x | $cols | map($x[.] // "N/A"))
| [$cols] + .
| .[]
| @csv
# e.g.,
#
# INPUT
#
# [ ["TY", "ABST" ]
# , ["TY", "INPR" ]
# , ["TY", "JFULL" ]
# , ["TY", "JOUR" ]
# , ["AB", "Abstract" ]
# , ["AD", "Author Address" ]
# , ["AN", "Accession Number" ]]
#
# OUTPUT
#
# {"TY": "ABST" , "AB": "Abstract", "AD": "Author Address", "AN": "Accession Number"}
# {"TY": "INPR" , "AB": "Abstract", "AD": "Author Address", "AN": "Accession Number"}
# {"TY": "JFULL", "AB": "Abstract", "AD": "Author Address", "AN": "Accession Number"}
# {"TY": "JOUR" , "AB": "Abstract", "AD": "Author Address", "AN": "Accession Number"}
#
map(select(.[0] != "TY")) as $fields
| map(select(.[0] == "TY"))
| map([.] + $fields)
| map(reduce .[] as $i ({}; . + {($i[0]): $i[1]}))
| map(.ER |= "(End of reference)")
| .[]
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:str="http://exslt.org/strings"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="str exsl">
<xsl:output method="text" />
<xsl:template match="html">
[
<!-- select <tr> with content -->
<xsl:for-each select="body/table/tr[td[.!='']]">
<xsl:apply-templates select="."/>
<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
]
</xsl:template>
<xsl:template match="tr">
["<xsl:apply-templates select="td[position()=1]"/>","<xsl:apply-templates select="td[position()=2]"/>"]
</xsl:template>
<!-- first <td> is the tag name -->
<xsl:template match="td[position()=1]">
<xsl:variable name="t">
<xsl:call-template name="normalise">
<xsl:with-param name="str" select="."/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="substring($t, 1, 2)"/>
</xsl:template>
<xsl:template match="td[position()=2]">
<xsl:call-template name="normalise">
<xsl:with-param name="str" select="str:replace(., '`', '')"/>
</xsl:call-template>
</xsl:template>
<!-- second <td> is the tag description -->
<xsl:template name="normalise">
<xsl:param name="str"/>
<xsl:variable name="out">
<xsl:for-each select="str:tokenize($str, '&#x20;&#xA;&#xD;&#xC2;&#xA0;')">
<xsl:value-of select="."/>
<xsl:text> </xsl:text>
</xsl:for-each>
</xsl:variable>
<xsl:value-of select="normalize-space($out)"/>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment