(Experimental) code for getting statistics of the length of peer review. Currently, only RSC analysis is being implemented.
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 initTo be able to run tests, use the following command:
python -m pip install -e .[test]To run tests, simply type:
pytestArticle HTMLs can be downloaded from URLs stored in a file using:
appeer scrape [OPTIONS] FILENAMETo see all appeer scrape options, use
appeer scrape --helpThe 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/D3OB00424DInvalid 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.txtA 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