Shared data utilities for civil service data pipelines.
- 🔓 Civil service organisations: Scripts for managing canonical civil service organisation data
- 🔓 Civil service staff numbers: Scripts for extracting civil service staff numbers data
- 🔓 CSPS extraction: Scripts for extracting Civil Service People Survey data
├── cs_data_utils/
│ └── utils.py
├── .gitignore
├── .pre-commit-config.yaml
├── LICENSE
├── README.md
├── pyproject.toml
└── requirements.txt
pip install git+https://github.com/instituteforgov/cs_data_utils.git@<commit>pip install -e "<path_to_your_local_copy>/cs_data_utils"NB: Even when installed in this way, in requirements.txt this will show a GitHub URL rather than a local path.
pip install -r requirements.txtThis project uses pre-commit hooks to ensure code quality. To set up:
-
Install
pre-commiton your system if you don't already have it:pip install pre-commit
-
Set up
pre-commitin your copy of this project. In the project directory, run:pre-commit install
Rules that are applied can be found in .pre-commit-config.yaml.
The hooks run automatically on commit, or manually with pre-commit run --all-files.
This project is licensed under the MIT License. See the LICENSE file for details.