Skip to main content

An instrument to flatten OCDS data

Project description

Spoonbill is a library and command-line tool to convert OCDS data from JSON to Excel/CSV

Installation

Use the package manager pip to install spoonbill.

pip install spoonbill

Features

The primary use case for OCDS Flatten Tool is to convert data that conforms to the Open Contracting Data Standard from JSON to Excel / CSV (hereinafter tables).

It aims to improve the user’s experience with performing a simple transformation of JSON to tables by:

  1. Mitigating a high number of tables through rollup of top-level arrays into the initial table.

  2. Exploring the dataset to see what fields are available and customization to fit your requirements.

  3. Storing objects that follow the same schema in the same table. For example, an array of Document objects is allowed under 5 different objects (Award, Contract, Planning, Tenders,Implementation) woud be created as a single table.

For more examples see documentation

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

spoonbill-1.0.1b1.tar.gz (51.2 kB view hashes)

Uploaded Source

Built Distribution

spoonbill-1.0.1b1-py2.py3-none-any.whl (56.0 kB view hashes)

Uploaded Python 2 Python 3

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