This repository was archived by the owner on Feb 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
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 formatAKL000001whereAKis 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:trueorfalse, whether the legislator has anyroles - Jurisdiction
-
state: the jurisdiction ID, e.g.ak
-
- Name
full_namefirst_name-
middle_name: mostly"" last_name-
suffixes: mostly""(suffixor+suffixalso occur rarely)
- Roles
-
roles: may be an empty array
-
- Offices
-
offices(+capitol_officeand+district_offices– with subfieldsstreet,city,zipandphone– also occur rarely)
-
- URLs
sourcessources.url
- Metadata
created_atupdated_at
-
email(+emailand+email_addressalso occur rarely) - Jurisdiction
-
country: alwaysus -
level: alwaysstate chamber-
district: if the legislator is active (+district,+disctict_nameand+district_namealso occur rarely) -
party: if the legislator is active (+partyalso occurs rarely)
-
- Roles
roles.typeroles.state-
roles.chamber:lower,upperorjoint roles.districtroles.termroles.partyroles.start_dateroles.end_dateroles.committeeroles.committee_idroles.positionroles.subcommitteeold_roles
- Offices
-
offices.type:capitolordistrict offices.name-
offices.address(office_addressoccurs in about 1 in 7 documents) (+address,+capital_address,+capitol_address,+city,+county,+district_address,+full_address,+office,+office_address,+office_loc,+room,+zipand+zipcodealso occur rarely) -
offices.phone(office_phoneoccurs in about 1 in 5 and+phonein 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_phoneand+phone_numberalso occur rarely) -
offices.fax: mostly null (+fax,+fax_numberand+office_faxalso occur rarely) -
offices.email: mostly null
-
- URLs
-
url: (+additional_info_url,+leg_url,offices.+url,+urland+websitealso occur rarely) -
photo_url(+photo,+image_urland+img_urlalso occur rarely)
-
- Crosswalk IDs
-
transparencydata_id: see_contributions_start_year,_total_contributionsand_yearly_contributions votesmart_id
-
- Internal
_locked_fields
csrfmiddlewaretoken+biography+end_date-
+gender:MaleorFemale -
+leg_status:Active,DeceasedorResigned +legal_position-
+notice(+noticemore rarely) -
+occupation(occupationand+professionmore 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