I need data for gas storage levels in EU countries, which I could retrieve via a URL from an API of the data provider. Unfortunately, the file format is JSON, which RATS cannot read. I have written a small program in R, to download the data into excel files, which then I want to read into RATS for further analysis. However, I run into some difficulties. The preview in the windows explorer shows that the data is fine, including the date column and the headers for storage and capacity. I can also open the file in Excel without a problem. But the Data-Wizard does not read the date column and the headers.
Code: Select all
OPEN DATA "D:\Rats Files\Energy\France Gas Storage.xlsx"
CALENDAR(7) 2011:1:1
DATA(FORMAT=XLSX,NOLABELS,ORG=COLUMNS,TOP=2,LEFT=2,REVERSE) 2011:01:01 2021:10:06 STORAGE CAPACITYBest regards
PeterF