get_api_fields: Get fields contained in the response of the API using the API...

Description Usage Arguments Value Examples

View source: R/key_func.R

Description

Get fields contained in the response of the API using the API index name

Usage

1
get_api_fields(api_index)

Arguments

api_index

API index name you found using the search functions. You can also get these from data.gov.in from a specific API page. In the request URL, it is followed by /resource/xxxxxxxx For getting the relevant fields in the API use get_api_fields

Value

data.frame with 1 row , API that matches API ID ; contains ID, name and type of the field - name and type are usually the same; but we recommend using ID for queries.

Examples

1
get_api_fields("3b01bcb8-0b14-4abf-b6f2-c1bfd384ba69")

datagovindia documentation built on Sept. 27, 2021, 5:12 p.m.