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
Metadata fields
jpmckinney edited this page Apr 19, 2013
·
9 revisions
The metadata collection is populated by __init__.py files in the scrapers directory (see e.g. OpenStates). As such, it is very consistent.
Fields that are candidates for elimination are given in bold.
-
_id: the jurisdiction ID, e.g.ak -
_type: alwaysmetadata -
name: the jurisdiction name, e.g.Alaska -
legislature_name: the legislature name, e.g.Alaska State Legislature -
capitol_timezone: the legislature's timezone, e.g.America/Anchorage, used to set the time correctly when importing data -
abbreviation: same as_id -
feature_flags: one or more ofcapitol_maps,events,influenceexplorerorsubjects-
capitol_maps: the jurisdiction has researched maps of the capitol building (used by iOS app) -
events: the jurisdiction has events (experimental) -
influenceexplorer: legislators have Influence Explorer fields, e.g.transparencydata_id -
subjects: the jurisdiction has categorized subjects
-
-
latest_update: the date of the latest scraper run - Chambers
chamberschambers.upper-
chambers.upper.name: the upper chamber's brief name, e.g.Senate -
chambers.upper.title: the title for members of the upper chamber, e.g.Senator
- Terms
termsterms.nameterms.sessionsterms.end_yearterms.start_year
- Sessions
session_details
- Downloads
latest_json_urllatest_json_datelatest_csv_urllatest_csv_date
_ignored_scraped_sessionslegislature_url- Chambers
chambers.lower-
chambers.lower.name: the lower chamber's brief name, e.g.House -
chambers.lower.title: the title for members of the lower chamber, e.g.Representative
-
_partial_vote_bill_id: used by RI bills scraper -
requests_per_minute: occurs only on NY and seems to have no effect - Chambers
-
chambers.lower.term: the length, in years, of a term for members of the chamber -
chambers.upper.term: the length, in years, of a term for members of the chamber
-
- Terms
-
terms.biennium: used by MN committees scraper -
terms.session_number: used by MT legislators scraper -
terms.start_dateoccurs only on CA and seems to have no effect -
terms.typeoccurs only on TX and seems to have no effect
-
- Features
capitol_mapscapitol_maps.namecapitol_maps.url