hs_search: Search HydroShare Resources using solr conventions.

Description Usage Arguments Details Value

View source: R/hs_resource.R

Description

Search HydroShare Resources using solr conventions.

Usage

1
hs_search(page = NULL, count = NULL, text = NULL, author = NULL, ...)

Arguments

page

(integer) A page number within the paginated result set.

count

(integer) Number of results to return per page.

text

(character) Search across all Resource Fields

author

(character) Search by author

...

Additional parameters passed to the HydroShare API. See details.

Details

Additional Parameters:

Parameter Data/Object Type Description
contributor character vector Search by contributor(s)
subject character vector Search within subject keywords
abstract character Search within the abstract
resource_type character Search by resource type
content_type character vector Search by content type(s)
coverage_type character vector Search by coverage type(s) (point, box, period)
availability character vector Search by availabilities (discoverable, public, published)
created Date Search by created date
modified Date Search by modified date
start_date Date Search by start date
end_date Date Search by end date
east numeric Search by location or box center east longitude
north numeric Search by location or box center north latitude
eastlimit numeric Search by east limit longitude
westlimit numeric Search by west limit longitude
northlimit numeric Search by north limit latitude
southlimit numeric Search by south limit latitude

Value

A list with .next, .prev, and results attributes. results returns a tibble.


program--/HSClientR documentation built on April 14, 2021, 8:40 a.m.