sssingh/human-resource-data-analysis-streamlit
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/assets/logo.png?raw=true" width="100"/><br><br>
<a href="https://huggingface.co/spaces/sssingh/human-resource-data-analysis-streamlit" target="blank"><img src="https://img.shields.io/badge/clickheretoopenstreamlitapp-f63366?style=for-the-badge&logo=streamlit&logoColor=black" /></a>
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/images/title.png?raw=true" width="1000" height="500" /> <br><br>
Human Resource Analysis
In this Data Analysis project, we examine raw HR data to learn more about how organizational policies influence employee behaviors such as attrition and job-satisfaction plus staff promotions and layoffs. The company's human resources policies shall then be amended based on the insights obtained.
Features
⚡Multipage Interactive Dashboard ⚡Deployed on cloud [Report accessible on the web] ⚡Streamlit ⚡Plotly ⚡Pandas
Table of Contents
Introduction
Datamatrix-ml Inc.is one of the top financial research firms, specializing in cutting-edge financial market research. It has over 1400 employees.- The R&D department of the company creates the exclusive financial research reports and advice papers
- The company's sales division is in charge of finding the customers for its research goods.
- The HR department is actively gathering data through internal questionnaires, interviews, and HR employment records to evaluate the efficacy of the workforce given the human-centric aspect of the corporate work culture.
Requirements
As part of their yearly evaluation of the employees and HR policies, the HR department has requested us to undertake a confidential data analysis project in order to gain insights into its workforce management. The questions that the HR department is seeking answers to are listed below.....
*Table-1 : Requirements*
Dataset
- The HR department collects and maintains the dataset. The relevant employee-related data attributes are provided by HR as a CSV dataset, and.
- The dataset is anticipated to be evaluated and updated yearly in the same manner before being fed into the suggested data-analysis solution.
- The
input_datafolder in the project repository contains the raw dataset. - Along with raw data the HR departments has supplied the
business-rulesto be used to compute employee'spromotion-rate,retrenchment-rateandattrition-rate
*Table-2 : Rate Computation Rules*
Solution Approach
The solution uses the 'Streamlit' and 'plotly' libraries to construct a fully interactive web-based cloud-hosted report dashboard. In order to gain insights and provide answers to the queries specified in Table-1: Requirements, the report includes the pertinent plots and tables. By zooming in on and filtering out a certain plot, users can interact with plotly plots. Additionally, the solution offers a group of global data filters that users can utilize to filter data throughout the entire application. These filters also dynamically change the visuals to reflect the data that remains after filtering. Users now have the option to explore specific areas of interest in the dataset by cutting, dicing, and drilling down.
Exploratory Data Analysis (EDA) and Feature Engineering [pandas]:
The EDA and feature-engineering have been done using pandas to comprehend, become comfortable with, and verify the sanity of the given data. Using the pandas Python library, the data-exploration, data-cleaning, and feature-engineering have been completed. We are generally checking...
- Presence of any missing values
- Any unusual value (outliers)
- Incorrect values (e.g., sales column, we see -ve numbers)
- Determine
categoricalandnumericcolumns - Determine dimensions of categorical columns and range of numeric columns
- Create new features required to show relevant data/numbers in the report
Report Creation [Streamlit, pandas, plotly]:
To put the suggested idea into practice, three interactive report dashboards (report tabs) will be developed. For specific requirements and the related proposed solution, see Table-3: Proposed Solution. There are several graphics on each report dashboard, divided into expandable and collapsible sections. Each section provides the queries we're attempting to address along with any pertinent insights gained from the illustrations.
1. Executive Summary Dashboard [HR-DA01-SOL-1]:
'Gender', 'Age', 'Marital Status', 'Department', and 'Work Experience' are all examined in this high-level summary dashboard. This dashboard includes the sections below...
Gender & Age and Marital Status Statistics: <br><br>
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/images/summary-01.png?raw=true" width="1000" height="500" /><br><br>
Department & Work Experience: <br><br>
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/images/summary-02.png?raw=true" width="1000" height="500" /><br><br>
2. Capacity Dashboard [HR-DA01-SOL-2]:
This dashboard emphasizes the size and capabilities of the company's staff. This analysis will aid the business in its "rightsizing" decision in near future. This dashboard includes the sections below...
Summary level & Department level promotion and layoffs statistics: <br><br>
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/images/capacity-all.png?raw=true" width="1000" height="500" /><br><br>
3. Attrition Dashboard [HR-DA01-SOL-3]:
This dashboard looks at the company's capacity for employee retention and determines what variables are at play if attrition rates are higher than anticipated. The corporation may change its practices to better manage attrition in light of the findings. <br><br>
<img src="https://github.com/sssingh/human-resource-data-analysis-streamlit/blob/main/images/attrition-all.png?raw=true" width="1000" height="500" />
How To Use
Read-only direct access via the web (Recommended):
<a href="https://huggingface.co/spaces/sssingh/human-resource-data-analysis-streamlit" target="blank"><img src="https://img.shields.io/badge/clickheretoopenstreamlitapp-f63366?style=for-the-badge&logo=streamlit&logoColor=black" /></a> <br> and explore the fully functional interactive report. <br><br>
Run the application locally:
To run (and modify) the application locally follow below steps...
- Clone this repo
- From within the root folder of the application install all dependencies by running
pip install requirements.txt - From within the root folder of the application run the application...
streamlit run src/app.py - Copy and paste the
localhost:<port-no>web-address displayed by above command in your browser to open and application.
License

Contact Me
   
