Skip to main content

Consumes the UIS Bulk Data Download System (BDDS): get, select, subset, merge metadata/labels, search, other utilities

Project description

uisdata library

uisdata is a library for easy data access and manipulation of the datasets offered by the UNESCO Institute for Statistics (UIS).

Library modules

uisdata.bdds is the first module developed to consume the dataset archives of the Bulk Data Download System (BDDS) repository.

  • Access any BDDS zip archive; download the archive from the repo to memory or access the archive on your local drive
  • Subset the datasets based on lists of countries, years and indicators
  • Merge a dataset with its metadata (as columns or as a dictionary)
  • Merge a dataset with its country and indicator labels
  • Wrapper to do all the above with a single method
  • Reshape tables from long to wide format (multiple options)
  • Search utility to create lists of indicators and regions
  • ... more to come ...

Source code and installation

The test version of the source code is currently hosted on PyPi at:
https://pypi.org/project/uisdata/

Python requirement

uisdata requires a python 64-bit version. It has not been tested extensively to find the minimal viable version, but it will work on: python >=3.6 (64-bit)

Installation

pip install -i https://pypi.org/simple/ uisdata

Modules Dependencies

uisdata.bdds has not been tested extensively to find the minimal viable versions for its dependencies.
It requires the following libraries:
requests - a standard for making HTTP requests in Python. It abstracts the complexities of making requests behind a simple API.
pandas - an open-source Python Library providing high-performance data manipulation and analysis tool using its powerful data structures.
numpy - NumPy is a Python library used for working with arrays. It also has functions for working in domain of linear algebra, fourier transform, and matrices.

License

MIT License

Background

Work on uisdata started in 2021 for facilitating programmatic access to the UIS datasets. It is still under development, and I will be adding features in future iterations.

Tutorials / use-case

.bdds Use-case is provided through dataLore.
Clone the notebook to your dataLore account (sign-up required). Note that the library will self-update to the latest version.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

uisdata-0.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uisdata-0.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file uisdata-0.1.tar.gz.

File metadata

  • Download URL: uisdata-0.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for uisdata-0.1.tar.gz
Algorithm Hash digest
SHA256 2e088de537a4c2da3f0c1291deaee8095fc4b971c17d39d7585962f731554bf3
MD5 8657e7e418dd9609f999a0fc2c65c486
BLAKE2b-256 54ed5b4952bd2be87054d455fc859e02f28e8678e4857fdd9cc06a38e36dd17c

See more details on using hashes here.

File details

Details for the file uisdata-0.1-py3-none-any.whl.

File metadata

  • Download URL: uisdata-0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for uisdata-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e5a61b3c2d649f552b3debdda80e91869c061a7fbee54988df86956eda280d
MD5 ed8f7bb098e8a359452ef3702214c112
BLAKE2b-256 b4ec7e70e09c3f875bcf4c706271495348bd3b2ec18a6214e99191f4f42ba29b

See more details on using hashes here.

Supported by

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