brainsteam.co.uk/brainsteam/content/posts/legacy/2015-11-22-freecite-python-...

23 lines
917 B
Markdown

---
author: James
date: 2015-11-22 19:20:19+00:00
post_meta:
- date
preview: /social/1a65634434407ae7c136921ba0433925f19de5309385815e338260baf2858ade.png
tags:
- python
- rcuk
- phd
title: Freecite python wrapper
type: posts
url: /2015/11/22/freecite-python-wrapper/
---
I’ve written a simple wrapper around the Brown University Citation parser [FreeCite][1]. I’m planning to use the service to pull out author names from references in REF impact studies and try to link them back to investigators listed on RCUK funding applications.
The code is [here][2] and is MIT licensed. It provides a simple method which takes a string representing a reference and returns a dict with each field separated. There is also a parse_many function which takes an array of reference strings and returns an array of dicts.
 
[1]: http://freecite.library.brown.edu/
[2]: https://github.com/ravenscroftj/freecite