Skip to content

A tool to support the identification of Review Clauses in legislation.

License

Notifications You must be signed in to change notification settings

DataS-DHSC/better-regulations-tool

The Better Regulations Tool

QA

A tool to support the identification of Review Clauses in legislation.

User guide

You can find a detailed user guide here.

Requirements

In order to use this tool, you will need a machine with conda installed.

  • conda installed

  • Python 3.12+ installed

Quickstart

To set up, open a terminal and create an environment from the provided environemnt.yml file using:

 conda env create -f environment.yml`

Then activate the environment using:

conda activate better-regulations-tool-env

To run the tool using the default settings use

python search_main.py

To change the settings and a run a customized search edit the example_config.yml file. This file is found in the inputs/configs folder.

The parameters in the config.yml are explained in more detail in the detailed user guide.

QA Status

The project has been QA'd.

Project Organization

├── .github                 <- Github actions and workflows.
├── docs                    <- Markdown documentation and user guide.
├── inputs
│   ├── data                    <- Raw and intermediary data.
│   └── configs                 <- Config files.
├── outputs                 <- Output data, logs and configs.
├── src                     <- Source code.
│   └── toolkit                 <- Toolkit subpackage.
├── tests                   <- Unit tests.
├── .flake8                 <- Linter configuration file for QA. 
├── .gitignore              <- Detailing folders and file types which will not be committed.
├── environment.yml         <- Dependency list for creating conda environment.
├── LICENSE                 <- License file.
├── main.py                 <- Main file for running tool.
|── README.md               <- The top-level README.
└── requirements.txt        <- Dependency list for QA only. Please use environment.yml 

Code of Conduct

Please read the Code of Conduct.

License

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.

Contact

For queries, help or feedback please contact the DHSC Data Science Hub.

About

A tool to support the identification of Review Clauses in legislation.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages