Data Preparation
Chen, Tracy edited this page Dec 9, 2020
·
6 revisions
Navigation
User Guide
- Overview Video
- Campus WiFi Overview
- Campus WiFi Dashboard
- Detailed WiFi Overview
- Daily Overview
- About COVIDSafeCampus
- Comments and questions?
Methods
Developer's Guide
Clone this wiki locally
Preparation of rpi_wap_raw.rds and combined_wap_data.rds
These two files are the main data frames used in the SafeCampus app. They are created in Test_WiFi_overview_source.R and then converted into Rds files to improve the speed and flow of the app. They are both created from rpi_wifi_last_seven_days.Rds. Below is a step by step guide to the creation of these data frames in Test_WiFi_overview_source.R:
- Format the time and date columns to Eastern Standard Time (EST).
- Merge with apinfo.csv and allBuildingInfo.csv to add specific building and WAP device information to the data frame.
- Add the 30 minute time intervals to the data frame using Min_25_24_time.csv.
- The combined_wap_data data frame stems from rpi_wap_raw and takes the sum of user count and mac count for every 30-minute interval.
- Finally, Rds files are created of the rpi_wap_raw and combined_wap_data data frames used in the SafeCampus app.