rxivist module

class pygetpapers.repository.rxivist.Rxivist

Bases: RepositoryInterface

Rxivist wrapper for biorxiv and medrxiv

From the site (rxivist.org): “Rxivist combines biology preprints from bioRxiv and medRxiv with data from Twitter to help you find the papers being discussed in your field.”

Appears to be metadata-only. To get full-text you may have to submit the IDs to biorxiv or medrxiv or EPMC as this aggregates preprints.

apipaperdownload(query_namespace)

Takes in the query_namespace object as the parameter and runs the query search for given search parameters.

Parameters

query_namespace (dict) – pygetpaper’s namespace object containing the queries from argparse

download_and_save_results(query, size, update=False, makecsv=False, makexml=False, makehtml=False)
make_request_add_papers(query, cursor_mark, total_number_of_results, total_papers_list)
noexecute(query_namespace)

Takes in the query_namespace object as the parameter and runs the query search for given search parameters but only prints the output and not write to disk.

Parameters

query_namespace (dict) – pygetpaper’s namespace object containing the queries from argparse

rxivist(query, size, update=None, makecsv=False, makexml=False, makehtml=False)
send_post_request(query, cursor_mark=0, page_size=20)
update(query_namespace)

If there is a previously existing corpus, this function reads in the ‘cursor mark’ from the previous run, increments in, and adds new papers for the given parameters to the existing corpus.

Parameters

query_namespace (dict) – pygetpaper’s namespace object containing the queries from argparse