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.5.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: istacpy-0.5.0.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.5.0.tar.gz
Algorithm Hash digest
SHA256 98cc40195e70134e7d5619401d28bf9a96474a550e6aa17444b4d1b091669af1
MD5 39e08d1a4cacd05f1179ed8dd6658ed8
BLAKE2b-256 a359f4838c05136c6b26cb0a2f0e68b60942174c0394b1392908cac28c9aad35

See more details on using hashes here.

File details

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

File metadata

  • Download URL: istacpy-0.5.0-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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cfa4a4f3660cb1870bbb4a3f74d598654899e56dfd555fca173fc426865d0c9
MD5 1e2ad45d02f195fa46153438730f3eb8
BLAKE2b-256 c6f62e31e4443c686970d5cbcef29834980cf9d20653c0c140a2d5e2c53f4065

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