Went from 5k tweets to 210 tweets using #Stata and the #TwitterAPI. Newest blog post: Cleaning up my Twitter timeline using Stata https://t.co/TQ5ObcXBL5 #blogupdate
@ayesharshahid Here's a skeleton do-file as an example - the website (https://t.co/WNJVEtZyKB) isn't perfect but you can always sign up for some other geocode api (such as Google Maps) and use this same format.
https://t.co/qO5Xf9PfnW
@startupecon Cool thanks, insheet was “retired” after version 12 https://t.co/jiokDtlGwO.
import delimited has a few nice options for dealing with quotes as well, bindquotes and stripquotes.
@RyanReedHill@Stata How do the times change if you use sreshape? It’s is a faster reshape and has options for missing(). SJ article here: https://t.co/NifTy7N8uh
Which new feature in Stata 16 is most exciting to you? Comment and RT using #StataDataScience19 for a chance to win a Stata water bottle AND new release shirt! Winner will be randomly selected at 2:30 PM CDT on 21 August. https://t.co/NjeTb8kIkO #StataGiftShop
@startupecon@Stata Yep. Outer quotes get stripped as string delimiters. Old statalist https://t.co/JwTKMMkkyU. Regular expressions substitute below - instead of looping through initials
gen firstname = regexs(0) if regexm(name, “[A-Za-z]+”)