office_get_offices_by_level {votesmart}R Documentation

Get offices by level

Description

Get offices by level

Usage

office_get_offices_by_level(office_level_ids)

Arguments

office_level_ids

Vector of office levels.

Value

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

Examples

## Not run: 
office_get_offices_by_level("F")

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

## End(Not run)

[Package votesmart version 0.1.2 Index]