get_existing: Return all entries posted to a table in the data registry

View source: R/get_existing.R

get_existingR Documentation

Return all entries posted to a table in the data registry

Description

Get entries (from the data registry) in a particular table

Usage

get_existing(
  table,
  limit_results = TRUE,
  detail = "all",
  endpoint = "http://127.0.0.1:8000/api/"
)

Arguments

table

a string specifying the name of the table

limit_results

a boolean specifying whether or not to limit the results, default is TRUE

detail

a string specifying what level of detail to return; options are "all" for all details or "id" for just URL and IDs

endpoint

a string specifying the registry endpoint

Value

Returns a data.frame of entries in table, default is limited to 100 entries

See Also

Other get functions: get_components(), get_entry(), get_file_hash(), get_github_hash()


ScottishCovidResponse/SCRCdataAPI documentation built on Oct. 9, 2024, 9:58 p.m.