This repository has been archived by the owner on Feb 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Legislators fields
jpmckinney edited this page Apr 21, 2013
·
19 revisions
Fields that are candidates for elimination are given in bold.
-
_id
: the person ID in the formatAKL000001
whereAK
is the uppercase jurisdiction ID -
_all_ids
: all IDs of merged documents plus this document's_id
-
_type
: alwaysperson
-
_scraped_name
: mostly same asfull_name
-
leg_id
: same as_id
-
active
:true
orfalse
, whether the legislator has anyroles
- Jurisdiction
-
state
: the jurisdiction ID, e.g.ak
-
- Name
full_name
first_name
-
middle_name
: mostly""
last_name
-
suffixes
: mostly""
(suffix
or+suffix
also occur rarely)
- Roles
-
roles
: may be an empty array
-
- Offices
-
offices
(+capitol_office
and+district_offices
– with subfieldsstreet
,city
,zip
andphone
– also occur rarely)
-
- URLs
sources
sources.url
- Metadata
created_at
updated_at
-
email
(+email
and+email_address
also occur rarely) - Jurisdiction
-
country
: alwaysus
-
level
: alwaysstate
chamber
-
district
: if the legislator is active (+district
,+disctict_name
and+district_name
also occur rarely) -
party
: if the legislator is active (+party
also occurs rarely)
-
- Roles
roles.type
roles.state
-
roles.chamber
:lower
,upper
orjoint
roles.district
roles.term
roles.party
roles.start_date
roles.end_date
roles.committee
roles.committee_id
roles.position
roles.subcommittee
old_roles
- Offices
-
offices.type
:capitol
ordistrict
offices.name
-
offices.address
(office_address
occurs in about 1 in 7 documents) (+address
,+capital_address
,+capitol_address
,+city
,+county
,+district_address
,+full_address
,+office
,+office_address
,+office_loc
,+room
,+zip
and+zipcode
also occur rarely) -
offices.phone
(office_phone
occurs in about 1 in 5 and+phone
in about 1 in 7 documents) (+bis_phone
,+business_phone
,+capital_phone
,+capitol_phone
,+district_phone
,+home_phone
,+office_phone
,offices.+cellphone
,offices.+home_phone
,+other_phone
and+phone_number
also occur rarely) -
offices.fax
: mostly null (+fax
,+fax_number
and+office_fax
also occur rarely) -
offices.email
: mostly null
-
- URLs
-
url
: (+additional_info_url
,+leg_url
,offices.+url
,+url
and+website
also occur rarely) -
photo_url
(+photo
,+image_url
and+img_url
also occur rarely)
-
- Crosswalk IDs
-
transparencydata_id
: see_contributions_start_year
,_total_contributions
and_yearly_contributions
votesmart_id
-
- Internal
_locked_fields
csrfmiddlewaretoken
+biography
+end_date
-
+gender
:Male
orFemale
-
+leg_status
:Active
,Deceased
orResigned
+legal_position
-
+notice
(+notice
more rarely) -
+occupation
(occupation
and+profession
more rarely) +org_info
+resident_county
+role
+start_year
+sworn_in_date
+town_represented
- Name
-
nickname
: mostly""
-
+title
: always""
-
- Roles
-
roles.country
: alwaysus
-
roles.level
: alwaysstate
roles.other_parties
-
- URLs
sources.retrieved
-
sources.+page
: a note describing the link +contact_form
+facebook_url
- Crosswalk IDs
-
nimsp_id
(not maintained, redundant with transparencydata_id) -
nimsp_candidate_id
(not maintained, redundant with transparencydata_id) +oregon_member_id
-
- Internal?
_code
_guid