Skip to content

Instantly share code, notes, and snippets.

{
"datapackage_version": "1.0-beta.7",
"name": "arxiv-12345",
"title": "Tweeting biomedicine: an analysis of tweets and citations in the biomedical literature",
"summary": "Analysis of tweets and citations in the biomedical literature",
"description": "Data collected by social media platforms have recently been introduced as a new source for indicators to help measure the impact of scholarly research in ways that are complementary to traditional citation-based indicators. Data generated from social media activities related to scholarly content can be used to reflect broad types of impact. This paper aims to provide systematic evidence regarding how often Twitter is used to diffuse journal articles in the biomedical and life sciences. The analysis is based on a set of 1.4 million documents covered by both PubMed and Web of Science (WoS) and published between 2010 and 2012. The number of tweets containing links to these documents was analyzed to evaluate the degree to which certain journals, disciplines, a
Aage Bohr
Abdus Salam
Adam G. Riess
Albert Abraham Michelson
Albert Einstein
Albert Fert
Alexander Prokhorov
Alexei Alexeyevich Abrikosov
Alfred Kastler
Alvin E. Roth
@hubgit
hubgit / README.md
Last active August 29, 2015 13:56
Flood map (England & Wales)
@hubgit
hubgit / peel-session.json
Created February 19, 2014 11:59
An example of a Peel Session as a JSON object
{
"recorded": "1968-06-05T00:00:00Z",
"transmitted": "1968-12-05T00:00:00Z",
"artist/group": "Captain Beefheart & His Magic Band",
"producer": "Bernie Andrews",
"tracks": [
"Safe As Milk",
"Beatle Bones 'N' Smoke'N' Stones",
"Kandy Korn",
"You Gotta Trust Us"
@hubgit
hubgit / app.js
Last active August 29, 2015 13:56 — forked from phoebebright/data.csv
'use strict';
function ready(data){
var nodes = document.querySelectorAll('script[type="text/eval+javascript"]');
Array.prototype.forEach.call(nodes, function(node) {
var script = node.innerHTML.trim();
var figure = document.createElement('figure');
node.parentNode.insertBefore(figure, node);
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-1080-1/dissemination/csv/StratigraphicData/ContextData.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-1167-1/dissemination/csv/NEEnglandCEBAmortuary.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bg98/arcbg98_archive.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bg98/arcbg98_context.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bg98/arcbg98_graphical.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bxr97/arc_bxr97_archive.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bxr97/arc_bxr97_context.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissemination/csv/ctrl_2003/bxr97/arc_bxr97_environmental.csv
http://archaeologydataservice.ac.uk/catalogue/adsdata/arch-335-1/dissem
@hubgit
hubgit / table-wrap-foot-example.xml
Last active August 29, 2015 13:57
Example table footnotes
<table-wrap-foot>
<fn-group>
<!-- a heading for the footnotes - could perhaps be a title element in table-wrap-foot? -->
<fn id="table-1-fn">
<!-- ^ id for the footnotes section - should perhaps be on the fn-group, or table-wrap-foot? -->
<p>
<bold>Notes.</bold>
</p>
</fn>
@hubgit
hubgit / download-code.php
Last active August 29, 2015 13:57
Fetch data or code associated with a figshare DOI
<?php
// metadata: curl -L -H 'Accept: application/citeproc+json' 'http://dx.doi.org/10.6084/m9.figshare.963557'
$doc = new DOMDocument;
$doc->loadHTMLFile('http://dx.doi.org/10.6084/m9.figshare.963557');
$xpath = new DOMXPath($doc);
$url = $xpath->query('//div[@id="download_all"]/a')->item(0)->getAttribute('href');
@hubgit
hubgit / doctype-test.php
Last active August 29, 2015 13:57
Demo script showing separation of doctype from source document during XSLTProcessor::transformToDoc
<?php
// prepare the XSL processor
$stylesheet = new DOMDocument;
$stylesheet->loadXML('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"/>');
$processor = new XSLTProcessor;
$processor->importStylesheet($stylesheet);
// load the XML (with a doctype)
@hubgit
hubgit / README.md
Last active August 29, 2015 13:57
Creating a DataCite DOI via EZID
  1. Contact EZID and get a DOI prefix, username and password.
  2. Send a PUT request to the EZID API, with the new DOI in the URL and the metadata as the body of the request (see create.sh and example metadata.anvl below).

The metadata file format is ANVL (special characters %, \n, \r must be percent-encoded). It includes a datacite property which contains DataCite XML, like this example.