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

25 lines
880 B
Markdown
Raw Normal View History

2020-12-28 11:39:11 +00:00
---
title: Freecite python wrapper
author: James
type: post
date: 2015-11-22T19:20:19+00:00
url: /2015/11/22/freecite-python-wrapper/
categories:
- PhD
tags:
- citations
- freecite
- python
- rcuk
- ref
- references
---
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