lukestein’s avatarlukestein’s Twitter Archive—№ 2,916

  1. Looking at lots of state-level panel data using @Stata’s “tsline …, by(ST)” recently, and there is no reason for the states to be arranged alphabetically. So I put them on a map! Code here: gist.github.com/lukestein/af214b661158877dab08a1ad343a01b6
    oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @lukestein
      Of course, *after* coding this I discovered @JustinWolfers had done (a prettier version of) this already, and shared code on @jschwabish’s website. But my approach has some advantages (e.g., robustness to states missing data) and may be useful to someone. @JustinWolfers/872876743891333121
      1. …in reply to @lukestein
        Last thing: If you *don’t* want to map the graph panels, but *do* want to sort them somehow other than alphabetically, then “egen … axis(•)” is your friend. stata.com/statalist/archive/2011-03/msg01278.html
        1. …in reply to @lukestein
          And finally, for the aesthetes out there 🤜🤛: tsline entry, ytitle("") xtitle("") tlabel(, format(%tyYY)) by(st_map, iscale(*2) imargin(tiny) noedgelabel noixaxes noiyaxes noiytick noixtick cols(11) holes(`st_holes_list') title("Firm entry rate") note(""))
          oh my god twitter doesn’t include alt text from images in their API