uWaterloo / OpenData

Help and Support for University of Waterloo Open Data Initiative
https://api.uwaterloo.ca
90 stars 12 forks source link

Full Room Listing in Given Building #41

Closed Nathim closed 7 years ago

Nathim commented 11 years ago

Similar to #34

This method would take in a building acronym and output a list of all room numbers within that building. Some other output fields could include: whether or not the room is used for lectures, and any alternate name that room may have (eg. MC Comfy, Science C&D, etc.).

KartikTalwar commented 11 years ago

@Nathim from a design process perspective, do you have a use case for what you may want to do with that data? Are you looking into just having a list of available classrooms or something broader?

Nathim commented 11 years ago

@KartikTalwar I have a few ideas for applications that students could use to perhaps: 1) Find available classrooms (the part which is similar to #34) 2) Find nearby lounge areas 3) Participate in an indoor treasure-hunt activity where clues could be hidden in different rooms

2) and 3) would require a broader data set than only available classrooms.

KartikTalwar commented 11 years ago

We can reverse search all the classrooms a building has for a given term and possibly show the classes held in the room.. Any thoughts @gdmalet @krisolafson ?

axyjo commented 11 years ago

The IAP has a comprehensive list of all rooms. However, I don't have access to Cognos to verify. Here's a link on what kinds of data they've got.

KartikTalwar commented 11 years ago

@Nathim @axyjo We are waiting to see if we can get something more than just a list of classrooms from the schedule. If that doesn't work out, the former will be released.

krisolafson commented 11 years ago

We can work on getting additional data from IAP, but it will take some time.

gdmalet commented 11 years ago

Right, IAP would be a good source, but as Kris says we're not there yet.... Reverse searching the schedules would give you an idea of classrooms, but that would not be useful for all use cases of course. We'll have to sit on this for a while until we get more data.

shenjin commented 10 years ago

So currently there is no method that returns a list of rooms when given a particular building?

Not that this is useful or what not, but one of my cs assignments (not being graded) asked us to determine the rooms that are free within a given building, when given the time and day.

KartikTalwar commented 10 years ago

Hi @SJ119 although there isn't a method that returns rooms for a building, you can use this method to get information for all classes being held at different buildings/rooms and their respective times and determine the availability

shenjin commented 10 years ago

@KartikTalwar Yes that's what I'm currently using. But, using that method, I would have to get a list of all the subjects, and i just don't know where (can only think of actsci, cs, math, econ on top of my head).

Also, I'm fairly new to using github, but do you think you can give me a run down of how one can add to the api, and what this api is written in? Our CS class provided a racket version of it.

KartikTalwar commented 10 years ago

@SJ119 you can see the /codes/ endpoint to get a list of all subjects. The file provided to you was just a racket interface to accessing the data from api.uwaterloo.ca . The actual server is written in php. Although you can't directly 'add' to the api, we do accept data sets and data submissions. If you'd like to further discuss this, please create a new issue vs extending the talk here.

nathanv commented 10 years ago

Similar to #124 and related to #54. Marking as stalled as per comments in #124