22 lines
831 B
Markdown
22 lines
831 B
Markdown
---
|
|
author: James
|
|
date: 2015-11-22 19:20:19+00:00
|
|
post_meta:
|
|
- date
|
|
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 |