Giter VIP home page Giter VIP logo

ipc's Introduction

CPI

INE eases the access to its datasets through an API. By defining a specific URL, we can carry out petitions of any type of data (time series, tables, etc). For this case, we want to download the table of CPI of different regions and dissagregated in categories and core CPI. An example of url to download this type of data would be:

https://servicios.ine.es/wstempus/js/ES/DATOS_METADAOPERACIÓN/IPC?g1=115:29&g2=3:74&g3=762:&nult=1

We will only focus on /DATOS_METADATAOPERACION/IPC?g1=70:9009&g2=3:74&g3=762:&p=1&nult=1.

  • /DATOS_METADATAOPERACION is the type of data. There are many and each one has different features.
  • /IPC is the variable of interest. After that, there is a ? which precedes some parameters of the search.
  • g1=115:29, 115 refers to the code of geographical level. In this case, it is provincial level and the province is Madrid, with code 29. Table codigo_provincias shows all the codes.
  • g2=3:74, 3 selects the group TYPE OF DATA that for this particular case is anual variation. See table codigos_tipo_dato for more options.
  • g3=762, with this code, we are able to select all the categories in which the CPI is computed. See table codigos_grupos_ECOICOP for more information.
  • nult=10, the last published data, then nult=1 will return the last 10 observations of the series.

If you want to download any type of table, I leave here the webpage where you can define your own URL to access to any dataset. See here.

ipc's People

Contributors

vanvincent8 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.