sjrdata: all SCImago Journal & Country Rank data, ready for R

September 22, 2018
By

(This article was first published on Ilya Kashnitsky, and kindly contributed to R-bloggers)

SCImago Journal & Country Rank provides valuable estimates of academic journals’ prestige. The data is freely available at the project website and is distributed for deeper analysis in forms of .csv and .xlsx files. I downloaded all the files and pooled them together, ready to be used in R.

Basically, all the package gives you three easily accessible data frames: sjr_journals (Journal Rank), sjr_countries (Country Rank, year-by-year), and sjr_countries_1996_2017 (Country Rank, all years together).

The whole process of data acquisition can be foun in the github repo (dev directory) or this gist.

How to use sjrdata

Install the package from github, load it and use the data.

The instalation will take a while since the main dataset sjr_journals is pretty heavy (15.7MB compressed).

# install
devtools::install_github("ikashnitsky/sjrdata")

# load
library(sjrdata)

# use
View(sjr_countries)

A couple of examples

Let’s compare Nature and Science.

library(tidyverse)
library(sjrdata)

sjr_journals %>%
    filter(title %in% c("Nature", "Science")) %>%
    ggplot(aes(cites_doc_2years, sjr, color = title))+
    geom_path(size = 1, alpha = .5)+
    geom_label(aes(label = year %>% str_sub(3, 4)),
              size = 3, label.padding = unit(.15, "line"))

Several demographic journals.

sjr_journals %>%
    filter(title %in% c(
        "Demography",
        "Population and Development Review",
        "European Journal of Population",
        "Population Studies",
        "Demographic Research",
        "Genus"
    )) %>%
    ggplot(aes(cites_doc_2years, sjr, color = title))+
    geom_point()+
    stat_ellipse()+
    scale_color_brewer(palette = "Dark2")+
    coord_cartesian(expand = F)

To leave a comment for the author, please follow the link and comment on their blog: Ilya Kashnitsky.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)