Learn R Programming

regcensus (version 1.0.1)

list_agencies: list_agencies

Description

Fetches the names of the agencies and their associated IDs

Usage

list_agencies(jurisdiction_id = NULL, keyword = NULL, reverse = FALSE)

Value

Returns dictionary containing names of agencies and associated IDs

Arguments

jurisdiction_id

ID for the jurisdiction

keyword

search for keyword in agency name

reverse

reverses the key-value mapping, default value of FALSE

Examples

Run this code
if (FALSE) list_agencies(jurisdiction_id = 38)

Run the code above in your browser using DataLab