[Babase] REPSTATS and the unborn
Karl O. Pinc
babase@www.eco.princeton.edu
Mon, 3 May 2004 11:24:52 -0500
On 2004.05.03 10:32 Daphne Onderdonk wrote:
> Hi all,
>
> This issue is the exact issue I brought up on my email of April 22 (it
> wasn't to the whole Babase list, Karl, because it had to do with data
> we
> were pulling together for Joan Silk).
(I probably wouldn't have remembered anyhow. :-)
> But I was thinking recently about females who died while they were
> pregnant
> and making sure those pregnancies were getting into Biograph.
> Karl, if a female dies while she's pregnant, does she then get lines
> in
> Repstats for her pregnancy (from conception till death)? I can check
> this,
> but I thought you might know off hand. If so, then it might make
> checking
> the above easier.
It the record of the birth in BIOGRAPH that triggers the end of the
pregnancy and results in P rows in REPSTATS, a Birth value and a Pid
value
in BIOGRAPH. So there's no help here.
If you know the fetus is going into Biograph when the mother dies you
just look for Birth=Statdate and no Pid (the rest are ok.) If you
know the PREGS rows are going in then you look for PREGS with no Pid
on BIOGRAPH. But if you don't know that either is going in then
I guess it's back to the manual records.
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein