Grains:
- The number of restaurant in NYC
- The number of compliances in different areas
- The number of compliance from march 2018 to March 2020
Fact tables:
- Number_restaurant table has RESTAURANT, DAY, MONTH, YEAR, LOCATION
- Number_compliance table has COMPLIANCE, TYPE, LOCATION, DAY,MONTH, YEAR
- Number_compliance_2018-2020 table has COMPLIANCE, TYPE, LOCATION, DAY,MONTH, YEAR
Dimensions:
- Restaurant: RestaurantID,name,type,AddressID,phone number
- Compliance: ComplianceID,type, description,BoroughsID,DateID
- Boroughs of NYC: BoroughsID,name
- Address: AddressID,borough, zip code, street, longitude,latitude
- Date: DateID, day, month, year
- Location: LocationID, type, landmark
KPIs:
- Number of restaurants in different areas/boroughs
- Compliance over time (before and during COVID-19)
- The number of compliances in different areas/boroughs
Datasets:
- 311 THE Service Requests from 2010 to Present https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/43nn-pn8j
- DOHMH New York City Restaurant Inspection Results https://data.cityofnewyork.us/Social-Services/311-Service-Requests-from-2010-to-Present/erm2-nwe9/data
- Restaurant data 2020
Dimensional Model: