Skip to main content

A suite of PySpark, Pandas, and general pipeline utils for Reproducible Data Science and Analysis (RDSA) projects.

Project description

🧰 rdsa-utils

Deploy to PyPI Deploy MkDocs PyPI version PyPI - Python Version Code style: Ruff

A suite of PySpark, Pandas, and general pipeline utils for Reproducible Data Science and Analysis (RDSA) projects.

The RDSA team sits within the Economic Statistics Change Directorate, and uses cutting-edge data science and engineering skills to produce the next generation of economic statistics. Current priorities include overhauling legacy systems and developing new systems for key statistics. More information about work at RDSA can be found here: Using Data Science for Next-Gen Statistics.

rdsa-utils is a Python codebase built with Python 3.8 and higher, and uses setup.py, setup.cfg, and pyproject.toml for dependency management and packaging.

📋 Prerequisites

  • Python 3.8 or higher

💾 Installation

rdsa-utils is available for installation via PyPI and can also be found on GitHub Releases for direct downloads and version history.

To install via pip, simply run:

pip install rdsa-utils

📖 Documentation and Further Information

Our documentation is automatically generated using GitHub Actions and MkDocs. For an in-depth understanding of rdsa-utils, how to contribute to rdsa-utils, and more, please refer to our MkDocs-generated documentation.

📘 Further Reading on Reproducible Analytical Pipelines

While rdsa-utils provides essential tools for data processing, it's just one part of the broader development process needed to build and maintain a robust, high-quality codebase. Following best practices and using the right tools are crucial for success.

We highly recommend checking out the following resources to learn more about creating Reproducible Analytical Pipelines (RAP), which focus on important areas such as version control, modular code development, unit testing, and peer review -- all essential for developing these pipelines:

  • Reproducible Analytical Pipelines (RAP) Resource - This resource offers an overview of Reproducible Analytical Pipelines, covering benefits, case studies, and guidelines on building a RAP. It discusses minimising manual steps, using open source software like R or Python, enhancing quality assurance through peer review, and ensuring auditability with version control. It also addresses challenges and considerations for implementing RAPs, such as data access restrictions or confidentiality, and underscores the importance of collaborative development.

  • Quality Assurance of Code for Analysis and Research - This book details methods and practices for ensuring high-quality coding in research and analysis, including unit testing and peer reviews.

  • PySpark Introduction and Training Book - An introduction to using PySpark for large-scale data processing.

🛡️ Licence

Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.

The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.

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

rdsa_utils-0.2.2.tar.gz (47.8 kB view hashes)

Uploaded Source

Built Distribution

rdsa_utils-0.2.2-py3-none-any.whl (52.4 kB view hashes)

Uploaded 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