Skip to contents

Send a GET request to the PHS CKAN API

Usage

phs_GET(action, query, verbose = FALSE)

Arguments

action

The API endpoint you want to use, e.g., "package_show" / "datastore_search".

query

The query to pass to the endpoint defined by the action argument.

verbose

TRUE or FALSE. If TRUE, a success message will be printed to the console.

Value

content of a httr::GET request