get_id: Get ID

View source: R/get_id.R

get_idR Documentation

Get ID

Description

Retrieve IDs for particular entries or all entries in a table

Usage

get_id(table, query = list(), endpoint = "http://localhost:8000/api/")

Arguments

table

a string specifying the name of the table

query

a list containing a valid query for the table, e.g. list(field = value)

endpoint

a string specifying the registry endpoint

Value

Returns a string or list of strings specifying the URL or URLs of entries in a table


ScottishCovidResponse/SCRCdataAPI documentation built on July 26, 2023, 9:47 p.m.