GithubHelp home page GithubHelp logo

hotels's Introduction

Hotels Dashboards

Streamlit App CodeBuild Poetry

The aim of this project is to keep skills for dashboards and deployment.

Dataset

The data set comes from the papar Antonio, Almeida and Nunes, 2019. The data files can be obtained at tidytuesday repository.

Dashboards

๐Ÿ“– Hotel PMS Dashboard

A hotel PMS (Property Management System) is a system that manages information about hotel room reservations: Who reserved a room of type X for the period T1 to T2, the status of the reservation, and so on.

This dashboard reproduces the PMS dashboard.

๐Ÿ“Š Internal Dashboards

What kind of dashboards can we build for the company/hotel by utilizing the PMS data?

  • Hotel usage: Number of occupied rooms. Number of guests.
  • Sales: Revenue. Revenue per occupied room (RevPOR).
  • Marketing: Sales/Number of guests by country. Number of families. Marketing segments and distribution channels.
  • Cancellation: Cancellation rate (by country), survival rate, number of no-shows.

Data Pipeline

Our ETL pipeline follows so-called medallion architecture.

Data pipeline: original โ†’ raw โ†’ cleaned โ†’ aggregated

  • Bronze: hotels.parquet. This is just a parquet version of the original data (CSV).
  • Silver: bookings.parquet. An analysis ready data. Several fields are added, so that we can easily analyze the data. A simple example is arrival_date. The original data has three columns for the dates: year, month, day. arrival_date is a compilation of the three columns.
  • Gold: actions.parquet. This data shows the flows of reservations: arrival โ†’ stay โ†’ departure.

The data pipeline and the data assets are managed by DVC. The following command executes the data pipeline and reproduces data assets.

poetry run dvc repro

Remark

DVC is enabled in this repository. Because the remote repository is private, you have to replace it with your repository if you want to reproduce this project.

Infrastructure

  • Codebase: GitHub
  • Dashboard platform: streamlit.io
    • The platform retrieves automatically the source code from GitHub and deploys the newest version.
  • CI Pipeline: AWS CodeBuild
    • If I push a commit, CodeBuild pulls the latest codebase and executes unit tests
  • Data Storage: S3
    • Dashboard, CI pipeline and local development environment pull the data from S3 via DVC.

infrastrucure

hotels's People

Contributors

stdiff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.