Skip to content

rbi-mtm/appeer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

443 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appeer

(Experimental) code for getting statistics of the length of peer review. Currently, only RSC analysis is being implemented.

Installation

The following installation procedure was tested:

conda create -n appeer python=3.13
conda activate appeer
python -m pip install -e .

After installation, run

appeer init

To be able to run tests, use the following command:

python -m pip install -e .[test]

To run tests, simply type:

pytest

Usage

Article HTMLs can be downloaded from URLs stored in a file using:

appeer scrape [OPTIONS] FILENAME

To see all appeer scrape options, use

appeer scrape --help

The input file can be either a JSON file or a text file each URL written in a new line. The URLs can be written either as a full URL or a DOI. E.g., the following entries are equally valid:

https://pubs.rsc.org/en/content/articlelanding/2023/ob/d3ob00424d
10.1039/D3OB00424D

Invalid URL entries will be automatically skipped. For an example text file containing URLs, check src/appeer/tests/sample_data/example_publications.txt. To download the HTMLs from this text file, simply use

appeer scrape example_publications.txt

A JSON file containing article URLs can be easily generated using Publish or Perish. For an example JSON, check src/appeer/tests/sample_data/example_PoP.json.

The HTMLs downloaded using the sample example_POP.json are given in src/appeer/tests/sample_data/htmls.

To clean various default appeer directories, type

appeer clean --help

About

(Experimental) code for scraping scientific journals to get statistics on the length of peer review.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages