예제 #1
0
        private void Census1911Test(string reference, string piece, string schedule)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1911));
            Assert.IsTrue(censusRef.Piece.Equals(piece));
            Assert.IsTrue(censusRef.Schedule.Equals(schedule));
        }
예제 #2
0
        private void ScottishCensusTest(string reference, FactDate year, string parish, string ED, string page)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(year));
            Assert.IsTrue(censusRef.Parish.Equals(parish));
            Assert.IsTrue(censusRef.ED.Equals(ED));
            Assert.IsTrue(censusRef.Page.Equals(page));
        }
예제 #3
0
        private void CanadianCensus(string reference, FactDate year, string Roll, string page, string family)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(year));
            Assert.IsTrue(censusRef.Roll.Equals(Roll));
            Assert.IsTrue(censusRef.Page.Equals(page));
            Assert.IsTrue(censusRef.Family.Equals(family));
        }
예제 #4
0
        private void USCensusTest(string reference, FactDate year, string roll, string ED, string page)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(year));
            Assert.IsTrue(censusRef.Roll.Equals(roll));
            Assert.IsTrue(censusRef.ED.Equals(ED));
            Assert.IsTrue(censusRef.Page.Equals(page));
        }
예제 #5
0
        static void CanadianCensus(string reference, FactDate year, string ED, string SD, string page, string family)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(year));
            Assert.IsTrue(censusRef.ED.Equals(ED));
            Assert.IsTrue(censusRef.SD.Equals(SD));
            Assert.IsTrue(censusRef.Page.Equals(page));
            Assert.IsTrue(censusRef.Family.Equals(family));
        }
예제 #6
0
        private void Canadian1881Census(string reference, string ED, string SD, string page, string family)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.CANADACENSUS1881));
            Assert.IsTrue(censusRef.ED.Equals(ED));
            Assert.IsTrue(censusRef.SD.Equals(SD));
            Assert.IsTrue(censusRef.Page.Equals(page));
            Assert.IsTrue(censusRef.Family.Equals(family));
        }
예제 #7
0
        private void CensusHO107Test(string reference, FactDate year, string piece, string book, string folio, string page)
        {
            CensusReference censusRef = new CensusReference("I1", reference, false);

            Assert.IsTrue(censusRef.CensusYear.Equals(year));
            Assert.IsTrue(censusRef.Piece.Equals(piece));
            Assert.IsTrue(censusRef.Folio.Equals(folio));
            Assert.IsTrue(censusRef.Page.Equals(page));
            if (!book.Equals(string.Empty))
            {
                Assert.IsTrue(censusRef.Book.Equals(book));
            }
        }
예제 #8
0
        public void CensusReferenceOtherTests()
        {
            CensusReference censusRef;

            censusRef = new CensusReference("I1", "826/134/7 England & Wales 1881", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1881));
            Assert.IsTrue(censusRef.Piece.Equals("826"));
            Assert.IsTrue(censusRef.Folio.Equals("134"));
            Assert.IsTrue(censusRef.Page.Equals("7"));

            censusRef = new CensusReference("I1", "RG14; Piece: 21983", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1911));
            Assert.IsTrue(censusRef.Piece.Equals("21983"));
            Assert.IsTrue(censusRef.Status.Equals(CensusReference.ReferenceStatus.INCOMPLETE));
        }
예제 #9
0
 public void SetCensusReferenceDetails(CensusReference cr, CensusLocation cl, string comment)
 {
     if (!HasValidCensusReference)
     {
         this.CensusReference = cr;
     }
     if (Location.IsBlank)
     {
         Location = cl.Equals(CensusLocation.UNKNOWN) ?
                    FactLocation.GetLocation(cr.Country, Properties.GeneralSettings.Default.AddCreatedLocations) :
                    FactLocation.GetLocation(cl.Location, Properties.GeneralSettings.Default.AddCreatedLocations);
     }
     if (Comment.Length == 0 && comment.Length > 0)
     {
         Comment = comment;
     }
 }
        static string GetCensusSpecificFields(CensusIndividual ind)
        {
            CensusReference censusRef = ind.CensusReference;

            if (ind.CensusDate.Overlaps(CensusDate.EWCENSUS1841) && Countries.IsEnglandWales(ind.CensusCountry))
            {
                return($"&census_code=1841&ref1={censusRef.Piece}&ref2={censusRef.Book}&ref3={censusRef.Folio}&ref4={censusRef.Page}&ref5=");
            }
            if (ind.CensusDate.Overlaps(CensusDate.EWCENSUS1881) && Countries.IsEnglandWales(ind.CensusCountry))
            {
                return($"&census_code=RG11&ref1={censusRef.Piece}&ref2={censusRef.Folio}&ref3={censusRef.Page}&ref4=&ref5=");
            }
            if (ind.CensusDate.Overlaps(CensusDate.SCOTCENSUS1881) && ind.CensusCountry == Countries.SCOTLAND)
            {
                return($"&census_code=SCT1&ref1={censusRef.RD}&ref2={censusRef.ED}&ref3={censusRef.Page}&ref4=&ref5=");
            }
            if (ind.CensusDate.Overlaps(CensusDate.CANADACENSUS1881) && ind.CensusCountry == Countries.CANADA)
            {
                return($"&census_code=CAN1&ref1={censusRef.ED}&ref2={censusRef.SD}&ref3=&ref4={censusRef.Page}&ref5={censusRef.Family}");
            }
            //if (ind.CensusDate.Overlaps(CensusDate.IRELANDCENSUS1911) && ind.CensusCountry == Countries.IRELAND)
            //    return $"&census_code=0IRL&ref1=&ref2=&ref3=&ref4=&ref5=";
            if (ind.CensusDate.Overlaps(CensusDate.EWCENSUS1911) && Countries.IsEnglandWales(ind.CensusCountry))
            {
                return($"&census_code=0ENG&ref1={censusRef.Piece}&ref2={censusRef.Schedule}&ref3=&ref4=&ref5=");
            }
            if (ind.CensusDate.Overlaps(CensusDate.USCENSUS1880) && ind.CensusCountry == Countries.UNITED_STATES)
            {
                return($"&census_code=USA1&ref1={censusRef.Roll}&ref2={censusRef.Page}&ref3=&ref4=&ref5=");
            }
            if (ind.CensusDate.Overlaps(CensusDate.USCENSUS1940) && ind.CensusCountry == Countries.UNITED_STATES)
            {
                return($"&census_code=USA4&ref1={censusRef.Roll}&ref2={censusRef.ED}&ref3={censusRef.Page}&ref4=&ref5=");
            }
            return(string.Empty);
        }
예제 #11
0
        public void CensusReferenceConstructorTest()
        {
            CensusReference censusRef;

            //USCensusTest("District: 1-2 , Family Number: 251 , Sheet Number and Letter: 10B , Line Number: 78 , Affiliate Publication Number: T627 , Affiliate Film Number: 544 , Digital Folder Number: 005449024 , Image Number: 00057", CensusDate.USCENSUS1940, "T627_544", "1-2", "10B");
            //USCensusTest("enumeration district (ED) 1-2, sheet 10B, family 251, NARA digital publication T627 (Washington, D.C.: National Archives and Records Administration, 2012), roll 544.", CensusDate.USCENSUS1940, "T627_544", "1-2", "10B");
            USCensusTest("Year: 1940; Census Place: Smyrna, Kent, Delaware; Roll: T627_544; Page: 10B; Enumeration District: 1-2", CensusDate.USCENSUS1940, "T627_544", "1-2", "10B");
            USCensusTest("Year: 1930; Census Place: Sea Cliff, Nassau, New York; Roll: 1462; Page: 14B; Enumeration District: 193;", CensusDate.USCENSUS1930, "1462", "193", "14B");
            USCensusTest("Year: 1900; Census Place: South Prairie, Pierce,Washington; Roll: T623_1748; Page: 4B; Enumeration District: 160.", CensusDate.USCENSUS1900, "T623_1748", "160", "4B");
            USCensusTest("Census 1910 Springfield MO USA Ward 8 ED44 p9A", CensusDate.USCENSUS1910, "8", "44", "9A");
            USCensusTest("Census 1940 Minneapolis MN USA Ward 7 ED89-190 p3B", CensusDate.USCENSUS1940, "7", "89-190", "3B");
            USCensusTest("Census 1940 Lebanon NH USA T627_2286 Page 12B ED 5-33", CensusDate.USCENSUS1940, "T627_2286", "5-33", "12B");
            USCensusTest("Year 1940 Lebanon NH USA; Roll: T627_2286 Page 12B ED 5-33", CensusDate.USCENSUS1940, "T627_2286", "5-33", "12B");
            USCensusTest("Year: 1880; Census Place: Chicago, Cook, Illinois; Roll: 195; FamilyHistory Film: 1254195; Page: 71D; Enumeration District: 136; Image:0337", CensusDate.USCENSUS1880, "195", "136", "71D");
            USCensusTest("Year: 1880; Census Place: New York City, New York, New York; Roll: 885; Family History Film: 1254885; Page: 29C; Enumeration District: 376; Image: 0060", CensusDate.USCENSUS1880, "885", "376", "29C");
            USCensusTest("Census 1930 Salt Lake City UT USA ED50 p6B", CensusDate.USCENSUS1930, string.Empty, "50", "6B");
            //USCensusTest("Year: 1860; Census Place: Boston Ward 12, Suffolk, Massachusetts; Roll: M653_525; Page: 515; Image: 519; Family History Library Film: 803525", CensusDate.USCENSUS1860, "M653_525", "12", "515");

            ScottishCensusTest("GROS 692/01 019/00 008", FactDate.UNKNOWN_DATE, "692-1", "19", "8");
            ScottishCensusTest("in the 1851 census, GROS 343/00 001/00 011.", CensusDate.UKCENSUS1851, "343", "1", "11");
            ScottishCensusTest("Parish: Inverurie; ED: 4; Page: 12; Line: 3; Roll: CSSCT1901_69", FactDate.UNKNOWN_DATE, "Inverurie", "4", "12");
            ScottishCensusTest("Census 1841 Kelso ROX SCT1841/793 f4 p45", CensusDate.UKCENSUS1841, "793", "4", "45");

            CensusHO107Test("HO107 Piece: 1607 Folio: 880 Page: 29", CensusDate.UKCENSUS1851, "1607", string.Empty, "880", "29");
            CensusHO107Test("HO107 piece 729 folio 5/15 page 6", CensusDate.UKCENSUS1841, "729", "5", "15", "6");
            CensusHO107Test("HO107 piece 2195 folio 507 page 71", CensusDate.UKCENSUS1851, "2195", string.Empty, "507", "71");
            CensusHO107Test("Database online. Class: HO107; Piece 709; Book: 6; Civil Parish: StLeonard Shoreditch; County: Middlesex; Enumeration District: 19;Folio: 53; Page: 15; Line: 16; GSU roll: 438819.", CensusDate.UKCENSUS1841, "709", "6", "53", "15");
            CensusHO107Test("HO107, Piece 704, Folio 11, Page  14", CensusDate.UKCENSUS1841, "704", string.Empty, "11", "14");
            CensusHO107Test("Database online. Class: HO107; Piece: 1782; Folio: 719; Page: 25; GSU", CensusDate.UKCENSUS1851, "1782", string.Empty, "719", "25");

            Census1911Test("1911 census - Piece 22623, SN 183", "22623", "183");
            Census1911Test("1911 census - Piece: 22623, SN: 183", "22623", "183");
            Census1911Test("1911 census - Piece: 22623; Schedule No. : 183", "22623", "183");
            Census1911Test("Class: RG14; Piece: 22623; Schedule Number: 183", "22623", "183");
            Census1911Test("RG14PN22623 RG78PN1327 RD455 SD10 ED13 SN183", "22623", "183");
            Census1911Test("RG14, Piece 00866, Registration District 10, Sub District 4, Enumeration District 25, Schedule No. 63", "00866", "63");
            Census1911Test("Census 1911 Coventry WAR ENG RG14Piece18568 RG78Piece1111 RD390 SD2 ED30 SN129", "18568", "129");
            Census1911Test("Census 1911 Wortley Leeds YKS ENG RG14/Piece26892 RG78Piece1545 RD499 SD3 ED22 SN150", "26892", "150");
            Census1911Test("1911 census - Piece 23919, SN 32 - living at 114 Princess Road, Moss Side, Manchester, Lancashire", "23919", "32");

            UKCensusTest("Database online. Class: RG9; Piece: 1105; Folio: 90; Page: 21; GSU", CensusDate.UKCENSUS1861, "1105", "90", "21");
            UKCensusTest("            RG11 piece 870 folio 49 page 10", CensusDate.UKCENSUS1881, "870", "49", "10");
            //UKCensusTest("Archive reference	RG11\nPiece number	870\nFolio	49\nPage	10", CensusDate.UKCENSUS1881, "870", "49", "10");
            UKCensusTest("RG11 Piece/Folio  4738 / 103 Page Number  16", CensusDate.UKCENSUS1881, "4738", "103", "16");
            UKCensusTest("RG11 Piece 2529 Folio 68 Page 1", CensusDate.UKCENSUS1881, "2529", "68", "1");

            Canadian1881Census("        123/A/55/35/1	Canada 1881", "123", "A", "35", "1");
            Canadian1881Census("        123/A/35/1	Canada 1881", "123", "A", "35", "1");
            CanadianCensus("Year: 1881; Census Place: Richibucto, Kent, New Brunswick; Roll: C_13184; Page: 32; Family No: 144", CensusDate.CANADACENSUS1881, "C_13184", "32", "144");
            Canadian1881Census("1881 census - District 146/B, Page 59, Family 273 - living at Rainham, Haldimand, Ontario, Canada.", "146", "B", "59", "273");
            //CanadianCensus("Event Place: Dumfries South, Brant North, Ontario, Canada\nDistrict Number: 160\nSub-District: C\nDivision: 2\nPage Number: 1\nFamily Number: 3\nAffiliate Film Number: C-13264", , CensusDate.CANADACENSUS1881, "C_13184", "1", "3");

            censusRef = new CensusReference("I1", "826/134/7 England & Wales 1881", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1881));
            Assert.IsTrue(censusRef.Piece.Equals("826"));
            Assert.IsTrue(censusRef.Folio.Equals("134"));
            Assert.IsTrue(censusRef.Page.Equals("7"));

            censusRef = new CensusReference("I1", "RG14; Piece: 21983", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1911));
            Assert.IsTrue(censusRef.Piece.Equals("21983"));
            Assert.IsTrue(censusRef.Status.Equals(CensusReference.ReferenceStatus.INCOMPLETE));
        }
예제 #12
0
        public void CensusReferenceConstructorTest()
        {
            CensusReference censusRef;

            //USCensusTest("District: 1-2 , Family Number: 251 , Sheet Number and Letter: 10B , Line Number: 78 , Affiliate Publication Number: T627 , Affiliate Film Number: 544 , Digital Folder Number: 005449024 , Image Number: 00057", CensusDate.USCENSUS1940, "T627_544", "1-2", "10B");
            //USCensusTest("enumeration district (ED) 1-2, sheet 10B, family 251, NARA digital publication T627 (Washington, D.C.: National Archives and Records Administration, 2012), roll 544.", CensusDate.USCENSUS1940, "T627_544", "1-2", "10B");
            USCensusTest("Year: 1930; Census Place: Sea Cliff, Nassau, New York; Roll: 1462; Page: 14B; Enumeration District: 193;", CensusDate.USCENSUS1930, "1462", "193", "14B");
            USCensusTest("Year: 1900; Census Place: South Prairie, Pierce,Washington; Roll: T623_1748; Page: 4B; Enumeration District: 160.", CensusDate.USCENSUS1900, "T623_1748", "160", "4B");
            USCensusTest("Census 1910 Springfield MO USA Ward 8 ED44 p9A", CensusDate.USCENSUS1910, "8", "44", "9A");
            USCensusTest("United States Census, 1880, database with images, FamilySearch(https://familysearch.org/ark:/61903/1:1:M4J9-Z86 : 12 August 2017), John Smith, Spring Hill, Barbour, Alabama, United States; citing enumeration district ED 13, sheet 155B, NARA microfilm publication T9 (Washington D.C.: National Archives and Records Administration, n.d.), roll 0002; FHL microfilm 1,254,002.", CensusDate.USCENSUS1880, "2", "13", "155B");
            USCensusTest("Census 1940 Minneapolis MN USA Ward 7 ED89-190 p3B", CensusDate.USCENSUS1940, "7", "89-190", "3B");
            USCensusTest("Census 1940 Lebanon NH USA T627_2286 Page 12B ED 5-33", CensusDate.USCENSUS1940, "2286", "5-33", "12B");
            USCensusTest("Year: 1940; Census Place: Smyrna, Kent, Delaware; Roll: T627_544; Page: 10B; Enumeration District: 1-2", CensusDate.USCENSUS1940, "544", "1-2", "10B");
            USCensusTest("Year 1940 Lebanon NH USA; Roll: T627_2286 Page 12B ED 5-33", CensusDate.USCENSUS1940, "2286", "5-33", "12B");
            USCensusTest("Year: 1880; Census Place: Chicago, Cook, Illinois; Roll: 195; FamilyHistory Film: 1254195; Page: 71D; Enumeration District: 136; Image:0337", CensusDate.USCENSUS1880, "195", "136", "71D");
            USCensusTest("Year: 1880; Census Place: New York City, New York, New York; Roll: 885; Family History Film: 1254885; Page: 29C; Enumeration District: 376; Image: 0060", CensusDate.USCENSUS1880, "885", "376", "29C");
            USCensusTest("Census 1930 Salt Lake City UT USA ED50 p6B", CensusDate.USCENSUS1930, string.Empty, "50", "6B");
            //USCensusTest("Year: 1860; Census Place: Boston Ward 12, Suffolk, Massachusetts; Roll: M653_525; Page: 515; Image: 519; Family History Library Film: 803525", CensusDate.USCENSUS1860, "M653_525", "12", "515");
            USCensusTest("Roll T627_1141; ED 8-14; Page 9A", CensusDate.USCENSUS1940, "1141", "8-14", "9A");
            USCensusTest("Roll: m-t0627_2227; ED 1-7; Page 19A", CensusDate.USCENSUS1940, "2227", "1-7", "19A");
            USCensusTest("T627, roll 4515, Burlington, enumeration district (ED) 51-5, sheet 4A, household 45, Alice Reed, accessed 22 Jan 2019", CensusDate.USCENSUS1940, "4515", "51-5", "4A");

            ScottishCensusTest("GROS 692/01 019/00 008", FactDate.UNKNOWN_DATE, "692-1", "19", "8");
            ScottishCensusTest("in the 1851 census, GROS 343/00 001/00 011.", CensusDate.UKCENSUS1851, "343", "1", "11");
            ScottishCensusTest("Parish: Inverurie; ED: 4; Page: 12; Line: 3; Roll: CSSCT1901_69", FactDate.UNKNOWN_DATE, "Inverurie", "4", "12");
            ScottishCensusTest("Census 1841 Kelso ROX SCT1841/793 f4 p45", CensusDate.UKCENSUS1841, "793", "4", "45");
            ScottishCensusTest("1881 GROS 233/ 2/ 7", CensusDate.SCOTCENSUS1881, "233", "2", "7");
            ScottishCensusTest("GROS 225 / 7 / 15", FactDate.UNKNOWN_DATE, "225", "7", "15");
            ScottishCensusTest("1881 GROS 225 / 7 / 15", CensusDate.SCOTCENSUS1881, "225", "7", "15");
            ScottishCensusTest("Ref: 1881 GROS 225 / 7 / 15", CensusDate.SCOTCENSUS1881, "225", "7", "15");
            ScottishCensusTest("1871, Census 496 / 11 / 69", CensusDate.UKCENSUS1871, "496", "11", "69");
            ScottishCensusTest("1891, Census 496/ 13/ 26", CensusDate.UKCENSUS1891, "496", "13", "26");

            CensusHO107Test("HO107 Piece: 1607 Folio: 880 Page: 29", CensusDate.UKCENSUS1851, "1607", string.Empty, "880", "29");
            CensusHO107Test("HO107 piece 729 folio 5/15 page 6", CensusDate.UKCENSUS1841, "729", "5", "15", "6");
            CensusHO107Test("HO107 piece 2195 folio 507 page 71", CensusDate.UKCENSUS1851, "2195", string.Empty, "507", "71");
            CensusHO107Test("Database online. Class: HO107; Piece 709; Book: 6; Civil Parish: StLeonard Shoreditch; County: Middlesex; Enumeration District: 19;Folio: 53; Page: 15; Line: 16; GSU roll: 438819.", CensusDate.UKCENSUS1841, "709", "6", "53", "15");
            CensusHO107Test("HO107, Piece 704, Folio 11, Page  14", CensusDate.UKCENSUS1841, "704", string.Empty, "11", "14");
            CensusHO107Test("Database online. Class: HO107; Piece: 1782; Folio: 719; Page: 25; GSU", CensusDate.UKCENSUS1851, "1782", string.Empty, "719", "25");
            CensusHO107Test(@" Bethnal Green, folio 10/9, page 11, Caroline Shaboe; digital images, \i FindMyPast.co.uk\i0  (https://search.findmypast.co.uk/search-world-Records/1841-england-wales-and-scotland-census : accessed 29 Dec 2009); citing PRO HO/107/692", CensusDate.UKCENSUS1841, "692", "10", "9", "11");
            CensusHO107Test(@"Leeds, Yorkshire, folio 9, page 10, John Knowling; digital images, \i FindMyPast.co.uk\i0 (https://search.findmypast.co.uk/search-world-Records/1841-england-wales-and-scotland-census : accessed 20 Oct 2017); citing PRO HO/107/1345", CensusDate.UKCENSUS1841, "1345", "", "9", "10");
            CensusHO107Test("HO107/797/10 f6 p5", CensusDate.UKCENSUS1841, "797", "10", "6", "5");
            CensusHO107Test("Archive reference HO107 Piece number 142 Book number 10 Folio number 51 Page number 1 Record set 1841 England, Wales & Scotland Census", CensusDate.UKCENSUS1841, "142", "10", "51", "1");
            CensusHO107Test(@"Ulleskelf, Tadcaster, folio 9, Book 8, page 12, Joshua Hey and family; digital images, \i FindMyPast.co.uk\i0  (https://search.findmypast.co.uk/search-world-Records/1841-england-wales-and-scotland-census : accessed 12 Jun 2017); citing PRO HO/107/1282", CensusDate.UKCENSUS1841, "1282", "8", "9", "12");
            CensusHO107Test("Archive reference HO107 Piece number 1541 Folio 119 Page 15 Record set 1851 England, Wales & Scotland Census", CensusDate.UKCENSUS1851, "1541", "", "119", "15");

            Census1911Test("1911 census - Piece 22623, SN 183", "22623", "183");
            Census1911Test("1911 census - Piece: 22623, SN: 183", "22623", "183");
            Census1911Test("1911 census - Piece: 22623; Schedule No. : 183", "22623", "183");
            Census1911Test("Class: RG14; Piece: 22623; Schedule Number: 183", "22623", "183");
            Census1911Test("RG14PN22623 RG78PN1327 RD455 SD10 ED13 SN183", "22623", "183");
            Census1911Test("RG14/17131 SN117", "17131", "117");
            Census1911Test("RG14, Piece 00866, Registration District 10, Sub District 4, Enumeration District 25, Schedule No. 63", "00866", "63");
            Census1911Test("Census 1911 Coventry WAR ENG RG14Piece18568 RG78Piece1111 RD390 SD2 ED30 SN129", "18568", "129");
            Census1911Test("Census 1911 Wortley Leeds YKS ENG RG14/Piece26892 RG78Piece1545 RD499 SD3 ED22 SN150", "26892", "150");
            Census1911Test("1911 census - Piece 23919, SN 32 - living at 114 Princess Road, Moss Side, Manchester, Lancashire", "23919", "32");

            UKCensusTest("Class: RG11; Piece: 890; Folio: 114; Page: 9; GSU roll: 1341211", CensusDate.UKCENSUS1881, "890", "114", "9");
            UKCensusTest("Database online. Class: RG9; Piece: 1105; Folio: 90; Page: 21; GSU", CensusDate.UKCENSUS1861, "1105", "90", "21");
            UKCensusTest("            RG11 piece 870 folio 49 page 10", CensusDate.UKCENSUS1881, "870", "49", "10");
            UKCensusTest("Archive reference RG11 Piece number 4594 Folio 9 Page 12", CensusDate.UKCENSUS1881, "4594", "9", "12");
            UKCensusTest("Archive reference	RG11\nPiece number	870\nFolio	49\nPage	10", CensusDate.UKCENSUS1881, "870", "49", "10");
            UKCensusTest("Archive reference RG11 Piece number 4594 Folio 9 Page 12", CensusDate.UKCENSUS1881, "4594", "9", "12");
            UKCensusTest(@"Castleford, Pontefract, folio 9, page 12, Thomas Hey and family; digital images, \i FindMyPast.co.uk\i0  (https://search.findmypast.co.uk/search-world-Records/1881-england-wales-and-scotland-census : accessed 12 Jun 2017); citing PRO RG 11/4594", CensusDate.UKCENSUS1881, "4594", "9", "12");
            UKCensusTest("RG11 Piece/Folio  4738 / 103 Page Number  16", CensusDate.UKCENSUS1881, "4738", "103", "16");
            UKCensusTest("RG11 Piece 2529 Folio 68 Page 1", CensusDate.UKCENSUS1881, "2529", "68", "1");
            UKCensusTest("Class: RG11; Piece: 3934; Folio: 60; Page: 9; Line:; GSU roll: 1341939", CensusDate.UKCENSUS1881, "3934", "60", "9");
            UKCensusTest("Piece: RG9/480 Place: Gillingham -Kent Enumeration District: 14, Civil Parish: Gillingham Ecclesiastical Parish: Trinity,Folio: 42 Page: 20 Schedule: 117", CensusDate.UKCENSUS1861, "480", "42", "20");
            UKCensusTest("1901 census RG13/Piece3800/Folio112/Page16/SN#110", CensusDate.UKCENSUS1901, "3800", "112", "16");

            Canadian1881Census("        123/A/55/35/1	Canada 1881", "123", "A", "35", "1");
            Canadian1881Census("        123/A/35/1	Canada 1881", "123", "A", "35", "1");
            //Canadian1881Census("C_13266; Page 67; Family 301", "132", "C", "67", "301");
            CanadianCensus("Year: 1881; Census Place: Richibucto, Kent, New Brunswick; Roll: C_13184; Page: 32; Family No: 144", CensusDate.CANADACENSUS1881, "C_13184", "32", "144");
            Canadian1881Census("1881 census - District 146/B, Page 59, Family 273 - living at Rainham, Haldimand, Ontario, Canada.", "146", "B", "59", "273");
            //CanadianCensus("Event Place: Dumfries South, Brant North, Ontario, Canada\nDistrict Number: 160\nSub-District: C\nDivision: 2\nPage Number: 1\nFamily Number: 3\nAffiliate Film Number: C-13264", , CensusDate.CANADACENSUS1881, "C_13184", "1", "3");

            censusRef = new CensusReference("I1", "826/134/7 England & Wales 1881", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1881));
            Assert.IsTrue(censusRef.Piece.Equals("826"));
            Assert.IsTrue(censusRef.Folio.Equals("134"));
            Assert.IsTrue(censusRef.Page.Equals("7"));

            censusRef = new CensusReference("I1", "RG14; Piece: 21983", false);
            Assert.IsTrue(censusRef.CensusYear.Equals(CensusDate.UKCENSUS1911));
            Assert.IsTrue(censusRef.Piece.Equals("21983"));
            Assert.IsTrue(censusRef.Status.Equals(CensusReference.ReferenceStatus.INCOMPLETE));
        }
예제 #13
0
        void RunTests()
        {
            var             outputText = new Progress <string>(value => { rtbOutput.AppendText(value); });
            CensusReference censusRef;

            censusRef = new CensusReference("Age: 30; Marital status: Married; Relation to Head of House: Wife", outputText);
            censusRef = new CensusReference("St Louis Ward 17, enumeration district 0261, page 1A, dwelling number 1, family number 2, lines 10 - 14, John Roselauf household", outputText);
            censusRef = new CensusReference("1900 U.S. census, population schedule, Missouri, City of St Louis, St Louis Ward 17, enumeration district 0261, page 1A, dwelling number 1, family number 2, lines 10 - 14, John Roselauf household; NARA microfilm publication T623, roll 896; digital image, Ancestry.com (www.ancestry.com : accessed 4 July 2011).", outputText);
            censusRef = new CensusReference("Year: 1930; Census Place: Sea Cliff, Nassau, New York; Roll: 1462; Page: 14B; Enumeration District: 193;", outputText);
            censusRef = new CensusReference("United States Census, 1880, database with images, FamilySearch(https://familysearch.org/ark:/61903/1:1:M4J9-Z86 : 12 August 2017), John Smith, Spring Hill, Barbour, Alabama, United States; citing enumeration district ED 13, sheet 155B, NARA microfilm publication T9 (Washington D.C.: National Archives and Records Administration, n.d.), roll 0002; FHL microfilm 1,254,002.", outputText);
            censusRef = new CensusReference("1930 U.S.census, population schedule, Illinois, Madison, Venice, enumeration district 90, page 8A, dwelling number 229, family number 233, lines 38 - 42, Henry Anters household; NARA microfilm publication T626, roll 542; digital image, Ancestry.com(www.ancestry.com : accessed 12 Jun 2019).", outputText);
            censusRef = new CensusReference(@"Mr Russell Eugene Stoner Age 58
Full Background Report Available

Current Address
Map
521 Paddock Ln
Celina, TX 75009 - 4642

Phone Numbers
(214) 732 - 4048 - Wireless
(972) 390 - 1875 - LandLine / Services
(469) 223 - 1382 - Wireless

Full Background Report(Sponsored by PeopleFinders)
Arrest Records
Court Records
Marriage & Divorce Records
Birth & Death Records
Police Records
Search Warrants
Criminal Records Data
Property Records
Bankruptcies, Judgments, Liens
Complete Background Report
View Full Background Report

Email Addresses
[email protected]

Associated Names
Eugene Stoner Russell
Russell Eugene Stoner
Russell Stoner
Show Less...
Mr Russell E Stoner
Sponsored Links

Previous Addresses
Map
1204 Aberdeen Dr
Allen, TX 75002 - 8665
(10 / 27 / 2009 - 2 / 24 / 2017)
Map
304 Fairfax Dr
Allen, TX 75013 - 3605
(2 / 25 / 2011 - 2 / 25 / 2011)
Map
2727 Bens Branch Dr, APT 321
Kingwood, TX 77339 - 3740
(11 / 30 / 2009 - 11 / 30 / 2009)
Show Less...
Map
4640 Hedgcoxe Rd
Plano, TX 75024 - 3885
(2 / 9 / 2012 - 2 / 9 / 2012)
Map
6201 Windhaven Pkwy, # PY3123
Plano, TX 75093 - 8097
(2 / 24 / 2011 - 2 / 24 / 2011)
Map
2727 Bens Branch Dr, APT 321
Humble, TX 77339 - 3740
(12 / 1 / 2009 - 12 / 27 / 2009)
Map
124 W 1480 N
Tooele, UT 84074 - 8811
(7 / 13 / 2000 - 10 / 25 / 2005)
Map
1323 Thoreau Ln
Allen, TX 75002 - 2926
(2 / 13 / 1992 - 10 / 30 / 2003)
Map
530 NE Malibu Dr
Lees Summit, MO 64064 - 2003
(1 / 1 / 1989 - 12 / 7 / 2001)
Map
539 High Meadow Dr
Allen, TX 75002
(7 / 15 / 2001 - 7 / 18 / 2001)
Map
539 High Mdw
Allen, TX 75002
(7 / 18 / 2001 - 7 / 18 / 2001)
Map
Po Box 596
Mc Kinney, TX 75070 - 8140
(7 / 13 / 2001 - 7 / 15 / 2001)
Map
Po Box 596
Mckinney, TX 75070 - 8140
(7 / 13 / 2001 - 7 / 13 / 2001)
Map
1206 Hearthstone Ct
Allen, TX 75002 - 8619
(3 / 9 / 1997 - 5 / 8 / 2001)
Map
1430 S Main St
Salt Lake City, UT 84115 - 5338
(11 / 13 / 2000 - 11 / 15 / 2000)
Map
539 Hightrail Dr
Allen, TX 75002 - 4073
(8 / 19 / 1989 - 3 / 29 / 1999)
Map
5706 Warren Ave
East Saint Louis, IL 62204 - 2924
(8 / 31 / 1985 - 12 / 1 / 1993)
Map
105 Kensington Heights Rd
Belleville, IL 62226 - 5030
(9 / 1 / 1985 - 6 / 30 / 1986)

Possible Relatives
Kathleen A Stoner, Bridgette A Stoner, Mathew G Stoner, Matthew Gregory Stoner, Alicia A Richardson, Dann Bone, Dann S Bone, Deann Ann Bone,
Show Less...
James O Bone, James Wesley Bone, Matthew G Stoner, Andie Cabral, Andrea M Cabral Perez, Arturo Cabral, Brandon L Crowson, Catherine Michele Goodner, Daniel Shad Goodner, Danielle N Champion, Danielle Champion, Dayla M Thrasher, Diane B Bradford, Felix Gale Vanhollebeke, Fernanda Cabral, Fernanda M Cabral, Fernando J Cabral, Fernando Jose Cabral, Georgia F Richards, James Bone, James I Campbell, James V Richards, James Dwayne Richardson Jr, Jonathan C Whatley Sr, Juana E Crowson, Lillie Mae Campbell, Magali G Cabral, Magali Cabral Perez, Marci G Richardson, Maria Fernanda Crowson, Patsy W Campbell, Russell A Whatley, Tara L Burton
Sponsored Links

Possible Associates
Bob T Em, Don Harold Mordecai, Gibson M Braswell, Paul C Young, Ray E Everett, Ruth Ann Mordecai, Wendi M Braswell, Jacklyn L Sellers,
Show Less...
Jaime M Henneman, James R Garza, Jonathan R Cruz, Margaret H Cruz, Marie A Stover, Mary Susan Astorga, Melissa A Griffin, Michael J Woodward, Patrick Claude Beck
Mr Russell Eugene Stoner is 58 years old.Russell's phone numbers include (214) 732-4048, (972) 390-1875, (469) 223-1382. Russell's email addresses include [email protected]'s possible relatives include Kathleen A Stoner, Bridgette A Stoner, Mathew G Stoner, Matthew Gregory Stoner, Alicia A Richardson.

Russell's most recent address is 521 Paddock Ln, Celina, TX 75009-4642. Russell previously lived at 1204 Aberdeen Dr, Allen, TX 75002-8665, for 7 years. Russell previously lived at 304 Fairfax Dr, Allen, TX 75013-3605.", outputText);
        }
예제 #14
0
        private void CreateFact(XmlNode node, string reference, bool preferred)
        {
            if (node != null)
            {
                FamilyTree ft = FamilyTree.Instance;
                try
                {
                    FactType = FixFactTypes(node.Name);
                    string factDate = FamilyTree.GetText(node, "DATE", false);
                    this.FactDate  = new FactDate(factDate, reference);
                    this.Preferred = preferred;
                    if (FactType.Equals(CUSTOM_EVENT) || FactType.Equals(CUSTOM_FACT))
                    {
                        string tag = FamilyTree.GetText(node, "TYPE", false).ToUpper();
                        string factType;
                        if (CUSTOM_TAGS.TryGetValue(tag, out factType))
                        {
                            FactType = factType;
                            CheckCensusDate(tag);
                        }
                        else
                        {
                            FactType = Fact.UNKNOWN;
                            FamilyTree.Instance.CheckUnknownFactTypes(tag);
                            Tag = tag;
                        }
                    }
                    SetCommentAndLocation(FactType, FamilyTree.GetText(node, false), FamilyTree.GetText(node, "PLAC", false),
                                          FamilyTree.GetText(node, "PLAC/MAP/LATI", false), FamilyTree.GetText(node, "PLAC/MAP/LONG", false));
                    if (Location.IsBlank)
                    {
                        SetAddress(FactType, node);
                    }

                    // only check UK census dates for errors as those are used for colour census
                    if (FactType.Equals(CENSUS) && Location.IsUnitedKingdom)
                    {
                        CheckCensusDate("Census");
                    }

                    // need to check residence after setting location
                    if (FactType.Equals(RESIDENCE) && Properties.GeneralSettings.Default.UseResidenceAsCensus)
                    {
                        CheckResidenceCensusDate();
                    }

                    // check Children Status is valid
                    if (FactType.Equals(CHILDREN1911))
                    {
                        CheckValidChildrenStatus(node);
                    }

                    // now iterate through source elements of the fact finding all sources
                    XmlNodeList list = node.SelectNodes("SOUR");
                    foreach (XmlNode n in list)
                    {
                        if (n.Attributes["REF"] != null)
                        {   // only process sources with a reference
                            string     srcref = n.Attributes["REF"].Value;
                            FactSource source = ft.GetSourceID(srcref);
                            if (source != null)
                            {
                                Sources.Add(source);
                                source.AddFact(this);
                            }
                            else
                            {
                                ft.XmlErrorBox.AppendText("Source " + srcref + " not found." + "\n");
                            }
                        }
                        if (IsCensusFact)
                        {
                            this.CensusReference = new CensusReference(this, n);
                        }
                    }
                    // if we have checked the sources and no census ref see if its been added as a comment to this fact
                    if (FactType.Equals(CENSUS) || FactType.Equals(CENSUS_FTA) || FactType.Equals(RESIDENCE))
                    {
                        CheckForSharedFacts(node);
                        if (this.CensusReference == CensusReference.UNKNOWN)
                        {
                            this.CensusReference = new CensusReference(this, node);
                        }
                        else if (!this.CensusReference.IsKnownStatus)
                        {
                            CensusReference pageRef = this.CensusReference;
                            this.CensusReference = new CensusReference(this, node, pageRef);
                        }
                    }
                    if (FactType == DEATH)
                    {
                        Comment = FamilyTree.GetText(node, "CAUS", true);
                        if (node.FirstChild != null && node.FirstChild.Value == "Y" && !FactDate.IsKnown)
                        {
                            FactDate = new FactDate(FactDate.MINDATE, DateTime.Now); // if death flag set as Y then death before today.
                        }
                    }
                    string age = FamilyTree.GetText(node, "AGE", false);
                    if (age.Length > 0)
                    {
                        this.GedcomAge = new Age(age, FactDate);
                    }
                    this.CertificatePresent = SetCertificatePresent();
                }
                catch (Exception ex)
                {
                    string message = (node == null) ? string.Empty : node.InnerText + ". ";
                    throw new InvalidXMLFactException(message + "\n            Error " + ex.Message + "\n");
                }
            }
        }