Unfortunately, the little baby laptop proved to be a loss. Either Stephanie will have to use Winbugs or she'll need another computer. Does she actually need it to be a laptop, if it's only for one program she's using occasionally? Maybe she could use the extra computer I set up instead. I'll have to ask her tomorrow.
Although Stephanie's interview was distracting, I managed to get a good start on what I wanted to do today. The only database tables that link to University are Course, Student and Teacher, and that's not bad. Everything there will mesh pretty well, although we might need to do some juggling if we want to pull out the 'Univ Physics I' equivalent from each school, for example. Major doesn't link to University at the moment. I was thinking that it should for a while, so we wouldn't get exact duplicates (how many schools would add a variation on 'Computer Science', for example) but I don't think it will matter any more. So what if every university uses the same SysID for their Computer Science degree? We'll be starting from Student anyway, which already has Univ_SysID.
Right now, we get the students' majors from our demographics form. This is the area I need to change most, as RIT majors are hardcoded into the form. I may have misunderstood, but when I asked Sam I think he said he did it by hand, although he may have used several throwaway scripts. I've written one script that pulls department and major from an RIT website Stephanie found and throws them into an array, with department as keys. If every college has a parseable site like that, I can just change the script slightly for every university, with no problem. I wonder if I should add a Department table to the database, though. A lot of schools separate majors into categories or departments, and it might be useful for an overall look at different areas of a school. I haven't quite sold the idea to myself yet, though. It'll add less complication to our form, as I can draw everything from the database instead of a file with a PHP array for each school, but it will add slightly more complication to our database.
Now that I've parsed the file, I need to add any new majors to the database, and make sure all the old ones are spelled correctly. I think Sam included major codes, which I don't have in my majors, which will suck. Thursday's gonna be fun :) .
No comments:
Post a Comment