Students: Fall 26 recruiting has now finished. Join CSG's email list.

Data & Analytics

CSG's Data & Analytics team builds the targeting models, data pipelines and tracking tools that campaigns, advocacy organizations and government relations clients rely on to make decisions.

Our analysts work from the voter file, certified election results, Census data and the public legislative record. Engagements are staffed by Carnegie Mellon students in statistics, information systems and computer science.

Campaign Targeting Model

An interactive demonstration of the precinct-level models CSG builds for campaign clients. Select a program goal and adjust the score threshold to see which precincts a campaign would prioritize, and the field resources required to reach them.

Read the Methodology The county and all figures shown are synthetic and do not reflect a real voter file.
Below threshold Prioritized, shaded by score
Methodology

Inputs

Active registrations and vote history from the voter file, certified precinct results from the last three contested elections, Census ACS data for each block group, precinct boundaries, and the campaign's own contact history.

Not used: purchased consumer or credit data, social media or browsing data, or any record of how an individual voted.

Construction

Records are standardized and placed in a precinct. Each precinct is described by past margins, swing, turnout by election type and midterm drop-off, then ranked against the rest of the county for persuasion and for turnout upside.

Reading the scores

Scores are percentiles: a precinct scoring 78 ranks above 78 percent of the county. Raising the threshold concentrates effort in fewer precincts; lowering it spreads the program wider.

Campaign Analytics

CSG supports candidates and issue campaigns with the modeling and planning behind a disciplined field program. We identify where persuasion and turnout efforts will have the greatest effect, and help campaigns allocate staff, volunteers and budget accordingly.

View the Targeting Model

Turnout and Persuasion Modeling

Precinct- and voter-level models built from the voter file, certified election results, Census data and a campaign's own canvass history. Each score is documented to its underlying sources.

Field and Budget Planning

Canvassing turfs, contact goals and budget scenarios that translate a campaign's targets into staffing and volunteer schedules.

Campaign Reporting

Dashboards that give campaign leadership a current view of early vote returns and field performance against goal.

Legislative & Regulatory Data

For government relations clients, CSG monitors the legislatures and agencies that shape a client's market. We collect the public record on a set schedule, standardize it across jurisdictions and have an analyst review every item before it reaches the client.

Coverage is defined for each engagement, typically the states and agencies relevant to a single industry. Many of our clients are startups bringing a regulated product to market.

Run a free Rule Check for your industry

Legislation and Votes

Bill text and amendments, sponsors, committee referrals, status history and roll-call votes, matched to a client's issues by keyword and statutory citation.

Sources: state legislature websites and public legislative data feeds

Hearings and Agendas

Hearing calendars, posted agendas and witness lists, delivered in time for a client to decide whether to submit testimony or written comment.

Sources: committee pages and published hearing notices

Rulemaking and Code

Proposed and final rules, comment deadlines and effective dates, together with the statutory and administrative code provisions a product must meet, compared across states.

Sources: state registers, agency rulemaking dockets and the Federal Register

Stakeholder Mapping

Registered lobbyists, the organizations they represent, and the trade associations and legislative offices already engaged on an issue.

Sources: state lobbying registrations and disclosure filings

Our Process

  1. CollectionScheduled retrieval from each legislature and agency in scope.
  2. StandardizationA single record format across states, chambers and text versions.
  3. Issue MatchingKeyword and citation rules, reviewed by an analyst, assign each item to a client issue.
  4. Change TrackingAmended text compared against prior versions, with changes flagged.
  5. Analyst ReviewA written summary for the client, with a source citation on every record.
Representative Work: State AI Sandbox Tracker This work relies on official data feeds and publicly posted records. It does not involve voter data.

How We Engage

Every CSG engagement follows the same structure, from an initial intake conversation through a final presentation and handoff. Clients work with a single named point of contact for the duration of the project.

Project Engagements

A defined deliverable, such as a targeting model, field plan or policy landscape analysis, scoped and priced before work begins.

Legislative Monitoring

Ongoing tracking of legislation, hearings and rulemakings across the jurisdictions in scope, with regular written updates.

Campaign Support

Modeling, field planning and reporting delivered across a campaign cycle, coordinated with the campaign's leadership.

The Engagement Process

  1. IntakeAn initial call to understand the client's needs, timeline and measures of success.
  2. StaffingA team drawn from policy, economics, information systems and computer science.
  3. ScopingA written scope setting out the deliverable, its cost and its schedule.
  4. Mid-Engagement ReviewA presentation of work in progress to confirm direction.
  5. Final PresentationDelivery of the finished work and handoff to the client's point of contact.
View a Sample Engagement Timeline

Client Confidentiality

NondisclosureEvery engagement is governed by a nondisclosure agreement executed before any data is shared.
Limited UseClient data is used solely for the engagement for which it was provided.
DeletionClient data is removed from CSG systems at the close of each engagement.

Data Cohort

CSG's Data Cohort gives Carnegie Mellon students in statistics, machine learning and information systems direct experience with client data. Members build production pipelines, prepare large and imperfect datasets, and develop the models behind CSG's campaign and policy work.

Data EngineeringPython and SQL pipelines for voter files, legislative records and public data feeds.
Statistical ModelingLogistic regression, random forests and Bayesian inference applied to voter behavior.
Client CommunicationPresenting technical findings as clear recommendations for campaign and organizational leadership.
Apply to the Data Cohort
csg_precinct_model.pyIllustrative
import pandas as pd
from sklearn.linear_model import LogisticRegression

# Ingest: voter file, certified results, Census, boundaries
voters  = pd.read_csv('voter_file_export.csv')
results = pd.read_csv('precinct_results_2020_2024.csv')

# Match and clean; unmatched records go to review, never guessed
voters = standardize(voters).pipe(geocode).sjoin(bounds)
review = voters[voters.precinct_id.isna()]

# Scores are percentile ranks inside the county
p['persuasion'] = rank_pct(closeness(p), swing(p))
p['turnout_upside'] = rank_pct(p.registered * p.dropoff)

# Allocate: best expected votes per door first, cut at budget
universe = p.sort_values('votes_per_door').pipe(cut_at_budget)
A simplified excerpt of the pipeline behind the Campaign Targeting Model.

Tell us what you're working on.

Whether you are building a political campaign, launching an advocacy coalition or scaling a nonprofit initiative, our team can provide the data-driven insight to advance your objectives.