Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 872 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 872 Bytes

scihubr

{scihubr} is an unofficial API to sci-hub.se, making it easy to download the papers you need within R. The package also offers you a citation.

Installation

The package is only available from GitHub with:

if (!require("remotes") install.packages("remotes")
remotes::install_github("netique/scihubr")

Example

If you just want ot read a paper as quick as possible, type:

scihubr::download_paper("url_or_doi_of_your_favourite_paper")

Or, state the path and optional open = FALSE meaning you do not want to open the result immediately.

scihubr::download_paper("url_or_doi_of_your_favourite_paper",
  path = "~/my_favourite_paper.pdf",
  open = FALSE
)