Skip to content

ryanmjacobs/ucla-laundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucla-laundry

npm

Fetch data

Dependencies: npm, Node.js

$ git clone https://github.com/ryanmjacobs/ucla-laundry
$ cd ucla-laundry
$ npm install
$ ./fetch.js

Plot ~60,000 data points [fully rendered pdf here]

Dependencies: Ruby, R, D

$ git clone https://github.com/ryanmjacobs/ucla-laundry
$ cd ucla-laundry/plot
$ ./plot.r

Example data

# 2/6/2018, 11:30:05 AM
index,type,status,eta
1,Stack Dryer (top),Available,
2,Stack Washer (bottom),Available,
3,Stack Dryer (top),Available,
4,Stack Washer (bottom),Available,12 min ago
5,Stack Dryer (top),Available,
6,Stack Washer (bottom),Available,
7,Stack Dryer (top),In Use,27 min
8,Stack Washer (bottom),Available,13 min ago
9,Stack Dryer (top),Available,
10,Stack Washer (bottom),Available,
11,Stack Dryer (top),Available,18 min ago
12,Stack Washer (bottom),Available,
13,Stack Dryer (top),Available,
14,Stack Washer (bottom),Available,
15,Stack Dryer (top),Available,
16,Stack Washer (bottom),Available,
17,Stack Dryer (top),Available,18 min ago
18,Stack Washer (bottom),In Use,20 min
19,Stack Dryer (top),In Use,38 min
20,Stack Washer (bottom),Available,10 min ago
21,Stack Dryer (top),Available,
22,Stack Washer (bottom),In Use,2 min
23,Stack Dryer (top),Available,9 min ago
24,Stack Washer (bottom),Available,
25,Stack Dryer (top),Available,
26,Stack Washer (bottom),In Use,23 min
27,Stack Dryer (top),Available,18 min ago
28,Stack Washer (bottom),Available,1 min ago
29,Stack Dryer (top),Available,13 min ago
30,Stack Washer (bottom),Available,
31,Stack Dryer (top),In Use,28 min
32,Stack Washer (bottom),Available,13 min ago
33,Stack Dryer (top),Available,18 min ago
34,Stack Washer (bottom),In Use,13 min
35,Stack Dryer (top),Available,
36,Stack Washer (bottom),In Use,18 min
37,Stack Dryer (top),In Use,33 min
38,Stack Washer (bottom),In Use,18 min
39,Stack Dryer (top),Available,13 min ago
40,Stack Washer (bottom),Available,

About

ucla laundry web scraper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published