A data warehouse that stores content and content metrics, and exposes this information via an API, to help content owners measure and improve content on GOV.UK.
Data is combined from multiple sources, including Publishing API, Feedback and Google Analytics.
- Data warehouse - The database where we store all the metrics
- Fact - A record containing measurements/metrics
- Dimension - A characteristic that provides context for a fact (such as the time it was extracted, or the content item it belongs to)
- Star schema - The way we structure data in the data warehouse using fact and dimension tables
- ETL (extract, transform, load) - How we get data into the data warehouse
This is a Ruby on Rails app, and should follow our Rails app conventions.
You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.
Use GOV.UK Docker to run any commands that follow.
To run the test suite:
bundle exec rake