There is one more role: Resident Commissioner (used for Puerto Rico's
member of the House)

> And it's currently updating this:
>
> http://www.govtrack.us/data/us/bioguide3.csv
> CSV file with bioguide ID and the biographical text
>
> which will probably be done in four hours (it rate limits one page per
> second).
>
> An interesting limitation of that data is that reps don't have district
> numbers last I checked.

Yeah, that's likely because district numbers can change over time with
redistricting, or they can run for other offices, so the bioguide
biotext plays it safe by just using the role. There are other sites
that provide information about specific districts and more. I like
Charles Stewart's page at MIT, but even that data has typos: