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

View source: R/key_func.R

get_api_fieldsR Documentation

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

Description

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

Usage

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

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



econabhishek/datagovindia documentation built on Sept. 27, 2024, 9:02 p.m.