Learn R Programming

votesmart (version 0.1.2)

office_get_offices_by_level: Get offices by level

Description

Get offices by level

Usage

office_get_offices_by_level(office_level_ids)

Value

A dataframe with columns office_id, name, title, office_level_id, office_type_id, office_branch_id, short_title.

Arguments

office_level_ids

Vector of office levels.

Examples

Run this code
if (FALSE) {
office_get_offices_by_level("F")

office_get_levels() %>%
  pull(office_level_id) %>%
  .[1] %>%
  office_get_offices_by_level()
}

Run the code above in your browser using DataLab