wok2bib and wok2apa

18 Aug 2020 - Neil

A lot of people have been asking me how I keep this blog so edgy. Like this:

wok2bib is a command line utility for converting Web of Knowledge or Web of Science saved records into bibtex references for use with latex. wok2apa converts records to plain text APA format.

You can find them on github.

Here is an example of wok2bib at work:

$ cat savedrecs.txt
PT J
AU Zarkadi, T
Wade, KA
Stewart, N
AF Zarkadi, Theodora
Wade, Kimberley A.
Stewart, Neil
TI Creating Fair Lineups for Suspects With Distinctive Features
SO PSYCHOLOGICAL SCIENCE
SN 0956-7976
PD DEC
PY 2009
VL 20
IS 12
BP 1448
EP 1453
UT ISI:000272163600003
ER

$ cat savedrecs.txt | wok2bib
@article{Zarkadi09,
author = {Zarkadi, T.},
year = {2009},
title = {Creating fair lineups for suspects with distinctive features},
journal = {Psychological Science},
volume = {20},
pages = {1448--1453},
custom = {e},
}

$ cat savedrecs.txt | wok2apa
Zarkadi, T., Wade, K. A., & Stewart, N. (2009). Creating fair lineups for suspects with distinctive features. Psychological Science, 20, 1448-1453.