rxivist_search: Search Rxivist

Description Usage Arguments Value Examples

View source: R/rxivistr.R

Description

Retrieves a articles with matching description.

Usage

1
2
3
4
5
6
7
rxivist_search(
  search_phrase = "",
  from = "alltime",
  category = "",
  sortby = "downloads",
  limit = 20
)

Arguments

search_phrase

Search phrase used for finding articles. Can be left empty.

from

Defines what timeframe to search. Can be alltime, ytd, lastmonth, day, week, month, year. Lastmonth and ytd can only be used with sortby set as downloads

category

Filters out results not related to the specified category. Category list can be viewed with category_list function. If filtering for a single category, this category can be specified as a string. If filtering for multiple categories, argument must be specified as a vector, e.g. category = c("zoology","biophysics").

sortby

Sorts the results based on the number of downloads or twitter statistics.

limit

Number of results to retrieve.

Value

Returns a data frame with articles matching specified search criteria.

Examples

1
rxivist_search(search_phrase = "T-cells", from = "alltime", sortby = "twitter", limit = 5)

rxivistr documentation built on Oct. 23, 2020, 5:19 p.m.