This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Search any plain text reference file for DOIs of retracted articles | |
using the Retraction Watch database. | |
Runs with: | |
python retraction_watch.py /path/to/references | |
""" | |
import re | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env Rscript | |
#' Extract all objects from an .RData/.rda file and (try to) save each as TSV | |
#' | |
#' Usage: Rscript extract_tsv.R file.RData | |
args = commandArgs(trailingOnly=TRUE) | |
# test if there is at least one argument: if not, return an error | |
if (length(args)!=1) { |