Skip to main content

Python package for obtaining open data from Instituto Canario de Estadística (ISTAC)

Project description

Logo istacpy

istacpy is a Python package for obtaining open data from Instituto Canario de Estadística (ISTAC). It provides a wrapper to the open API catalog.

Installation

pip install istacpy

Usage

The package is divided into several modules depending on the resource you want to retrieve.

Indicators

Example 1: Get a list of all available indicators:

from istacpy.indicators import indicators
indicators.get_indicators()

Example 2: Get a list of geographic granularities treated in the ISTAC-indicators database. For example provincial, insular or municipal granularity:

from istacpy.indicators import geographic
geographic.get_indicators_geographic_granularities()

Statistical resources

Example 1: Get all existing statistical data cubes:

from istacpy.statisticalresources import cubes
cubes.get_statisticalresources_datasets()

Example 2: Get all the data sets maintained by a certain organization:

from istacpy.statisticalresources import cubes
cubes.get_statisticalresources_datasets_agency(agencyid='ISTAC')

Structural resources

Example 1: Get a list of classifications:

from istacpy.structuralresources import classifications
classifications.get_structuralresources_codelists()

Example 2: Get a list of geographic coordinate from Icod de los Vinos:

from istacpy.structuralresources import variables
variables.get_structuralresources_geoinfo('VR_TERRITORIO', 'MUN_ICOD_VINOS')

Documentation

For a full documentation of all available functions within the package, please see http://istacpy.readthedocs.io/

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

Changelog

Consult the Changelog page for fixes and enhancements of each version.

Contact

You can also contact us via email at edatos.istac@gobiernodecanarias.org.

License

Copyright Instituto Canario de Estadística (ISTAC), 2018.

Distributed under the terms of the GPLv3 license, istacpy is free and open source software.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

istacpy-0.4.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

istacpy-0.4.2-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file istacpy-0.4.2.tar.gz.

File metadata

  • Download URL: istacpy-0.4.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for istacpy-0.4.2.tar.gz
Algorithm Hash digest
SHA256 62f01a906d8020e48cad925b17ff8c0f331d3fc35e4a1ad784f4bcc18c3a226d
MD5 62900a3fcb556cd8855e3bf3d0a5efdc
BLAKE2b-256 e570536a7fec762f886751a16588852c8a0d47eb28d4940e5fd224e801be6951

See more details on using hashes here.

File details

Details for the file istacpy-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: istacpy-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for istacpy-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0528941be3edcd4fcaa7be4c8d0029c7b47bcc657c528f393ce7fa135ffdf83e
MD5 67eee174c5a12076d3ec745800859a27
BLAKE2b-256 b447840eeb71cb07aa46c10c48207083ef9de74ab16a2640aef16ff2e6f63edf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page