This function is a wrapper for the Committee.getCommittee() method of the PVS API Committee class which returns detailed committee data. The function sends a request with this method to the PVS API for all committee IDs given as a function input, extracts the XML values from the returned XML file(s) and returns them arranged in one data frame.
a character string or list of character strings with the committee ID(s) (see references for details)
A data frame with a row for each committee and columns with the following variables describing the committee:
Ulrich Matter <ulrich.matter-at-unibas.ch>
Use CandidateBio.getBio(), Committee.getCommitteesByTypeState() or Votes.getBill() to get committee ID(s).
1 2 3 4 5 6
# First, make sure your personal PVS API key is saved as an option # (options("pvs.key" = "yourkey")) or in the pvs.key variable: ## Not run: pvs.key <- "yourkey" # get information about a certain committee ## Not run: committee <- Committee.getCommittee(list(1,2)) ## Not run: committee
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.