/paperdigger

A simple shinyApp for automatically downloading papers from sci-hub.

Primary LanguageROtherNOASSERTION

paperdigger

Lifecycle: experimental

The goal of paperdigger is to automatically download academic papers from sci-hub.

Installation

You can install the package from GitHub with:

# install.packages("devtools")
devtools::install_github("KiayangQ/paperdigger")

Usage

To call the shinyapp:

library(paperdigger)
## basic example code
paper_dig()

To use the R function:

library(paperdigger)
## original refers to the source of a bibliographic file, either from a database or from manual collection 
sci_down("ad.bib")

Example

You can download a bibliographic data file (e.g. .bib or ris) from databases like web of science. center You can add the paper that you want to download to MarkList, and export them as a BibTex file (In the image below, you can select Other File Formats to access the BibTex format). center

Then call the shiny app and upload the data file, so you can click “load” to start downloading. You can see a progress bar at right corner of the downside.

center

The downloaded paper will be stored in a file folder called “paperxxxxx”. You can find the file folder in the current working directory.

In addition, when the download is finished, you will see a summary table about how many papers you have successfully downloaded(success = 1).

You can also use sci_down function in R console.

Simply use these code in R console:

library(paperdigger)

sci_down(filename)

Or if you use self collected dois, please save the file as .txt or .csv format and use the sci_down function like this:

library(paperdigger)

sci_down(filename,orignial="Dois")

and this parameter is also optional in the shiny app.

Note

Now, this app works well for databases like web of science(.bib),science direct(.ris),ebsco(.ris),and even .bib files from Mendeley. Please output the recommended data format within brackets for each database. However, the database like google scholar is not supported since doi information is not available.