Hello HelpeRs,
Attached is code to implement New York Times' data API.
How do I adjust the x-axis to something more meaningful? The layout provided is pretty difficult to read.
The code requires the rjson package. I tried installing the omegahat RJSONIO, but did not get it to work.
Request a New York Times Article API key. (See the attached code - comments at top.) It's FREE!!!
I tried converting the dat.all variable to as.Date format, but still didn't have luck changing the axis. Ideally, I'd like small tick marks on a daily scale ("-0.2"...) and the regular-sized ticks for all the dates that are illustrated, ideally with the first and last dates in the series being illustrated.
Your help is appreciated!!
Thank you, all.
Matt