IS428 2016-17 Term1 Assign3 Zheng Xiye
Contents
Problem & Motivation
After the successful resolution of the 2014 kidnapping at GAStech’s Abila, Kronos office, GAStech officials determined that Abila offices needed a significant upgrade. At the end of 2015, the growing company moved into a new, state-of-the-art three-story building near their previous location. Even though the employee morale rose somewhat with the excitement of the new building, there are still a few disgruntled employees in the company.
The new office is built to the highest energy efficiency standard, but as with any new building, there are still several HVAC issues to work out. The building is divided into several HVAC (heating, ventilation, and air conditioning) zones. Each zone is instrumented with sensors that report building temperatures, heating and cooling system status values, and concentration levels of various chemicals such as carbon dioxide (abbreviated CO2) and hazium (abbreviated Haz), a recently discovered and possibly dangerous chemical. CEO Sten Sanjorge Jr. has read about hazium and requested that these sensors be included. However, they are very new and very expensive, so GAStech can afford only a small number of sensors.
With their move into the new building, GAStech also introduced new security procedures, which staff members are not necessarily adopting consistently. Staff members are now required to wear proximity (prox) cards while in the building. The building is instrumented with passive prox card readers that cover individual building zones. The prox card zones do not generally correspond with the HVAC zones. When a prox card passes into a new zone, it is detected and recorded. Most, but not all, areas are still open to staff members even if they forget their prox cards. People are somewhat careless with their prox cards, but some diligent staff members will go to the security desk and pick up a new prox card if their old one is mislaid. As part of the deal to entice GAStech to move into this new building, the builders included a free robotic mail delivery system. This robot, nicknamed Rosie, travels the halls periodically, moving between floors in a specially designed chute. Rosie is equipped with a mobile prox sensor, which identifies the prox cards in the areas she travels through.
Data Preparation
Prox Card Data
Both proxMobileOut-MC2.csv and proxOut-MC2.csv do not include any personal particulars of the employees including, Department and Office. These data were only available Employee_list.xlsx. Thus, the initiative is trying to combine the two csv files with Employee_list.xlsx respectively.
Creating unique identifier
Employee conducting the actions in both csv files may be identified by their unique prox-id, which is not available in Employee_list.xlsx. However, prox-ids follow the pattern of taking employees' first character of First Name followed by their Last Name. As such, I have created a new column in Employee list.xlsx: Name-ID. On top of which, I have created another column in both csv files by concatenating first character of their Last Name with their First Name.
Combing datasets
Building upon which, I managed to combine the two csv files with Employee_list.xlsx by using Name-ID as the unique identifier.
Relating floor-zone to X,Y coordinate
Data provided in proxMobileOut.csv are in X,Y format while proxOut.csv are in floor & zone format. The inconsistent data format created inconvenience in relating data from one to another. Thus, I have decided to convert floor & zone data of proxOut.csv into X,Y coordinates.
- I noticed that each floor are having multiple zones. In order to avoid confusion as a result of duplication, I have created a new column: 'floor-zone' by concatenating floor and zone.
- After which, I cropped VAST_EnergyZone_Fx.jpg (x=1,2,3) images provided to showcase the map only. I imported proxOut.csv data into Tableau and set the background image to the cropped images respectively.
- Then, I approximated center points of each zone and key their respective X,Y coordinates into an excel sheet: 'floor-zone XY'. Meanwhile, it should be noted that floor 2 & 3 only have 7 and 6 zones respectively, which explains the rationale of not approximating all zones for each floor.
- In the end, I made use of excel's vlookup function to map each floor-zone to their respective X,Y coordinate.
Data Consolidation
Eventually, proxOut.csv and proxMobileOut.csv were consolidated into one csv file: "Prox Data.csv".