From 9514637d0a17987293c5332af7e4d9505cd42287 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sat, 6 Jun 2026 21:13:16 +0000 Subject: [PATCH] Create PARITIES code table --- db/schemas/codes/tables/Makefile | 1 + db/schemas/codes/tables/create/parities.m4 | 29 +++++++++++++++ doc/src/code_tables.m4 | 43 ++++++++++++++++++++++ doc/src/epilog.inc.m4 | 4 ++ 4 files changed, 77 insertions(+) create mode 100644 db/schemas/codes/tables/create/parities.m4 diff --git a/db/schemas/codes/tables/Makefile b/db/schemas/codes/tables/Makefile index 79b6184..76aa36f 100644 --- a/db/schemas/codes/tables/Makefile +++ b/db/schemas/codes/tables/Makefile @@ -33,6 +33,7 @@ ORDER := agg_severities \ food_names \ food_parts \ le_certainties \ + parities \ people \ obs_periods \ role_codes \ diff --git a/db/schemas/codes/tables/create/parities.m4 b/db/schemas/codes/tables/create/parities.m4 new file mode 100644 index 0000000..54130b4 --- /dev/null +++ b/db/schemas/codes/tables/create/parities.m4 @@ -0,0 +1,29 @@ +dnl Copyright (C) 2026 The Meme Factory, Inc., http://www.karlpinc.com/ +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU Affero General Public License as published +dnl by the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU Affero General Public License for more details. +dnl +dnl You should have received a copy of the GNU Affero General Public License +dnl along with this program. If not, see . +dnl +dnl Karl O. Pinc +dnl +dnl +dnl m4 includes +include(`copyright.m4')dnl +include(`constants.m4')dnl +include(`tablemacros.m4')dnl +include(`grants.m4')dnl +dnl + +support_table(`PARITIES', `Code', `TEXT', ` + emptytext_check(`Code') + uppercase_check(`Code')' +) diff --git a/doc/src/code_tables.m4 b/doc/src/code_tables.m4 index 1e7e2a6..007985d 100644 --- a/doc/src/code_tables.m4 +++ b/doc/src/code_tables.m4 @@ -774,6 +774,49 @@ Description |OBS_PERIODS.Description_summary| |emptytext| |notnull| +.. _PARITIES: + +PARITIES (PARITy categorizations) +--------------------------------- + +.. |PARITIES_summary| replace:: + Contains one row for each categorization of female parity in + reproductive state analysis. + +|PARITIES_summary| + + +Special Values +`````````````` + +None. + + +Column Descriptions +``````````````````` + +.. _PARITIES.Code: + +Code +'''' + +.. |PARITIES.Code_summary| replace:: + A code identifying a parity categorization. + +|PARITIES.Code_summary| |keycol| |uppercase| + + +.. _PARITIES.Description: + +Description +''''''''''' + +.. |PARITIES.Description_summary| replace:: + A description of the code. + +|PARITIES.Description_summary| |emptytext| |notnull| + + .. _PEOPLE: PEOPLE diff --git a/doc/src/epilog.inc.m4 b/doc/src/epilog.inc.m4 index 7ed0941..588c199 100644 --- a/doc/src/epilog.inc.m4 +++ b/doc/src/epilog.inc.m4 @@ -479,6 +479,10 @@ sdb_generated_rst()dnl .. |OBS_PERIODS.Period| replace:: :ref:`Period ` +.. |PARITIES| replace:: :ref:`PARITIES ` +.. |PARITIES.Code| replace:: + :ref:`Code ` + .. |PEOPLE| replace:: :ref:`PEOPLE ` .. |PEOPLE.Person| replace:: :ref:`Person ` .. |PEOPLE.Name| replace:: :ref:`Name ` -- 2.34.1