## ACRO: Tools for the Automatic Checking of Research Outputs
[![DOI](https://zenodo.org/badge/534172863.svg)](https://zenodo.org/badge/latestdoi/534172863)
[![PyPI package](https://img.shields.io/pypi/v/acro.svg)](https://pypi.org/project/acro)
[![Python versions](https://img.shields.io/pypi/pyversions/acro.svg)](https://pypi.org/project/acro)
[![Codacy](https://app.codacy.com/project/badge/Grade/a125e023fd7744d79cb42cd31f6ea05e)](https://app.codacy.com/gh/AI-SDC/ACRO/dashboard)
[![codecov](https://codecov.io/gh/AI-SDC/ACRO/branch/main/graph/badge.svg?token=VVHI41N05F)](https://codecov.io/gh/AI-SDC/ACRO)
This repository holds the Python ACRO package. An R wrapper package is available: [ACRO-R](https://github.com/AI-SDC/ACRO-R).
A GUI for viewing and approving outputs is also available: [SACRO-Viewer](https://github.com/AI-SDC/SACRO-Viewer)
ACRO (Automatic Checking of Research Outputs) is an open source tool for automating the [statistical disclosure control](https://en.wikipedia.org/wiki/Statistical_disclosure_control) (SDC) of research outputs. ACRO assists researchers and output checkers by distinguishing between research output that is safe to publish, output that requires further analysis, and output that cannot be published because of a substantial risk of disclosing private data.
It does this by providing a lightweight 'skin' that sits over well-known analysis tools, in a variety of languages researchers might use. This adds functionality to:
* identify potentially disclosive outputs against a range of commonly used disclosure tests;
* suppress outputs where required;
* report reasons for suppression;
* produce simple summary documents TRE staff can use to streamline their workflow.
![ACRO workflow and architecture schematic](docs/schematic.png)
### Installation
ACRO can be installed via [PyPI](https://pypi.org/project/acro/).
If installed in this way, the example [notebooks](notebooks) and the [data](data) files used therein will need to be copied from the repository.
```
$ pip install acro
```
#### Notes for Python 3.13
ACRO currently depends on numpy version 1.x.x for which no pre-compiled wheels are available within pip for Python 3.13. Therefore, in this scenario, numpy must be built from source. This requires the installation of a C++ compiler before pip installing acro.
For Windows, the [Microsoft Visual Studio C++ build tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) will likely need to be installed first.
### Examples
See the example notebooks for:
* [Python charities dataset](notebooks/test.ipynb)
* [Python nursery dataset](notebooks/test-nursery.ipynb)
* [R charities dataset](https://ai-sdc.github.io/ACRO/_static/test.nb.html)
* [R nursery dataset](https://ai-sdc.github.io/ACRO/_static/test-nursery.nb.html)
### Documentation
The github-pages contains pre-built [documentation](https://ai-sdc.github.io/ACRO/).
### Training Materials
For training videos about ACRO, see [training videos](https://drive.google.com/drive/folders/1z5zKuZdiNth0c7CLBt3vDEyhGwSIocw_).
### Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
### Acknowledgement
This work was funded by UK Research and Innovation under Grant Number MC_PC_23006 as part of Phase 1 of the [DARE UK](https://dareuk.org.uk) (Data and Analytics Research Environments UK) programme, delivered in partnership with Health Data Research UK (HDR UK) and Administrative Data Research UK (ADR UK). The specific project was Semi-Automatic Checking of Research Outputs (SACRO).
<img src="docs/source/images/UK_Research_and_Innovation_logo.svg" width="20%" height="20%" padding=20/> <img src="docs/source/images/health-data-research-uk-hdr-uk-logo-vector.png" width="10%" height="10%" padding=20/> <img src="docs/source/images/logo_print.png" width="15%" height="15%" padding=20/>
Raw data
{
"_id": null,
"home_page": "https://github.com/AI-SDC/ACRO",
"name": "acro",
"maintainer": "Jim Smith",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "james.smith@uwe.ac.uk",
"keywords": "data-privacy, data-protection, privacy, privacy-tools, statistical-disclosure-control, statistical-software",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/1d/fd/261f758cd817c231b43efe43e0debbfe07b222f70780ee8b53f9335f70cd/acro-0.4.7.tar.gz",
"platform": null,
"description": "## ACRO: Tools for the Automatic Checking of Research Outputs\n\n[![DOI](https://zenodo.org/badge/534172863.svg)](https://zenodo.org/badge/latestdoi/534172863)\n[![PyPI package](https://img.shields.io/pypi/v/acro.svg)](https://pypi.org/project/acro)\n[![Python versions](https://img.shields.io/pypi/pyversions/acro.svg)](https://pypi.org/project/acro)\n[![Codacy](https://app.codacy.com/project/badge/Grade/a125e023fd7744d79cb42cd31f6ea05e)](https://app.codacy.com/gh/AI-SDC/ACRO/dashboard)\n[![codecov](https://codecov.io/gh/AI-SDC/ACRO/branch/main/graph/badge.svg?token=VVHI41N05F)](https://codecov.io/gh/AI-SDC/ACRO)\n\nThis repository holds the Python ACRO package. An R wrapper package is available: [ACRO-R](https://github.com/AI-SDC/ACRO-R).\n\nA GUI for viewing and approving outputs is also available: [SACRO-Viewer](https://github.com/AI-SDC/SACRO-Viewer)\n\nACRO (Automatic Checking of Research Outputs) is an open source tool for automating the [statistical disclosure control](https://en.wikipedia.org/wiki/Statistical_disclosure_control) (SDC) of research outputs. ACRO assists researchers and output checkers by distinguishing between research output that is safe to publish, output that requires further analysis, and output that cannot be published because of a substantial risk of disclosing private data.\n\nIt does this by providing a lightweight 'skin' that sits over well-known analysis tools, in a variety of languages researchers might use. This adds functionality to:\n\n* identify potentially disclosive outputs against a range of commonly used disclosure tests;\n* suppress outputs where required;\n* report reasons for suppression;\n* produce simple summary documents TRE staff can use to streamline their workflow.\n\n![ACRO workflow and architecture schematic](docs/schematic.png)\n\n### Installation\n\nACRO can be installed via [PyPI](https://pypi.org/project/acro/).\n\nIf installed in this way, the example [notebooks](notebooks) and the [data](data) files used therein will need to be copied from the repository.\n\n```\n$ pip install acro\n```\n\n#### Notes for Python 3.13\n\nACRO currently depends on numpy version 1.x.x for which no pre-compiled wheels are available within pip for Python 3.13. Therefore, in this scenario, numpy must be built from source. This requires the installation of a C++ compiler before pip installing acro.\n\nFor Windows, the [Microsoft Visual Studio C++ build tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) will likely need to be installed first.\n\n### Examples\n\nSee the example notebooks for:\n\n* [Python charities dataset](notebooks/test.ipynb)\n* [Python nursery dataset](notebooks/test-nursery.ipynb)\n* [R charities dataset](https://ai-sdc.github.io/ACRO/_static/test.nb.html)\n* [R nursery dataset](https://ai-sdc.github.io/ACRO/_static/test-nursery.nb.html)\n\n### Documentation\n\nThe github-pages contains pre-built [documentation](https://ai-sdc.github.io/ACRO/).\n\n### Training Materials\n\nFor training videos about ACRO, see [training videos](https://drive.google.com/drive/folders/1z5zKuZdiNth0c7CLBt3vDEyhGwSIocw_).\n\n### Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n### Acknowledgement\n\nThis work was funded by UK Research and Innovation under Grant Number MC_PC_23006 as part of Phase 1 of the [DARE UK](https://dareuk.org.uk) (Data and Analytics Research Environments UK) programme, delivered in partnership with Health Data Research UK (HDR UK) and Administrative Data Research UK (ADR UK). The specific project was Semi-Automatic Checking of Research Outputs (SACRO).\n\n<img src=\"docs/source/images/UK_Research_and_Innovation_logo.svg\" width=\"20%\" height=\"20%\" padding=20/> <img src=\"docs/source/images/health-data-research-uk-hdr-uk-logo-vector.png\" width=\"10%\" height=\"10%\" padding=20/> <img src=\"docs/source/images/logo_print.png\" width=\"15%\" height=\"15%\" padding=20/>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "ACRO: Tools for the Automatic Checking of Research Outputs",
"version": "0.4.7",
"project_urls": {
"Bug Tracker": "https://github.com/AI-SDC/ACRO/issues",
"Changelog": "https://github.com/AI-SDC/ACRO/CHANGELOG.md",
"Discussions": "https://github.com/AI-SDC/ACRO/discussions",
"Documentation": "https://github.com/AI-SDC/ACRO/wiki",
"Homepage": "https://github.com/AI-SDC/ACRO"
},
"split_keywords": [
"data-privacy",
" data-protection",
" privacy",
" privacy-tools",
" statistical-disclosure-control",
" statistical-software"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cd821e2ac7d46cbde68aff7a181ba3efc5e8e8988515f72688034615a2b97182",
"md5": "a8931285e048e672f48a6fc88ae1890b",
"sha256": "54ed513cd5c8c7ee6fe9e69b672c5e62d7bd9d0a7dff4e4b66eb00bdfe1ea9e8"
},
"downloads": -1,
"filename": "acro-0.4.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a8931285e048e672f48a6fc88ae1890b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 33599,
"upload_time": "2024-10-22T11:43:16",
"upload_time_iso_8601": "2024-10-22T11:43:16.529385Z",
"url": "https://files.pythonhosted.org/packages/cd/82/1e2ac7d46cbde68aff7a181ba3efc5e8e8988515f72688034615a2b97182/acro-0.4.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1dfd261f758cd817c231b43efe43e0debbfe07b222f70780ee8b53f9335f70cd",
"md5": "4a312b89547623f1077167239143c093",
"sha256": "115c23d98ce56220f1f6220739d3920e939a8fe991f72085a0edb3780d5ce184"
},
"downloads": -1,
"filename": "acro-0.4.7.tar.gz",
"has_sig": false,
"md5_digest": "4a312b89547623f1077167239143c093",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 50086,
"upload_time": "2024-10-22T11:43:17",
"upload_time_iso_8601": "2024-10-22T11:43:17.666770Z",
"url": "https://files.pythonhosted.org/packages/1d/fd/261f758cd817c231b43efe43e0debbfe07b222f70780ee8b53f9335f70cd/acro-0.4.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-22 11:43:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AI-SDC",
"github_project": "ACRO",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "acro"
}