rxivistr (version 0.1.1)

rxivist_search: Search Rxivist

Description

Retrieves a articles with matching description.

Usage

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

Run this code
# NOT RUN {
rxivist_search(search_phrase = "T-cells", from = "alltime", sortby = "twitter", limit = 5)
# }

Run the code above in your browser using DataLab