Calculates RubinRatios for Twitter users as originally proposed by Eric Weinstein in this tweet.
- Install node and yarn
- Clone this repo with
git clone git://github.com/adaddeo/rubinratio.git
- Install dependencies with
yarn install
- Create a
.env
file in the project root with variables:
CONSUMER_KEY=
CONSUMER_SECRET=
ACCESS_TOKEN_KEY=
ACCESS_TOKEN_SECRET=
These can be obtained by signing up for a developer account with Twitter.
You can optionally omit ACCESS_TOKEN_KEY
and ACCESS_TOKEN_SECRET
and supply a BEARER_TOKEN
instead for increased api rate limits (see docs).
node rubinratio.js [options]
-f input file of handles
-l comma-separated list of handles
-o=csv output results in csv format
-u calculate RubinRatio for all followers of this screen name
EXAMPLES
node rubinratio.js -l ericrweinstein,kanyewest
node rubinratio.js -u rubinreport -o csv
This project is licensed under the MIT License - see the LICENSE file for details.