Legislative Information Lookup

From SmartWiki
Revision as of 14:00, 13 February 2025 by Mark Bridger (talk | contribs) (Mapping Field Paths)

Jump to: navigation, search

Overview

The Legislative Information Lookup feature allows administrators to pull legislative data into Text Box – Single or Multiple Line custom fields. This data includes the Representative Name, District Name, and District Type for both the Assembly (lower house) and the Senate (upper house) based on the organization's address.

Note: This feature is NOT available if multiple address types are enabled. You can check this setting under Global Settings > System Tab.

How to Configure the Feature

  1. Navigate to Global Settings > Organizations Tab and toggle on "Enable Legislative Information Lookup on Organization Address Standard Field."
  2. Click the Add button to insert a new mapping row.
  3. In the Mapping Field column, enter the path to the desired data (e.g., reps\lower\full_name).
  4. In the Custom Field column, enter or paste the name of the Text Box – Single or Multiple Line custom field where you want the data to be stored. If the field exists, it will appear below the input. Note: you must select the field after pasting or typing the name.
  5. Click Save, then repeat the process for any additional data mappings.

How to Use the Feature

Note multiple address types must NOT be enabled if you wish to use this feature. (Global Settings > System Tab).

  1. Open an organization record that has a U.S. address.
  2. Next to the Address standard field, click "Populate Legislative Information."
  3. Click Save to store the populated data in the record.

Mapping Field Paths

Data is sourced from OpenStates.org.

State Assembly (lower house)

Data Mapping Field
Representative Name: reps\lower\full_name
District Name reps\lower\district
District Type reps\lower\party

State Senate (upper house)

Data Mapping Field
Representative Name: reps\upper\full_name
District Name reps\upper\district
District Type reps\upper\party


Data for the House of Representatives is no longer available as of April 2025 as google has sunset this data feed. https://groups.google.com/g/google-civicinfo-api/c/9fwFn-dhktA

Representative Name:  city\offices\offcials\name
District Name:  city\name
District Type:  city\offices\offcials\party