Karl O. Pinc kop@karlpinc.com [Thu, 14 May 2026 17:27:11 +0000 (17:27 +0000)]
Document the transaction concept
Karl O. Pinc kop@karlpinc.com [Thu, 14 May 2026 19:16:07 +0000 (19:16 +0000)]
Better handle :ref:s that show up in sentences
Karl O. Pinc kop@karlpinc.com [Thu, 14 May 2026 16:16:44 +0000 (16:16 +0000)]
Fix hyperlink
Karl O. Pinc kop@karlpinc.com [Thu, 14 May 2026 00:00:07 +0000 (00:00 +0000)]
Create, document, and index FOOD_NAMES table
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:58:49 +0000 (23:58 +0000)]
Create, document, and index FOOD_PARTS table
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:53:14 +0000 (23:53 +0000)]
New macro: positive_check() Checks a column is a positive number
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:51:44 +0000 (23:51 +0000)]
Get rid of trailing spaces
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:49:54 +0000 (23:49 +0000)]
Alphabetize by code table name
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:03:47 +0000 (23:03 +0000)]
Re-arrange the overview paragraphs
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 23:01:24 +0000 (23:01 +0000)]
Better docs regards EVENTS.Behavior codes and the event detail tables
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 22:33:34 +0000 (22:33 +0000)]
Index AGGRESSIONS
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 22:29:04 +0000 (22:29 +0000)]
Change note regarding extracted text into a sidebar
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 22:12:46 +0000 (22:12 +0000)]
Index SIGHTINGS
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 22:07:03 +0000 (22:07 +0000)]
Explicitly document that SIGHTINGS.AnimID and Date pair must be unique
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 22:05:28 +0000 (22:05 +0000)]
Fix SIGHTINGS.Date link text in RST references
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 20:19:32 +0000 (20:19 +0000)]
Create SIGHTINGS trigger
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 20:15:44 +0000 (20:15 +0000)]
Put lower bound on SIGHTINGS.Date
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 19:40:22 +0000 (19:40 +0000)]
Add note documenting relations between extracted AGGRESSIONS columns
Document that AGGRESSIONS FullAccount, AggressorBehavior, and
RecipientBehavior can all be duplicate information.
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 19:39:16 +0000 (19:39 +0000)]
Add the AGGRESSIONS.RecipientBehavior column
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 19:38:53 +0000 (19:38 +0000)]
Add the AGGRESSIONS.AggressorBehavior column
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 19:37:45 +0000 (19:37 +0000)]
Add the AGGRESSIONS.FullAccount column
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 18:30:15 +0000 (18:30 +0000)]
Fix AGGRESSIONS substituition references' anchors
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 18:27:07 +0000 (18:27 +0000)]
Fix RST syntax
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 17:58:37 +0000 (17:58 +0000)]
Have AGGRESSIONS.Severity validate off the AGG_SEVERITIES table
The clean.ae_fight_category column needs to have a single space
normalized to NULL.
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 17:52:36 +0000 (17:52 +0000)]
Create and document the AGG_SEVERITIES table
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 17:16:24 +0000 (17:16 +0000)]
For aggressions, EVENTS.Certainty is the certainty of the recipient
After phone discussion with Ian, 2026-05-13.
The MS Access aggression_event.ae_recipient_certainty_flag column
will need to be normalized to 'Y' and 'N' in the "clean" schema.
NULL and N means false, Y and X means true. And some other
illegitimate values exist.
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 17:14:13 +0000 (17:14 +0000)]
Use better SQL literal syntax
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 17:00:04 +0000 (17:00 +0000)]
Spelling
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 16:59:57 +0000 (16:59 +0000)]
Produce warning when AGGRESSIONS.Community <> FOLLOWS.Community
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 16:50:21 +0000 (16:50 +0000)]
Create SIGHTINGS table
Somehow, the file that defines the table was empty.
This fixes the error that prevents comments from loading into the db
when the db is (re)created.
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 15:57:57 +0000 (15:57 +0000)]
Create the NON_BREC_SIGHTING_SOURCES table
This fixes errors reported by gen_comments.py when creating the database.
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 15:44:10 +0000 (15:44 +0000)]
Load aggression comments into EVENTS.notes
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 15:28:31 +0000 (15:28 +0000)]
Fix permissions on AGGRESSIONS table
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:38:29 +0000 (03:38 +0000)]
Fix for problem #68
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:38:22 +0000 (03:38 +0000)]
Fix for problem #67
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:38:06 +0000 (03:38 +0000)]
Fix for problem #66
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:37:49 +0000 (03:37 +0000)]
Fix for problem #65
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:35:58 +0000 (03:35 +0000)]
Convert AGGRESSION_EVENT -> AGGRESSIONS
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:34:39 +0000 (03:34 +0000)]
Create table, document table, and implement rules for AGGRESSIONS table
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:31:16 +0000 (03:31 +0000)]
Fix character case of MS Access column name
Karl O. Pinc kop@karlpinc.com [Wed, 13 May 2026 03:28:23 +0000 (03:28 +0000)]
Make "Actor" and "Actee" roles into special values
Karl O. Pinc kop@karlpinc.com [Tue, 12 May 2026 15:57:24 +0000 (15:57 +0000)]
Convert AGGRESSION_EVENT_LOG table
Karl O. Pinc kop@karlpinc.com [Mon, 11 May 2026 22:07:16 +0000 (22:07 +0000)]
Simplify code by selecting EVENTS only once
Karl O. Pinc kop@karlpinc.com [Mon, 11 May 2026 14:16:20 +0000 (14:16 +0000)]
Create AGGRESSION_EVENT_LOG table
Karl O. Pinc kop@karlpinc.com [Mon, 11 May 2026 14:14:17 +0000 (14:14 +0000)]
Document when tables are not in an ER diagram
Karl O. Pinc kop@karlpinc.com [Mon, 11 May 2026 12:44:23 +0000 (12:44 +0000)]
Spelling
Stevan Earl [Mon, 11 May 2026 18:35:25 +0000 (18:35 +0000)]
Resolve problem #63
(cherry picked from commit
d1211f4e90ee47da5bdf606656387790b358d391)
Stevan Earl [Mon, 11 May 2026 18:33:18 +0000 (18:33 +0000)]
Resolve problem #62
(cherry picked from commit
9f55a8f0fbcb76b16033c1791256b74c3ffd1dd4)
Stevan Earl [Tue, 5 May 2026 17:58:51 +0000 (17:58 +0000)]
Set permissions properly for problem 25
Stevan Earl [Tue, 5 May 2026 17:58:25 +0000 (17:58 +0000)]
fix compare state missing semicolon
Stevan Earl [Tue, 5 May 2026 17:38:32 +0000 (17:38 +0000)]
Reverse direction of conversion state comparison
Karl O. Pinc kop@karlpinc.com [Tue, 5 May 2026 16:41:30 +0000 (16:41 +0000)]
Resolve problem #25
Karl O. Pinc kop@karlpinc.com [Tue, 5 May 2026 16:06:38 +0000 (16:06 +0000)]
Resolve problem #24, and introduce framework conversion data changes
This introduces the conv_state schema, where state is saved
that records "automatic" changes the conversion makes to the
converted data. When the MS Access data is changed and
the conversion re-run, the "new" automatic changes can be compared
to the changes made to the previous data set.
The "compare-state" make target can be used to report differences
between the old and new data. Review this report to ensure
that the automated "fixes" do not change something that should
not be changed.
Karl O. Pinc kop@karlpinc.com [Tue, 5 May 2026 12:12:01 +0000 (12:12 +0000)]
Indentation
Karl O. Pinc kop@karlpinc.com [Sun, 3 May 2026 22:49:07 +0000 (22:49 +0000)]
Be consistent in use of "continuation" make targets
Stevan [Fri, 1 May 2026 16:55:57 +0000 (16:55 +0000)]
Problem #11 is resolved in Access
Stevan [Fri, 1 May 2026 15:44:04 +0000 (15:44 +0000)]
change BIOGRAPHY_DATA.animidnum values of 0 to NULL
Solves problem #59
Karl O. Pinc kop@karlpinc.com [Fri, 13 Mar 2026 19:07:40 +0000 (19:07 +0000)]
Fix broken link and improve date and time docs
Karl O. Pinc kop@karlpinc.com [Sun, 1 Mar 2026 01:04:53 +0000 (01:04 +0000)]
Make ESTRUS_STATES table and indexes
Karl O. Pinc kop@karlpinc.com [Sun, 1 Mar 2026 00:35:50 +0000 (00:35 +0000)]
Create ESTRUS_SOURCES table and indexes
Karl O. Pinc kop@karlpinc.com [Sun, 1 Mar 2026 00:04:02 +0000 (00:04 +0000)]
Create SIGHTING_RECORDS table and indexes
Karl O. Pinc kop@karlpinc.com [Sun, 1 Mar 2026 00:01:37 +0000 (00:01 +0000)]
Add ARRIVALS.Seq column to DDL
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 22:52:41 +0000 (22:52 +0000)]
Initial ESTRUS_STATES design
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 22:52:00 +0000 (22:52 +0000)]
New ESTRUS_SOURCES table to support non-SokweDB estrus data sources
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 22:50:08 +0000 (22:50 +0000)]
Update SIGHTING_SOURCES to support estrus data
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 22:49:17 +0000 (22:49 +0000)]
SIGHTING_SOURCES contains old BRec data
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 18:57:55 +0000 (18:57 +0000)]
Note problems with per-page HTML when file names are changed
"make clean-docs" must be run to be sure old html content is removed.
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 18:09:23 +0000 (18:09 +0000)]
Clarify when CYCLE_STATES.AsNum should be NULL
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 17:57:20 +0000 (17:57 +0000)]
Add missing substitution reference for CYCLE_STATES.AsNum
Karl O. Pinc kop@karlpinc.com [Sat, 28 Feb 2026 17:51:42 +0000 (17:51 +0000)]
Move date restriction rule from analysis results to source data table
Karl O. Pinc kop@karlpinc.com [Fri, 27 Feb 2026 20:18:33 +0000 (20:18 +0000)]
Tweak wording
Karl O. Pinc kop@karlpinc.com [Fri, 27 Feb 2026 20:09:25 +0000 (20:09 +0000)]
Create a separate section for tables populated automatically
Karl O. Pinc kop@karlpinc.com [Fri, 27 Feb 2026 19:21:32 +0000 (19:21 +0000)]
Alphabetize
Karl O. Pinc kop@karlpinc.com [Fri, 27 Feb 2026 18:17:28 +0000 (18:17 +0000)]
SIGHTINGS does not contain estrus information
Karl O. Pinc kop@karlpinc.com [Fri, 27 Feb 2026 18:12:19 +0000 (18:12 +0000)]
Spelling: estrous -> estrus
Karl O. Pinc kop@karlpinc.com [Fri, 20 Feb 2026 21:31:50 +0000 (21:31 +0000)]
Support local m4 include files
"Local" include files are in db/schemas/*/<type>/include/, where
"<type>" is functions, indexes, tables, triggers, etc.
Karl O. Pinc kop@karlpinc.com [Sat, 14 Feb 2026 23:08:02 +0000 (23:08 +0000)]
Produce the "drop notices" when dropping -- use correct file
Karl O. Pinc kop@karlpinc.com [Sat, 14 Feb 2026 23:05:57 +0000 (23:05 +0000)]
Ensure gen_func_comment_tmpl() is installed for recreate-db target
Dropping the schemas drops the function, and it needs to be re-installed.
Karl O. Pinc kop@karlpinc.com [Sat, 14 Feb 2026 23:02:55 +0000 (23:02 +0000)]
Install gen_func_comment_tmpl() only when comments change
Karl O. Pinc kop@karlpinc.com [Thu, 12 Feb 2026 04:01:10 +0000 (04:01 +0000)]
Update docs with new view code regardless of db DDL execution
Karl O. Pinc [Sun, 15 Mar 2026 23:22:43 +0000 (18:22 -0500)]
Add ESTRUS_STATES and ESTRUS_SOURCES to diagram
Karl O. Pinc [Sun, 15 Mar 2026 22:46:26 +0000 (17:46 -0500)]
Remove estrus columns from SIGHTINGS
Karl O. Pinc [Sun, 15 Mar 2026 22:39:53 +0000 (17:39 -0500)]
Add NON_BREC_SIGHTING_SOURCES to diagram
Karl O. Pinc kop@karlpinc.com [Tue, 10 Feb 2026 22:20:07 +0000 (22:20 +0000)]
Initial design of SIGHTINGS
Includes the tables: SIGHTINGS, NON_BREC_SIGHTING_SOURCES, SIGHTING_RECORDS
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 22:25:57 +0000 (22:25 +0000)]
Add arrival warning of contiguous time periods
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 22:09:45 +0000 (22:09 +0000)]
Document that event start and stop times are inclusive
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 22:02:24 +0000 (22:02 +0000)]
Note that there is a warning only when "certain" arrival events overlap
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 21:38:26 +0000 (21:38 +0000)]
Remove redundant arrivals warnings
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 21:37:18 +0000 (21:37 +0000)]
Add CYCLE_STATES.AsNum column
Karl O. Pinc kop@karlpinc.com [Mon, 10 Nov 2025 21:35:52 +0000 (21:35 +0000)]
Add a "double precision" replacement text
It might make sense to move the other double precision related
verbiage in CYCLE_STATES.AsNum into the epilog and make
futher replacement text.
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 22:22:15 +0000 (22:22 +0000)]
Put a TOC in each table's docs above the column docs
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 22:21:37 +0000 (22:21 +0000)]
Actually use the FOLLOW_STUDIES summary in the docs
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 22:10:41 +0000 (22:10 +0000)]
Add verbage describing code tables; move TOC to below the verbage
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 21:53:34 +0000 (21:53 +0000)]
Document ARRIVALS.Seq
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 21:51:02 +0000 (21:51 +0000)]
Add warnings regarding strange ARRIVALS rows
These could be hard rules, enforced with triggers. But that would
require data cleanup before conversion.
It would be good to add hard rules for all data that is entered into
the system after a certain date. Then, the date could gradually be
pushed back as older data is cleaned up. Unfortunately, this is not
in the budget.
Karl O. Pinc kop@karlpinc.com [Sat, 1 Nov 2025 21:50:14 +0000 (21:50 +0000)]
Fix markup
Karl O. Pinc kop@karlpinc.com [Mon, 27 Oct 2025 17:28:53 +0000 (17:28 +0000)]
Remove trailing spaces from follow_arrival.fa_fol_b_focal_animid
Fixes problem #56
Karl O. Pinc kop@karlpinc.com [Fri, 24 Oct 2025 07:48:00 +0000 (07:48 +0000)]
Fix lateral joins
Karl O. Pinc kop@karlpinc.com [Fri, 24 Oct 2025 05:48:35 +0000 (05:48 +0000)]
Update nesting state in clean during conversion; Problems #26 and #27
Karl O. Pinc kop@karlpinc.com [Wed, 22 Oct 2025 17:59:52 +0000 (17:59 +0000)]
Updated community membership rules
Never in a community before birth. Never in a community other than
the birth community before under study.
Tidy up error messages.