get_fields: Get fields from table

View source: R/get_fields.R

get_fieldsR Documentation

Get fields from table

Description

Use API endpoint to produce a list of fields for a table. Requires API key.

Usage

get_fields(table, endpoint = "http://localhost:8000/api/")

Arguments

table

a string specifying the name of the table

endpoint

a string specifying the registry endpoint

Value

Returns a data.frame of fields and their attributes set to "none"


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