Code Monkey home page Code Monkey logo

people-data-analysis's Introduction

Star Badge Open Source Love View My Profile View Repositories

People Data Analytics

This case study is contained within the Serious SQL by Danny Ma.

๐Ÿ“• Table of contents


๐Ÿ› ๏ธ Requirements

HR Analytica team requires 2 separate analytical views to be created using a single SQL script for two separate data assets that can be used for reporting purposes.

A current snapshot of the information is required to power HR Analyticaโ€™s People Analytics dashboard and Employee Deep Dive shown above.

The following data requirements is as follows:

1. Dashboard Data Components

Click to view

๐ŸŒŸ Company Level Insights

  • Total number of employees
  • Average company tenure in years
  • Gender ratios
  • Average payrise percentage and amount

๐ŸŒŸ Department Level Insights

  • Number of employees in each department
  • Current department manager tenure in years
  • Gender ratios
  • Average payrise percentage and amount

Title Level Insights

  • Number of employees with each title
  • Minimum, average, standard deviation of salaries
  • Average total company tenure
  • Gender ratios
  • Average payrise percentage and amount

A historic data asset is also required by HR Analytica so their People Analytics team can perform deep dives into a specific employeeโ€™s history. This analysis is used for decision making when it comes to pay rises and promotions.

2. Deep Dive Data Components

Click to view

๐ŸŒŸ Individual Employee Deep Dive

  • See all the various employment history ordered by effective date including salary, department, manager and title changes
  • Calculate previous historic payrise percentages and value changes
  • Calculate the previous position and department history in months with start and end dates
  • Compare an employeeโ€™s current salary, total company tenure, department, position and gender to the average benchmarks for their current position

๐Ÿ“‚ Data Overview

View Data Exploration Folder

๐Ÿš€ Solutions

View Data Join Folder

๐Ÿง™โ€โ™‚๏ธ Result

Final Output

Hooray! Finally, this is what out final input looks like:

โœ… People Analytics Dashboard

Source: Serious SQL

โœ… Employee Deep Dive

Source: Serious SQL

โœจ Contribution

Contributions, issues, and feature requests are welcome!

To contribute to Patronify, see the GitHub documentation on creating a pull request.

๐Ÿ‘ Support

Give a โญ๏ธ if you like this project!


ยฉ 2021 Leah Nguyen

people-data-analysis's People

Contributors

ndleah 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.