From 0e7b75bbc491941b05784b958e89883ce2e716e1 Mon Sep 17 00:00:00 2001 From: Murdo <109604278+murdo-moj@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:20:41 +0000 Subject: [PATCH 1/2] Update database-access.md Add basic info about how to get database access as this page is linked in Find MoJ data --- .../tools/create-a-derived-table/database-access.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/documentation/tools/create-a-derived-table/database-access.md b/source/documentation/tools/create-a-derived-table/database-access.md index 3678358f..be75f756 100644 --- a/source/documentation/tools/create-a-derived-table/database-access.md +++ b/source/documentation/tools/create-a-derived-table/database-access.md @@ -1,5 +1,10 @@ # Database Access +To get access to AP data, users must use the [data-engineering-database-access](https://github.com/moj-analytical-services/data-engineering-database-access) service. [Database resources](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/database_access) define access for databases, and these are assigned to users via [project files](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/project_access). + +Some standard assets, like lookups, are accessible to all users. [There is a list of standard assets.](https://github.com/moj-analytical-services/data-engineering-database-access/blob/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/project_access/standard-database-access.yaml) +For example, to gain access to [nomis addresses](https://github.com/moj-analytical-services/data-engineering-database-access/tree/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/database_access/nomis/addresses), a user should be assigned it [via a project](https://github.com/moj-analytical-services/data-engineering-database-access/blob/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/project_access/nomis_dbt.yaml#L18) + ## Standard database access The first thing you'll need to work with Create a Derived Table is an [Analytical Platform account](https://user-guidance.analytical-platform.service.justice.gov.uk/get-started.html#2-analytical-platform-account) with standard database access. If you don't have that already, follow the [guidance on how to make changes to the standard database access project file](https://github.com/moj-analytical-services/data-engineering-database-access#standard-database-access) in the Data Engineering Database Access repo. @@ -32,4 +37,4 @@ users: business_case: > To create derived tables for Analytical Team 1. -``` \ No newline at end of file +``` From 5eefc41905bfc757b280f92712d3d00172c316f9 Mon Sep 17 00:00:00 2001 From: Murdo <109604278+murdo-moj@users.noreply.github.com> Date: Fri, 29 Nov 2024 16:33:34 +0000 Subject: [PATCH 2/2] Update database-access.md --- .../tools/create-a-derived-table/database-access.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/documentation/tools/create-a-derived-table/database-access.md b/source/documentation/tools/create-a-derived-table/database-access.md index be75f756..a1302e34 100644 --- a/source/documentation/tools/create-a-derived-table/database-access.md +++ b/source/documentation/tools/create-a-derived-table/database-access.md @@ -1,5 +1,7 @@ # Database Access +To access databases via the AP, you must have an AP account. [There is a quickstart guide in the docs.](https://user-guidance.analytical-platform.service.justice.gov.uk/get-started.html#quickstart-guide) + To get access to AP data, users must use the [data-engineering-database-access](https://github.com/moj-analytical-services/data-engineering-database-access) service. [Database resources](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/database_access) define access for databases, and these are assigned to users via [project files](https://github.com/moj-analytical-services/data-engineering-database-access/tree/main/project_access). Some standard assets, like lookups, are accessible to all users. [There is a list of standard assets.](https://github.com/moj-analytical-services/data-engineering-database-access/blob/f4f433c5363a8a2d591c53913ee3bbdfe70b6f99/project_access/standard-database-access.yaml)