Following previous discussions with Big Mike , and as an experiment, I have produced the following code in R.
It downloads most recent CPI data from FRED, computes the CPI %change, draws a chart, and posts it on nexusfi.com (formerly BMT) through nexusfi.com (formerly BMT) API.
Resulting post is there:
I do not pretend that this code is 'state of the art'. It is at least a basis from which one can play around.
library(quantmod)
library(RCurl)
# "CPI m/m" in Forex Factory calendar
# corresponds to the "CPI for All Urban Consumers (CPI-U): U.S. city average / All items
# / Seasonally adjusted changes from preceding month" of Bureau of Labor Statistics
# # and corresponds to the %change of FRED "CPIAUCSL"
# getSymbols("CPIAUCSL", src="FRED")
cpi.all