When building a database of house votes, it is helpful to be able to quickly incorporate the results of a roll call vote
Download the roll call vote(s) you want to as a .xml file from the Clerk of the House of Representatives, and save it to the folder you have cloned this project to.
Open the julia REPL with the julia
command in the terminal.
Enter the package manager in the REPL with the close bracket ]
Activate the package environment with the activate .
command
Return to the main REPL with the backspace.
Run the code with
include("parser.jl")
When prompted, enter the name of the xml file
The scraper scraper.jl
is a more general version of the tool. It is constructs a url based on the year and roll call vote number, and returns a dataframe, rather than a CSV.