04 / 06Four person MSc team project

Data Management

Can better data structure improve reporting?

Our team analysed a merchant data management problem, mapped flows and relationships, and documented a proposed relational SQL prototype.

Key finding

A normalised six table schema with keys and history, plus seven analytical queries.

Explore the evidence ↓
DFDData movement mapped
ERDRelationships modelled
SQLPrototype executed

01 · Decision

Our team defined the decision before selecting a method.

How could clearer data flows and relational structure support more reliable reporting for an Uber Eats style operating model?

A diagram had to become a database that could answer questions.

Our team moved from data flow analysis to entity relationships and a proposed SQL prototype. The flat file had one table, no enforced keys and a single scan date, so the new schema separates location, delivery, status, reviews, promotions and scans, each with its own history.

Where the work could be stronger

The group report identifies substantial missing merchant fields. Adding reproducible test cases would make the prototype checkable by another analyst.

02 · Approach

Our team organised the analysis in the following sequence.

  1. 01

    Our team defined the business problem and reviewed the organisation’s data management context.

  2. 02

    We mapped the movement of data with a data flow diagram and modelled the relational structure with an entity relationship diagram.

  3. 03

    We translated the ERD into a normalised six table schema with primary and foreign keys and a recorded_at timestamp on each dependent table, so fees, availability and ratings could be tracked over time.

  4. 04

    We wrote seven analytical queries, including window functions to rank merchants by rating within each city and aggregations to segment performance by price tier.

03 · Evidence

The results support the following interpretation.

The submitted coursework identifies 997 missing delivery fee values out of 1,000 merchant records (99.7%) Review ratings were missing for 58.2%, and 98.6% of merchants were recorded as closed; with a single scan date for every record, genuine closures could not be told apart from merchants that were simply closed at scan time. The proposed six table schema and seven analytical queries were designed to make pricing, performance benchmarking and promotion analysis reliable.

Delivery pathFrom business process to working SQL.
01Map movementDFD
02Model relationshipsERD
03Build & querySQL

Scope: assessed four person team prototype; production deployment falls outside the project evidence.

From the submitted group reportData quality before database design.

Our four person team analysed a 1,000 record Alabama merchant dataset. Delivery fee values were missing in 997 records (99.7%), while promotions were absent in 890 records (89.0%). These are findings about the coursework dataset, not claims about Uber Eats’ production systems.

Delivery fee values missing99.7%
Promotion values missing89.0%

What the proposed schema addressed

The team proposed separating merchant identity from changing operational information in six related tables. The submitted assignment includes a proposed entity relationship diagram and describes a SQL prototype. No production deployment or achieved commercial improvement is claimed.

Seven analytical questions described in the report
  1. Rank merchant ratings within each city.
  2. Compare delivery fees and their data coverage across cities.
  3. List promotions alongside review performance.
  4. Identify high rated merchants with active promotions.
  5. Summarise performance by price category.
  6. Assess delivery time and fee coverage by city.
  7. Profile open merchants using available operational fields.

These are the report’s descriptions of the seven query purposes; the scripts themselves are not published.

Source: Data Management Group Assignment, submitted MSc coursework. Group work is attributed to the team, not solely to Daniel.

Original coursework figure · team projectThe proposed relational design.

The group’s proposed ERD links a central Location record with Delivery, Status, Promotion, Reviews and Scan. It is a coursework design proposal, not an image of a deployed Uber Eats database.

Original proposed database ERD showing six linked tables: Location, Delivery, Status, Promotion, Reviews and Scan with primary and foreign keys.

Before: submitted current state data flow

The team mapped where merchant and platform records move and annotated the source data quality issues. This is a coursework process model, not an observed view into a live platform.

Original level one current state data flow diagram from the group report, showing restaurant partners, platform data, cleaning, the restaurant dataset and an analyst.

After: proposed improved data flow

The group’s proposed design routes merchant and platform events through validation and cleaning toward a normalised schema and analytical reporting. Proposed controls are design intentions, not implemented production changes.

Original level one proposed data flow diagram showing event driven ingestion, schema validation, six normalised tables and insight reporting.

Source: original ERD and current/proposed DFD figures from the submitted Data Management group report.

Read the proposed database data dictionary ↗
Explore the model in 3D
Data relationshipsInteractive 3D

Entities → Relationships → SQL

Preparing 3D view. The findings are available below.
Diagram view
Entities → Relationships → SQL

Conceptual relational structure from the team project. The displayed entities and links are illustrative, not the submitted ERD or a production database.

Read the supporting case ↗

04 · Decision implications

Our team translated the analysis into practical next steps.

  • Agree the business entities and relationships before building reports on top of them.
  • Use the same business rules in the conceptual model and the implemented schema.
  • Test the database through decision relevant queries rather than treating creation as the finish line.

05 · Limits

The evidence has defined limits.

This was assessed group coursework on a public merchant dataset, not Uber Eats production work, and the SQL scripts are not published.

06 · Next iteration

Our team would strengthen the next iteration.

Publish the SQL queries, sample result sets and explicit tests with accurate group attribution.

07 · Attribution

I distinguish my contribution from the complete project output.

There were no fixed specialist roles. We divided the work as evenly as possible across four people and shared coverage of the report, modelling and SQL prototype.

Toolkit

SQLRelational modellingERDDFDData management