Learn R Programming

rplos (version 0.6.4)

plosword: Search results on a keyword over all fields in PLoS Journals.

Description

Search results on a keyword over all fields in PLoS Journals.

Usage

plosword(terms, vis = FALSE, ...)

Arguments

terms
search terms (character)
vis
visualize results in bar plot or not (TRUE or FALSE)
...
Optional additional curl options (debugging tools mostly)

Value

Number of search results (vis = FALSE), or number of search in a table and a histogram of results (vis = TRUE).

Examples

Run this code
## Not run: 
# plosword('Helianthus')
# out <- plosword(list('monkey','replication','design','sunflower','whale'),
#    vis = TRUE)
# out[[1]] # results in a data frame
# out[[2]] # results in a bar plot
# 
# # Pass in curl options
# library("httr")
# plosword('Helianthus', config=verbose())
# ## End(Not run)

Run the code above in your browser using DataLab