Note: this code probably doesn’t work anymore with changes in the NY Times database. I’m keeping it here for historical purposes (4/22/2022). Here’s the figure! Code follows Comments are in-line below. Some unique strategies in this code: This will automatically download the latest NY Times dataset, but the date of “last day of follow-up” needs …
Monthly Archives: March 2020
Output a Stata graph that won’t be clipped in Twitter
Twitter sizing Twitter does this weird thing where it clips figures that aren’t the correct proportion. I came across this blog post that argues that 1100×628 px is the ‘optimal’ Twitter image size. So, how do you output Stata figures to be 1100×628? Output a Stata figure in Twitter size in 2 steps Step 1: …
Continue reading “Output a Stata graph that won’t be clipped in Twitter”