system("catmandu convert YAML < example.yaml", intern = TRUE) %>%
jsonlite::fromJSON()
--- | |
title: "Mean APC per Institution" | |
author: "Najko Jahn" | |
date: "28. April 2015" | |
output: html_document | |
--- | |
```{r, echo =FALSE} | |
knitr::opts_knit$set(base.url = "/") |
require(ropenaire) | |
require(dplyr) | |
# fetch ugoe projects | |
ugoe <- roa_projects(org = "UGOE") | |
# fetch publications | |
tt <- plyr::ldply(as.character(ugoe$grantID), roa_pubs) | |
# tidy up: split collapsed ec projects | |
tmp <- | |
tidyr::separate( |
```{r, echo = FALSE} | |
knitr::opts_knit$set(base.url = "/") | |
knitr::opts_chunk$set( | |
comment = "#>", | |
collapse = TRUE, | |
warning = FALSE, | |
message = FALSE, | |
echo = TRUE, | |
fig.width = 9, | |
fig.height = 6, |
<!DOCTYPE html> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> |
# load ISI spradsheet | |
vu_amst <- read.csv("pubs_2012-14 V5 CSV.csv", header = TRUE, sep =";", | |
na.strings = "") | |
vu_amst$SN <- as.character(vu_amst$SN) | |
# load DOAJ spreadsheet | |
doaj <- httr::content(httr::GET("http://doaj.org/csv")) | |
# join ISSN and EISSN as vector | |
doaj.issn <- c(as.character(doaj$Journal.ISSN..print.version.), |
## Load Data | |
```{r} | |
require(dplyr) | |
# load ISI spradsheet and select only columns needed | |
vu_amst <- read.csv("pubs_2012-14 V5 CSV.csv", header = TRUE, sep =";", | |
na.strings = "") %>% | |
select(JI, PY, SN, PU, DI, UT) | |
tbl_df(vu_amst) |
--- | |
layout: null | |
--- | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rdf:RDF | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns="http://purl.org/rss/1.0/" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:prism="http://prismstandard.org/namespaces/1.2/basic/"> |
In spring 2016, [Science featured a dataset on global usage of Sci-Hub](http://www.sciencemag.org/news/2016/04/whos-downloading-pirated-papers- everyone), a prominent shadow library for scholarly literature. The dataset, openly available via Dryad, tracks more than 28 Mio Sci-Hub usage events over a period of six month on the article-level. Tab-separated files contain timestamps, geo-locations (latitude, longitude), and the Digital Object Identifiers (DOI) of each requested full text.
#' Plots TIB/SUB Fortbildung Open APC Initiative | |
#' Required libraries | |
library(dplyr) | |
library(ggplot2) | |
library(scales) | |
#' ## Load datasets from GitHub | |
#' Get cost data from the Open APC initiatve | |
apc <- readr::read_csv("https://raw.githubusercontent.com/OpenAPC/openapc-de/f946f5c55e5335c3f2298be88507af94de45d585/data/apc_de.csv", col_names = TRUE) | |
#' Overview | |
apc |