Library to interact with the INE JSON-Stat API
Project description
inejsonstat.py
IneJsonStat is a library for reading the JSON-stat data format responses from the Spanish National Institute of Stadistics (INE)'s JSON-stat API.
JSON-stat is a JSON format specialized in representing datasets mainly for statistic purposes. It's used by many institutions around the world, such as:
- Statistics Norway
- Eurostat
- United Nations Economic Commission for Europe
- Bank of Portugal
- Cantabrian Institute of Statistics
- Many others...
The main objective of the library its to ease the use interpretation and manipulation of retrieved data by the means of creating dynamically objects representing the hierarchically the different levels of information in a retrieved file.
This project is in early stages and has been developed for the University of Extremadura. You can contribute on its github repository or contact me directly in case of doubt or need via luismasc16@gmail.com.
Installation:
>>> pip install inejsonstat
Available languages: -'ES' (spanish) -'EN' (english)
Available inputs: These are the ids of the tables you request, they can be found here for the spanish INE (Instituto Nacional de EstadÃstica):
https://www.ine.es/dyngs/INEbase/listaoperaciones.htm
Optional nult: If not left blank, it will give the n last terms of the requested table
Optional date: If not left blank, it will give the terms of the requested table in:
-date=YYYYMMDD (a given date) -date=YYYYMMDD&date=YYYYMMDD (a list of given dates) -date=YYYYMMDD:YYYYMMDD (a range of dates)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for inejsonstat-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041d9bcd418a712acad0ef19a5433b0838add79cd250a5ffb2b588a6b8400c1e |
|
MD5 | 85fbb9e309f0f5726c82ad5874475618 |
|
BLAKE2b-256 | 09eacfd12cdba8e88a57c7f95473813fa9f06a9bdeb73a4a6781c342f48175e7 |