Other use cases
Obtain data from a series
To obtain the data of a single series, we need to know its identifying code (go to Table and series identifier codes).
Once you know the code of the series you are interested in, you can use the function SERIES_DATA to obtain the data you are interested in.
-
Obtain the last period of a series
For example, for the series with code IPC251856
https://servicios.ine.es/wstempus/js/EN/DATOS_SERIE/IPC251856?nult=1
-
Obtain the last 5 periods of a series
For example, for the series with code IPC251856
https://servicios.ine.es/wstempus/js/EN/DATOS_SERIE/IPC251856?nult=5
-
Obtain data between two dates
For example, between 01/01/2023 and 31/12/2023
https://servicios.ine.es/wstempus/js/EN/DATOS_SERIE/IPC251856?date=20230101:20231231&tip=A
-
Obtain data starting from a date
For example, from 01/01/2024
https://servicios.ine.es/wstempus/js/EN/DATOS_SERIE/IPC251856?date=20240101:&tip=A
Query statistical operations
The Tempus3 database contains information on all the INE's short-term statistical operations, those for which the results dissemination frequency is less than one year, and certain structural statistical operations. The list of operations in Tempus3 changes as they are integrated into the database. You can look up the list of available operations at any time with the functions AVAILABLE_OPERATIONS and OPERATION.
- Obtain available statistical operations from the system
-
Obtain a statistical operation
For example, the IPC operation using the internal Tempus3 alphabetic code (IPC)
Look up variables
System variables can be obtained by using the functions VARIABLES and OPERATION_VARIABLES.
-
Obtain all system variables
The answer is paginated (500 items per page)
-
Obtain variables for an operation
For example, the variables used in the CPI operation
https://servicios.ine.es/wstempus/js/EN/VARIABLES_OPERACION/IPC
Look up variable values
The values of a variable can be obtained using the functions VARIABLE_VALUES and OPERATION_VARIABLE_VALUES.
-
Obtain all values of a variable
For example, from the variable Provinces (Id=115)
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLE/115
-
Obtain all values of a variable for an operation
For example, the values of the variable "ECOICOP Groups" (Id=762) for the operation CPI (IOE30138 / CPI / 25)
https://servicios.ine.es/wstempus/js/EN/VALORES_VARIABLEOPERACION/762/25
Obtain information from tables
As far as tables are concerned, a list of the tables of an operation can be obtained by using the function OPERATION_TABLES and also the variables and values that define it with the functions TABLE_GROUPS and TABLE_GROUP_VALUES.
-
Obtain information from tables
For example, the list of tables of the statistical operation CPI (IOE30138 / CPI / 25)
https://servicios.ine.es/wstempus/js/EN/TABLAS_OPERACION/IPC
-
Obtain the combination of variables and values that define a table
A table is defined by different groups or selection combos and each of them by the values taken by one or more variables. The query of the values and variables constituting the table must be done in two parts:
-
First part of the query: Selection groups or combos defining the table Indices by Autonomous Community: general and ECOICOP groups" (Id 50913)
-
2. Second part of the query: Values of the group "Autonomous Communities and Cities" (Id=110924) belonging to the table Indices by Autonomous Communities: general and ECOICOP groups" (Id=50913)
https://servicios.ine.es/wstempus/js/EN/VALORES_GRUPOSTABLA/50913/110924?det=1
-
Obtain series information
As far as series are concerned, you can obtain information about a series with the function SERIESfunction, as well as the variables and values that define it with the function SERIES_VALUES. In addition, you can also obtain a list of the series in a table with the function SERIES_TABLE and a list of the series of an operation OPERATION_SERIES.
-
Obtain information from a series
For example, from the series covering the overall CPI index data (IPC251852) which shows the monthly change in the consumer price index
https://servicios.ine.es/wstempus/js/EN/SERIE/IPC251852?det=2&tip=A
-
Obtain the variables and values that define a series
For example, from the series covering the overall CPI index data (IPC251852)
https://servicios.ine.es/wstempus/js/EN/VALORES_SERIE/IPC251852?det=1
-
Obtain the list of series in a table
For example, the series in the table Indices by Autonomous Community: general and ECOICOP group indices of the CPI operation (Id 50913).
https://servicios.ine.es/wstempus/jsCache/EN/SERIES_TABLA/50913
The tv parameter can be used to filter by variables and values. More information in How to filter data from a table.
-
Obtain the list of series of a transaction
As the result is paginated, the page parameter must be used. Query of the first 500 series belonging to the IPC operation (IOE30138 / IPC / 25)
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=1
Query of the second 500 series belonging to operation IPC (IOE30138 / IPC / 25)
https://servicios.ine.es/wstempus/js/EN/SERIES_OPERACION/IPC?page=2
Browse publications
A list of all publications in the system can be obtained by using the function PUBLICATIONS, as well as a list of the publications of an operation with the function OPERATION_PUBLICATIONS. In addition, you can also view the publication dates of a particular publication with the function PUBLICATION_DATE_PUBLICATION.
- Obtain the list of all publications
-
Obtain the list of publications of an operation
For example, the publications of the CPI operation (IOE30138 / CPI / 25)
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONES_OPERACION/IPC
-
Obtain the publication dates of a publication
For example, from the publication "Consumer Price Index" (Id=8)
https://servicios.ine.es/wstempus/js/EN/PUBLICACIONFECHA_PUBLICACION/8?tip=A