princeton-election-consortium / data-backend Goto Github PK
View Code? Open in Web Editor NEWAll code related to scraping, parsing, cleaning, and processing data used by PEC
Home Page: http://election.princeton.edu
All code related to scraping, parsing, cleaning, and processing data used by PEC
Home Page: http://election.princeton.edu
make two seperate full state tables for the senate and presidential states and embed them in linked posts like for the covid sidebar
don't re-render the table if clicked region is same state as current--save time and avoid browser task load
add links to candidate names based on campaign site if exists -> ballotpedia page if known -> no link (these would only be extremely unimportant regions)
In line with conversation with Sam, adjust scraping pipeline to count the priors (2016 election results) as a poll. This will impact only states with <3 polls.
In current system, the prior is only used if there are 0 polls since 2020
Latest model output from Jacob and parse in candidates from Zach's work.
font and margins need to be smaller (probably 3 steps: full size, 1300px > 800px, <800px)
give each important state its own url
guide resource: https://developer.mozilla.org/en-US/docs/Web/API/URL
input format is not clear nor forgiving:
-maybe implement autocomplete
-at minimum be case sensitive and accept full or 2 letter postal state names
Sam's suggestions for UI response to input:
-If a single state is entered, I think it should zoom to that state.
-If a list of states is interested, I think it could zoom to the first state listed.
does it scrape Mississippi polls between Espy (D) and Hyde-Smith (R)? That is getting closer, need to start including it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.