Code Monkey home page Code Monkey logo

what-if's Introduction

What If?

Project live here: http://rasagy.in/what-if/

##Motivation

I always wanted to collect statements around "What if I had done blah blah", thinking of the possible timelines that we avoided (or wished were true). So I decided to search through twitter for tweets with a phrase above, and maybe compile it into a book of regrets for NaNoGenMo 2014. But without using code.

##Wait, what is this NaNoGenMo?

This is the second edition of National Novel Generation Month, that @dariusk started (organized?) last year. Read more about the NaNoGenMo here. Major updates (& hopefully feedback) on my project at NaNoGenMo 2014 issue #88.

##Collecting Data Using IFTTT to collect data. Created a recipe to search tweets & generate a json. Using a json instead of csv because I'm slightly unsure about extra commas in the tweet messing up the import.

Search query #1: ("what if I had" OR "What if you had" OR "What if she had" OR "What if he had") Search query #2: ("what if" had)

Saved as:

{"tweet": "{{Text}}", "created_at": "{{CreatedAt}}", "user": "{{UserName}}", "user_dp": "{{UserImageUrl}}", "link": "{{LinkToTweet}}"},

Current data dump (updated daily) on what-if-had-v2.txt

##Example data

Here are some (hand-picked) tweets from the first 12 hours:

  • What if you had to do all that I do, unnoticed, and all alone? Would you still have the same attitude?
  • What if I had it. Would I be the best?
  • What if I had those answers you needed!
  • What if she had no one to talk to or seek attention from? What would she do?
  • What if I had one more night for goodbye

##ToDo

  • Keep a check on SPAM. Keep updating query with possible keywords that you want to filter
  • Take a shot at one piece of json and see how it imports in Excel
  • Think about design & random elements
  • Write follow up blog post on the process

what-if's People

Contributors

rasagy avatar

Stargazers

 avatar

Watchers

 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.