scrape_ndltd: Scrapes results from the NDLTD Global ETD Search

Description Usage Arguments Value Examples

View source: R/write_scrape_test_searches.R

Description

Scrapes hits from the Networked Digital Library of Theses and Dissertations Global ETD Search.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
scrape_ndltd(
  search_terms = NULL,
  URL = NULL,
  writefile = FALSE,
  verbose = TRUE,
  languages = "English",
  stemming = FALSE,
  exactphrase = TRUE,
  where = "description",
  directory = "./"
)

Arguments

search_terms

a list of character strings with grouped search terms

URL

the URL from conducting a search in the database

writefile

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

verbose

if TRUE, prints which page of hits it has finished

languages

which language to search in; available languages can be viewed with available_languages().

stemming

if TRUE, keywords will be truncated and stem from root word forms (only if language is English)

exactphrase

if TRUE, keyword phrases will be placed in quotes to ensure exact phrases are returned

where

where in a thesis or dissertation to search (options are description or title)

directory

the directory to save results to if writefile=TRUE

Value

a data frame containing the results of the search

Examples

1
## Not run: scrape_ndltd(search_terms=list(c("black backed woodpecker", "picoides arcticus")))

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