Skip to main content

data wrangling simplicity, complete audit transparency, and at speed

Project description

whyqd provides an intuitive method for restructuring messy data to conform to a standardised metadata schema. It supports data managers and researchers looking to rapidly, and continuously, normalise any messy spreadsheets using a simple series of steps. Once complete, you can import wrangled data into more complex analytical systems or full-feature wrangling tools.

It aims to get you to the point where you can perform automated data munging prior to committing your data into a database, and no further. It is built on Pandas, and plays well with existing Python-based data-analytical tools. Each raw source file will produce a json schema and method file which defines the set of actions to be performed to produce refined data, and a destination file validated against that schema.

whyqd ensures complete audit transparency by saving all actions performed to restructure your input data to a separate json-defined methods file. This permits others to scrutinise your approach, validate your methodology, or even use your methods to import data in production.

Once complete, a method file can be shared, along with your input data, and anyone can import whyqd and validate your method to verify that your output data is the product of these inputs.

Why use it?

If all you want to do is test whether your source data are even useful, spending days or weeks slogging through data restructuring could kill a project. If you already have a workflow and established software which includes Python and pandas, having to change your code every time your source data changes is really, really frustrating.

There are two complex and time-consuming parts to preparing data for analysis: social, and technical.

The social part requires multi-stakeholder engagement with source data-publishers, and with destination database users, to agree structural metadata. Without any agreement on data publication formats or destination structure, you are left with the tedious frustration of manually wrangling each independent dataset into a single schema.

whyqd allows you to get to work without requiring you to achieve buy-in from anyone or change your existing code.

Wrangling process

  • Create, update or import a data schema which defines the destination data structure;
  • Create a new method and associate it with your schema and input data source/s;
  • Assign a foreign key column and (if required) merge input data sources;
  • Structure input data fields to conform to the requriements for each schema field;
  • Assign categorical data identified during structuring;
  • Transform and filter input data to produce a final destination data file;
  • Share your data and a citation;

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

whyqd-0.1.1.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

whyqd-0.1.1-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file whyqd-0.1.1.tar.gz.

File metadata

  • Download URL: whyqd-0.1.1.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for whyqd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dc1774ac75012fae54568788cfa13fc3bf26ce82b7a803a8a3bd7e4c2994046d
MD5 fb202c9b583efc99e985d3cc64984182
BLAKE2b-256 19a1aebae141f957ab6e13d6d715525fb088d127ee3709b4266879618b30ab7d

See more details on using hashes here.

File details

Details for the file whyqd-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: whyqd-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for whyqd-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9179e40bafbfcff3d040c4d9c72123297a0221ebe7ae8465dcf93122c3e77ea0
MD5 6bb803e50c2132680d2a3c31cf861425
BLAKE2b-256 f53017a8b9e058962362767233e47572be1e8af144fe219ca9fb048b4f7974d3

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