R/cg_state_party_countes.R

Defines functions cg_state_party_countes

Documented in cg_state_party_countes

#' state party counts
#'
#' @export
#' @template args
#' @examples \dontrun{
#' cg_state_party_countes()
#' }
cg_state_party_countes <- function(key = NULL, as = 'table', ...) {
  path <- "congress/v1/states/members/party.json"
  foo_bar(as, cgurl(), path, args = list(), key, ...)$results
}

Try the rsunlight package in your browser

Any scripts or data that you put into this service are public.

rsunlight documentation built on May 1, 2019, 10:18 p.m.