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://127.0.0.1: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 Oct. 9, 2024, 9:58 p.m.