Science Score: 33.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 5 DOI reference(s) in README -
✓Academic publication links
Links to: nature.com -
✓Committers with academic emails
1 of 6 committers (16.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (18.2%) to scientific vocabulary
Keywords
altmetrics
bibliometrics
citations
r
r-package
rstats
Keywords from Contributors
genome
geocode
helminth
disease-networks
parasites
biodiversity
gbif
species
noaa-data
spocc
Last synced: 6 months ago
·
JSON representation
Repository
Query and visualize metrics from altmetric.com
Basic Info
- Host: GitHub
- Owner: ropensci
- License: other
- Language: R
- Default Branch: master
- Homepage: https://docs.ropensci.org/rAltmetric
- Size: 609 KB
Statistics
- Stars: 48
- Watchers: 11
- Forks: 18
- Open Issues: 8
- Releases: 0
Archived
Topics
altmetrics
bibliometrics
citations
r
r-package
rstats
Created over 13 years ago
· Last pushed about 4 years ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
[](http://www.repostatus.org/#active)
[](https://travis-ci.org/ropensci/rAltmetric)
---
[](https://cran.r-project.org/)
[](https://cran.r-project.org/package=rAltmetric)
[](commits/master)
---
[)`-yellowgreen.svg)](/commits/master)
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
cache = TRUE,
comment = "#>",
fig.path = "README-"
)
```

# rAltmetric

[](https://travis-ci.org/ropensci/rAltmetric)
[](https://ci.appveyor.com/project/ropensci/rAltmetric)
[](https://codecov.io/github/ropensci/rAltmetric?branch=master)
This package provides a way to programmatically retrieve altmetrics from various publication types (books, newsletters, articles, peer-reviewed papers and more) from [altmetric.com](http://altmetric.com). The package is really simple to use and only has two major functions:
- `altmetrics` - Pass it a doi, isbn, uri, arxiv id or other to get metrics
- `altmetric_data` Pass it the results from the previous call to get a tidy `data.frame`
Questions, features requests and issues should go [here](https://github.com/ropensci/rAltmetric/issues/).
# Installing the package 🛠
A stable version is available from CRAN. To install
```r
install.packages('rAltmetric')
# or the 👷 dev version
devtools::install_github("ropensci/rAltmetric")
```
# Quick Tutorial
## Obtaining metrics
There was a 2010 paper by [Acuna et al](http://www.nature.com/news/2010/100616/full/465860a.html) that received a lot of attention on Twitter. What was the impact of that paper?
```{r}
library(rAltmetric)
acuna <- altmetrics(doi = "10.1038/465860a")
acuna
```
## Data
To obtain the metrics in tabular form for further processing, run any object of class `altmetric` through `altmetric_data()` to get a `data.frame` that can easily be written to disk.
```{r}
altmetric_data(acuna)
```
You can save these data into a clean spreadsheet format:
```r
acuna_data <- altmetric_data(acuna)
readr::write_csv(acuna_data, path = 'acuna_altmetrics.csv')
```
# Gathering metrics for many DOIs
For a real world use-case, one might want to get metrics on multiple publications. If so, just read them from a spreadsheet and `llply` through them like the example below.
```{r}
library(rAltmetric)
library(magrittr)
library(purrr)
ids <- list(c(
"10.1038/nature09210",
"10.1126/science.1187820",
"10.1016/j.tree.2011.01.009",
"10.1086/664183"
))
alm <- function(x) altmetrics(doi = x) %>% altmetric_data()
results <- pmap_df(ids, alm)
# This results in a data.frame with one row per identifier.
```
## Further reading
* [Metrics: Do metrics matter?](http://www.nature.com/news/2010/100616/full/465860a.html)
* [The altmetrics manifesto](http://altmetrics.org/manifesto/)
📚 To cite package `rAltmetric` in publications use:
```r
Karthik Ram (2017). rAltmetric: Retrieves altmerics data for any
published paper from altmetrics.com. R package version 0.7.
http://CRAN.R-project.org/package=rAltmetric
A BibTeX entry for LaTeX users is
@Manual{,
title = {rAltmetric: Retrieves altmerics data for any published paper from
altmetrics.com},
author = {Karthik Ram},
year = {2017},
note = {R package version 0.7},
url = {http://CRAN.R-project.org/package=rAltmetric},
}
```
[](http://ropensci.org)
Owner
- Name: rOpenSci
- Login: ropensci
- Kind: organization
- Email: info@ropensci.org
- Location: Berkeley, CA
- Website: https://ropensci.org/
- Twitter: rOpenSci
- Repositories: 307
- Profile: https://github.com/ropensci
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Karthik Ram | k****m@g****m | 148 |
| Scott Chamberlain | m****s@g****m | 7 |
| steven2249 | s****w@b****u | 2 |
| Maëlle Salmon | m****n@y****e | 1 |
| Shane Preece | s****e@l****m | 1 |
| rOpenSci Bot | m****t@g****m | 1 |
Committer Domains (Top 20 + Academic)
leafcanvas.com: 1
berkeley.edu: 1
Packages
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 88,618
- Total dependent packages: 0
- Total dependent repositories: 3
- Total versions: 3
cran.r-project.org: rAltmetric
Retrieves Altmerics Data for Any Published Paper from 'Altmetric.com'
- Homepage: https://github.com/ropensci/rAltmetric
- Documentation: http://cran.r-project.org/web/packages/rAltmetric/rAltmetric.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 0.7.0
published almost 9 years ago
Rankings
Forks count: 4.5%
Stargazers count: 7.4%
Dependent repos count: 17.6%
Average: 29.8%
Dependent packages count: 29.8%
Downloads: 89.7%
Last synced:
almost 2 years ago
Dependencies
DESCRIPTION
cran
- R >= 3.3.2 depends
- httr * imports
- jsonlite * imports
- rlist * imports
- covr * suggests
- dplyr * suggests
- knitr * suggests
- magrittr * suggests
- purrr * suggests
- rmarkdown * suggests
- spelling * suggests
- testthat * suggests