sfirke / annarborvotes Goto Github PK
View Code? Open in Web Editor NEWSearch Twitter for firstname/lastname combinations from voter rolls, then tweet reminders to vote at those who match name & location.
License: MIT License
Search Twitter for firstname/lastname combinations from voter rolls, then tweet reminders to vote at those who match name & location.
License: MIT License
After scraping about 3,000-5,000 name combinations, RStudio has about 3.5GB of memory tied up, despite the reported usage being only 100MB (see http://stackoverflow.com/q/31385964/4470365). I thought this was due to growing a data.frame row-by-row but even when pre-allocating the size, the problem persists.
It would be much better if users could scrape say 15,000 names at a time rather than doing blocks of 3k and restarting RStudio after each one. But I don't know what is causing this.
The most recent timestamp of a tweet can be a retweet, just saw someone with last tweet = 2006 because in October 2015 they retweeted that 2006 tweet. One quick fix would be to grab the max of say the last 5 tweet timestamps.
This should be its own function - right now there's a skeleton for it but it's just empty space
Would be a fun and informative statistic to gather.
both have a blank value for "time_last_tweet" returned by the scraping function though some have thousands of tweets. Prioritize these restricted users as if their last tweet was 12 months ago, not as if they have never tweeted.
If on August 3rd 2015 a user's last tweet was August 21 2014, Twitter will display that as "August 21" not August 21 2014 the way it would for July 21 2014. Running this function in on August 3rd 2015 would put this August 21 tweet at the top of the months list, before July, when it should go last.
Low priority.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.