Skip to contents

View record

Usage

ph_view_record(app, api, collection, id, ...)

Arguments

app

the app name

api

the api

collection

the collection name or id

id

the record id

...

the query params as supported by PocketBase View API

Value

a response

Examples

if (FALSE) {
app <- "eurocontrol-data-test"
collection <- "nw_traffic"
id <- "lufkj3346ygx9a2"

ph_view_record(app = app,
               api = "/api/collections",
               id = id,
               collection = collection,
               fields = "FLIGHT_DATE,DAY_TFC")
}