scrape_hits: Scrapes hits from specified databases

Description Usage Arguments Value

View source: R/write_scrape_test_searches.R

Description

Provides a wrapper function to scrape hits from databases for which litsearchr can recognize formats.

Usage

1
2
3
4
5
6
7
8
scrape_hits(
  search_terms = NULL,
  URL = NULL,
  database = c("oatd", "ndltd", "openthesis"),
  verbose = TRUE,
  writefile = FALSE,
  directory = "./"
)

Arguments

search_terms

a list of character strings with grouped search terms.

URL

the URL from searching in OATD, NDLTD, or OpenThesis

database

a character with the database to scrape (either "ndltd", "openthesis", or "oatd").

verbose

if TRUE, prints which page of hits it has finished

writefile

if TRUE, writes results to a .csv file in the working directory

directory

the directory to save results to if writefile=TRUE

Value

a database of hits (if yes is selected from the menu prompt, the hits will also be saved to your working directory)


elizagrames/litsearchr documentation built on April 14, 2021, 3:42 p.m.