Skip to content

Commit

Permalink
rmd check edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Timm committed Apr 10, 2024
1 parent 90ec6a7 commit b1c625b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R/get_records.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
#' @importFrom parallel makeCluster stopCluster detectCores clusterExport
#' @importFrom pbapply pblapply
#' @importFrom data.table rbindlist
#' @export
#' @examples
#' \donttest{
#' if (interactive()) {
#' pmids <- c("38136652", "31345328", "32496629")
#' results <- get_records(pmids, endpoint = "pubmed_abstracts", cores = 1)
#' }
#' @export
#' @rdname get_records
#' }
#'
get_records <- function(pmids,
endpoint = c('pubtations',
Expand Down
3 changes: 2 additions & 1 deletion R/search_pubmed.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
#' @export
#' @examples
#' \donttest{
#' if (interactive()) {
#' ethnob1 <- search_pubmed("ethnobotany", 2010, 2012)
#' ethnob2 <- search_pubmed("ethnobotany", use_pub_years = FALSE)
#' }
#'
#' }
#'
search_pubmed <- function(x,
start_year = NULL,
Expand Down
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ pmc_fulltext <- pmc_pmids$fpath[1:5] |>
```



## Summary
5 changes: 5 additions & 0 deletions man/get_records.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/search_pubmed.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b1c625b

Please sign in to comment.