ECR: timeseries and observations

This topic applies to the ecr dataset.

The dataset separates the metadata of a series, the Timeseries entity, from the numerical values, the Observation entity. This enables an efficient transfer of the observations, because the unchanging metadata is not repeated for each observation.

Fields stored at the Timeseries level include mnemonic, bank, economicConcept, frequency, scale, asOfDateTime and unit.

Fields stored at the Observation level include asOf, modificationTime and value.

All entities, including Observation and Timeseries, are identified by an id field, and corresponding Observation and Timeseries records have the same id.

The Timeseries entity and the timeseries service

The entity named Timeseries is not the same thing as the timeseries service. The service gives the history of updates of any entity. The following URL gives the history of updates of the Timeseries entity with id=0110002374, which shows when the frequency, economic concept or other metadata of a series changed:

https://consumer.qa.data.spglobal.com/ecr/Timeseries/timeseries?id=0110002374

The following URL gives the sequence of values of the Observation entity with id=0110002374:

https://consumer.qa.data.spglobal.com/ecr/Observation/timeseries?id=0110002374

Finding timeseries

Timeseries records can be looked up by bank or by mnemonic.

  • Provide a bank parameter to look up the Timeseries of a bank. The response can be very large, so set a limit and request further pages with after.

    https://consumer.qa.data.spglobal.com/ecr/Timeseries/latest?bank=BANKID&limit=1000&envelope=true

  • To find individual Timeseries, look them up by mnemonic. A limit is not required when the list of mnemonics does not exceed 1000.

    https://consumer.qa.data.spglobal.com/ecr/Timeseries/latest?mnemonic=MNM01,MNM02

  • It is also possible to look up Timeseries by wefaMnemonic. To avoid ambiguity, also specify version.

    https://consumer.qa.data.spglobal.com/ecr/Timeseries/latest?wefaMnemonic=WMNM01,WMNM02&version=W

Tip: A request can contain a list of WEFA mnemonics and one version, or one WEFA mnemonic and a list of versions. A list of both can return additional results that you do not need.