Three out of five and counting...
I've written the methods of the tableQueryUnit object which do the calculations and build the necessary table cells. Everything seems error-free, but I'm getting an error which suggests that the temporary tables are not persisting long enough to be useful; in fact, they're not persisting through the lifetime of the connection. I've narrowed down the connection creation and disposal to the actual method in the tableQueryUnit object, but that's seemingly not enough to make it work.
There must be something I'm misunderstanding about the way this works, but there are a couple of approaches I could take: first, I could create ACTUAL tables and delete them when I'm done; and second, I could try using mysql_pconnect instead of mysql_connect, to create a (more?) persistent connection. Before doing either of those things, though, I need to clarify for myself why the tables are not surviving through the lifetime of the connection; it's as if they're only surviving through one transaction, which is not how I understood the documentation for temporary tables.
As followup to last meeting, posted a couple of points to the sharespace:
- confirm amount of use of Sanako in lab B and C to see if we can get by with only one Sanako lab in future or not
- provide a few details on numbers and types of furniture in B005, B015 and A012.
- enquire about check-in policy in A012 and possibly in other spaces during peak times
- prepare simple floorplan map for next meeting
Met with JS-R to look at the wizard and design the table layouts for the other two tables. Decisions:
- In the current D table layout, the tract set information needs to be removed. It should show up as a list of items below the table, like this:
Victoria 1991 17 tracts. Total pop: 36070 Victoria 2001 17 tracts. Total pop: 33225
and so on, with the "17 tracts" a link to an expandable list of the tracts. - Inside the D table, the existing columns should be split, so that for each city/tractset/year, there are three:
Grp.Pop. Percent D
The first column having the total population for that ethnic grouping in the tracts. - The other tables should follow the plan I laid out on the whiteboard. There is an important requirement that they make very clear the directionality of the figures; the vertical columns represent "exposure of X to other ethnicities", while the rows represent "explosure of other ethnicities to X". This is especially important for the xPY table (table 2), because this table is not symmetrical (as table 3 is).
The deadline for getting the wizard working is the end of the month (which means Christmas). The article should be out in January, so the beta site with the wizard needs to be migrated to the main site by then. The Philadelphia data needs to be removed at that point.
Left a bit early.