Code: Select all
open haver "C:\Haver\USECON"
data(format = haver) 1970:1 2015:2 i
close haver
Code: Select all
## IO30. There is no series CONSTANT on the file
Code: Select all
compute lbl = "i"
open haver "C:\Haver\USECON"
data(format = haver) 1970:1 2015:2 %s(lbl)
close haver
Code: Select all
## SX22. Expected Type INTEGER, Got SERIES[REAL] Instead
Since this is an external data source, I can't simply rename the series in the file.