postgres_get: Send GET Request to Postgres API

Description Usage Arguments Value

View source: R/postgres.R

Description

Send GET Request to Postgres API

Usage

1

Arguments

path

relative path, e.g. bathingspots/1 to get data for bathingspot with ID 1

...

further arguments passed to fhpredict:::postgres_request

Value

In case of success this function returns what httr::content(response, as = "parsed") returns. In case of failure an empty list with attribute response (containing the response object returned by GET) is returned.


KWB-R/fhpredict documentation built on Nov. 1, 2020, 5:58 a.m.