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

22 lines
831 B
Markdown
Raw Permalink Normal View History

2020-12-28 11:39:11 +00:00
---
author: James
2023-07-09 11:34:44 +01:00
date: 2015-11-22 19:20:19+00:00
post_meta:
- date
2020-12-28 11:39:11 +00:00
tags:
2023-07-09 11:34:44 +01:00
- python
- rcuk
- phd
title: Freecite python wrapper
type: posts
url: /2015/11/22/freecite-python-wrapper/
2020-12-28 11:39:11 +00:00
---
2023-07-09 11:34:44 +01:00
2020-12-28 11:39:11 +00:00
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