Skip to content

Commit

Permalink
Update database-access.md (#471)
Browse files Browse the repository at this point in the history
* Update database-access.md

Add basic info about how to get database access as this page is linked in Find MoJ data

* Update database-access.md
  • Loading branch information
murdo-moj authored Dec 3, 2024
1 parent 91bbd07 commit 5144bca
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 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)
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.
Expand Down Expand Up @@ -32,4 +39,4 @@ users:
business_case: >
To create derived tables for Analytical Team 1.
```
```

0 comments on commit 5144bca

Please sign in to comment.