get_search_contents: Retrieve the first page of search results for a given query.

Description Usage Arguments Details Value

View source: R/get_search_contents.R

Description

Retrieves the HTML contents from the first page of search hits for a given query.

Usage

1
get_search_contents(solr_search_term, production = TRUE)

Arguments

production

(logical) perform search on the production site? default is TRUE

term

character string containing search term

Details

When using the test server (www-test.library.kent.edu), needed to modify approach because of the SSL certificate. - http://stackoverflow.com/questions/34551299/how-to-pass-ssl-verifypeer-in-rvest - https://curl.haxx.se/docs/sslcerts.html

Value

List containing the following elements: - html xml_node containing the search result page's HTML - search_url character string displaying the query URL


kyeager4/ksulibSearch documentation built on May 23, 2019, 9:33 a.m.