Giter Club home page Giter Club logo

openelections-frontend's Introduction

Openelections Frontend

Web entry point for OpenElections project status and data.

Spec

The finished product will include the following:

  • Choropleth map that shows progress on collecting metadata (i.e. "not started", "in progress", "up-to-date")
  • Names of each U.S. state's adopter(s)
  • Count of how many elections have been covered for a particular state
  • Date for when the data was last updated for a particular state
  • Raw result files available for download by state, year and election type (i.e. Democratic or Republican primary, general, special, runoff)
  • List of available file types for each state, year and election
  • Direct link to the source for each state, year and election
  • Way to download national data or all the states

Ideas for design

  • Interactive map color-coded by status
  • Sidebar for displaying a state's data
    • Icons or color-coding by election type
    • Icons indicating file type
    • Dropdown menu to download all the data for a particular year or election type
    • Filter by election type

Notes

Metadata API

This will eventually be wired to live data via an endpoint of the OpenElections Metadata API.

Here's an example request for one state's metadata:

GET http://openelections.net/api/v1/election/?state__postal=MD&format=json&limit=0

The API is built using Tastypie, so there are a number of Django-ORM-like filters available. For instance, if it's easier to use lower-case state abbreviations:

GET http://openelections.net/api/v1/election/?state__postal__iexact=md&format=json&limit=0

OpenElections Data Process

https://docs.google.com/drawings/d/1BajHKetb5-_Ap-c0RZmMUh9LsMxDX9uZLNCnzfjTZp8/edit

Contributors

  • Margie Roswell (@mroswell)
  • Chloe Whiteaker

openelections-frontend's People

Contributors

chloejoy avatar ghing avatar mroswell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.