Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Express application to find Flesch-Kincaid scores of Twitter users

Notifications You must be signed in to change notification settings

guppy0130/twitter-grade-stats

Repository files navigation

Twitter Grade Stats

Build Status

A spinoff of an AP Stats project, now personalized!

Express application that takes in a Twitter handle and returns statistics about the Tweets from that account. Currently serves only webpages. Displays a pretty, modern HTML5 canvas chart of grade levels and a superimposed Normal distribution to show how Normal we are.

Thanks to the jstat/jstat library for Normal distribution calculations.

Deployment

  1. npm i to obtain dependencies.
  2. Create an application with Twitter and save API keys to environment variables TwitterConsumerKey and TwitterConsumerSecret.
  3. Modify or remove partials/analytics.hbs with your GAnalytics or from partials/base respectively.
  4. npm run dev and open localhost:port in the browser to ensure the key and secret works.

Note that:

  • Environment variables are not set by the application. So, if they're not set in your environment, npm start and npm test will crash.

A functional version of the application exists here.

About

Express application to find Flesch-Kincaid scores of Twitter users

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published