Skip to content

A Julia script to tun the xml for a vote provided by the clerk of the house into a more userful csv

License

Notifications You must be signed in to change notification settings

joshsack1/Rollcall_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rollcall Parser

Purpose

When building a database of house votes, it is helpful to be able to quickly incorporate the results of a roll call vote

How to use the parser

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

How to use the scraper

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.

About

A Julia script to tun the xml for a vote provided by the clerk of the house into a more userful csv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages