Left an hour early.
Added choice element allowing empty or item from list of normalized names of judges. The list items can't include a space character (I don't know why - I researched for an hour and all documentation indicates the space character should present no problem). I've put those elements into the file "bailey_proofing.rng" which is the file that the proofer will use.
I still have to modify the regular expressions in the NameJudgeJuryAge4 section of howto_regular081017.txt to look for the text values and replace them with the normalized ones.
About 34,000 records in this table.
Now I can start writing functions for the backend which retrieve form controls based on previous choices (checkboxes, select dropdowns, and so on). Then AJAX can handle modifying the wizard as we go.
Printed the requisite number of handout sheets, and test-cut one of them to create two handouts. The tolerances are less precise than I'd hoped; there's about a 16th of an inch of slide along the 11" axis between the two sides However, there's enough scope in the design for this to be no problem. Memo for the future, though: add bleeds on all edges, for simplicity's sake. I could have added a 16th of an inch to the top and bottom of each component, making a total expansion of a quarter of an inch, which would have been within the tolerances of the printer margins, and would have left a bit more play for cutting.
The current mapping of numeric ids to city names is in the form of a hash table in JD's PHP code. I've now written some code to build a new table in the db from that code, configured such that while there are many cases where the same id maps to different "versions" of a city name, due to spelling differences over the years and other reasons, our "preferred" version of the name is the first mapping in the db. That means we can look up any name and easily retrieve its canonical version along with its id. I'm still talking to JS-R about what the significance of the city names is; it's possible that there's info about the geographical extents of cities where they varied through the years. For instance, Ottawa (1961) becomes Ottawa-Hull (1971), which presumably means that its 1961 boundaries were changed to include Hull data. We may need to represent or explain this to the user.
Now I'm starting to look at tracts. What we need is a table while maps tracts to cities by year (in other words, it needs to have a row which contains the year, the city number, and the tract number for each distinct tract id in each city for each year. Table names can be constructed from this data (and I think it's going to be predictable where there are mc and tc tables, just based on year).
RS's student, who's working for us to enhance the clipart library and provide extra images for Spanish sites, started work. I set her up on a Mac with the Wacom tablet and Inkscape, and she's slowly getting the hang of it. Meanwhile, Greg has converted all the AI files to SVG, ready for a new incarnation of the library, which we'll get around to doing at some point.
Created a letter-sized invitation document, embedding an image of our poster, and passed on DOC and PDF versions to EG-W, who will send them out.
After some thought, it's become clear that the best approach to building a user-friendly wizard that filters the complexity of the data a little, and presents only those options which actually make sense and are available, is to build a set of extra index tables that are derived from the existing data, but which are much quicker and easier to query. I've started this process, by writing a PHP function which builds (so far) two new tables, yearsToEthnicities and yearsToTables. These will make it easy to look up which ethnicity codes were used in any particular year, and what their text designations were. Now I'm looking at the list of cities and their codes, which are currently in a PHP array rather than in a table. Wrote to JS-R for some guidance on how these work (multiple names map to one id, which may or may not be significant).
A user reported some errors. Fixed them on LB's instructions, and also updated a JBC file to JQZ, then rebuilt the unit and updated the site.