API JSON
API JSON
Web service for looking up INEbase with output in JSON format
INE’s API JSON (Java Script Object Notation) service grants access to all the information available at INEbase, the system used by the Spanish National Statistics Institute (INE) for the publication of statistical information.
The structure of the requests via URLs and the simplicity of the JSON format enable the automatic exploitation of statistical information.
INEbase is the system the INE uses to publish statistical information. The information that will be accessible through the INE's JSON API service comes from three different sources:
To find out whether a statistical table is stored in Tempus3, in the PC-Axis file repository or in the tpx file repository, refer to the Table and series identifier codes.
All the information published by the INE, regardless of its source, will be available for review through the JSON API.
Paquete de R
The INEapir package is available to interact with the JSON API.
To facilitate access to the information provided by the JSON API, an R package has been developed that provides users with a set of functions to obtain data and metadata through calls to the API. The INEapir package incorporates all the latter's functionalities and allows the same queries to be made, from the most general to the most precise, also using the optional parameters, but with the advantage of obtaining the information directly in the developments made in R. In addition, the package has a web page with documentation and examples of use.