Awfully written, live twitter analysis of 2016 campaign sentiment in service of learning some elixir.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
priv
test
web
.gitignore
README.md
brunch-config.js
dump.rdb
mix.exs
mix.lock
package.json

README.md

LiveCampaignSentiment

TODO

  1. Weighted average
  2. State by state algo (also, do daily, not 2 minutes)
  3. Rolling avg seems to track way too few tweets (maybe)
  4. Do something to make rolling feel even more realtime
  5. Lite payloads to frontend seem a bit wonky

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more