powered by
Converts ProPublica API response into a tibble (data frame)
ppc_parse_data(r)
Reponse from ProPublica API
A tibble with headers attribute
A data frame of congressional information
# NOT RUN { ## get votes data<U+2013>return the raw response object v <- ppc_votes("senate", raw = TRUE) ## convert response object into data frame ppc_parse_data(v) # }
Run the code above in your browser using DataLab