2957 lines
65 KiB
Python
Executable File
2957 lines
65 KiB
Python
Executable File
# -*- coding: utf-8 -*-
|
||
|
||
from __future__ import unicode_literals
|
||
|
||
|
||
data_stream = [
|
||
["States-A", "Revenue", "", "Capital", "", "Total", "Others(1)", "Total"],
|
||
["", "", "", "", "", "Revenue &", "", ""],
|
||
["", "Medical &", "Family", "Medical &", "Family", "", "", ""],
|
||
["", "", "", "", "", "Capital", "", ""],
|
||
["", "Public", "Welfare", "Public", "Welfare", "", "", ""],
|
||
["", "Health", "", "Health", "", "", "", ""],
|
||
[
|
||
"Andhra Pradesh",
|
||
"47,824,589",
|
||
"9,967,837",
|
||
"1,275,000",
|
||
"15,000",
|
||
"59,082,426",
|
||
"14,898,243",
|
||
"73,980,669",
|
||
],
|
||
[
|
||
"Arunachal Pradesh",
|
||
"2,241,609",
|
||
"107,549",
|
||
"23,000",
|
||
"0",
|
||
"2,372,158",
|
||
"86,336",
|
||
"2,458,494",
|
||
],
|
||
[
|
||
"Assam",
|
||
"14,874,821",
|
||
"2,554,197",
|
||
"161,600",
|
||
"0",
|
||
"17,590,618",
|
||
"4,408,505",
|
||
"21,999,123",
|
||
],
|
||
[
|
||
"Bihar",
|
||
"21,016,708",
|
||
"4,332,141",
|
||
"5,329,000",
|
||
"0",
|
||
"30,677,849",
|
||
"2,251,571",
|
||
"32,929,420",
|
||
],
|
||
[
|
||
"Chhattisgarh",
|
||
"11,427,311",
|
||
"1,415,660",
|
||
"2,366,592",
|
||
"0",
|
||
"15,209,563",
|
||
"311,163",
|
||
"15,520,726",
|
||
],
|
||
[
|
||
"Delhi",
|
||
"28,084,780",
|
||
"411,700",
|
||
"4,550,000",
|
||
"0",
|
||
"33,046,480",
|
||
"5,000",
|
||
"33,051,480",
|
||
],
|
||
["Goa", "4,055,567", "110,000", "330,053", "0", "4,495,620", "12,560",
|
||
"4,508,180"],
|
||
[
|
||
"Gujarat",
|
||
"26,328,400",
|
||
"6,922,900",
|
||
"12,664,000",
|
||
"42,000",
|
||
"45,957,300",
|
||
"455,860",
|
||
"46,413,160",
|
||
],
|
||
[
|
||
"Haryana",
|
||
"15,156,681",
|
||
"1,333,527",
|
||
"40,100",
|
||
"0",
|
||
"16,530,308",
|
||
"1,222,698",
|
||
"17,753,006",
|
||
],
|
||
[
|
||
"Himachal Pradesh",
|
||
"8,647,229",
|
||
"1,331,529",
|
||
"580,800",
|
||
"0",
|
||
"10,559,558",
|
||
"725,315",
|
||
"11,284,873",
|
||
],
|
||
[
|
||
"Jammu & Kashmir",
|
||
"14,411,984",
|
||
"270,840",
|
||
"3,188,550",
|
||
"0",
|
||
"17,871,374",
|
||
"166,229",
|
||
"18,037,603",
|
||
],
|
||
[
|
||
"Jharkhand",
|
||
"8,185,079",
|
||
"3,008,077",
|
||
"3,525,558",
|
||
"0",
|
||
"14,718,714",
|
||
"745,139",
|
||
"15,463,853",
|
||
],
|
||
[
|
||
"Karnataka",
|
||
"34,939,843",
|
||
"4,317,801",
|
||
"3,669,700",
|
||
"0",
|
||
"42,927,344",
|
||
"631,088",
|
||
"43,558,432",
|
||
],
|
||
[
|
||
"Kerala",
|
||
"27,923,965",
|
||
"3,985,473",
|
||
"929,503",
|
||
"0",
|
||
"32,838,941",
|
||
"334,640",
|
||
"33,173,581",
|
||
],
|
||
[
|
||
"Madhya Pradesh",
|
||
"28,459,540",
|
||
"4,072,016",
|
||
"3,432,711",
|
||
"0",
|
||
"35,964,267",
|
||
"472,139",
|
||
"36,436,406",
|
||
],
|
||
[
|
||
"Maharashtra",
|
||
"55,011,100",
|
||
"6,680,721",
|
||
"5,038,576",
|
||
"0",
|
||
"66,730,397",
|
||
"313,762",
|
||
"67,044,159",
|
||
],
|
||
["Manipur", "2,494,600", "187,700", "897,400", "0", "3,579,700",
|
||
"0", "3,579,700"],
|
||
[
|
||
"Meghalaya",
|
||
"2,894,093",
|
||
"342,893",
|
||
"705,500",
|
||
"5,000",
|
||
"3,947,486",
|
||
"24,128",
|
||
"3,971,614",
|
||
],
|
||
[
|
||
"Mizoram",
|
||
"1,743,501",
|
||
"84,185",
|
||
"10,250",
|
||
"0",
|
||
"1,837,936",
|
||
"17,060",
|
||
"1,854,996",
|
||
],
|
||
[
|
||
"Nagaland",
|
||
"2,368,724",
|
||
"204,329",
|
||
"226,400",
|
||
"0",
|
||
"2,799,453",
|
||
"783,054",
|
||
"3,582,507",
|
||
],
|
||
[
|
||
"Odisha",
|
||
"14,317,179",
|
||
"2,552,292",
|
||
"1,107,250",
|
||
"0",
|
||
"17,976,721",
|
||
"451,438",
|
||
"18,428,159",
|
||
],
|
||
[
|
||
"Puducherry",
|
||
"4,191,757",
|
||
"52,249",
|
||
"192,400",
|
||
"0",
|
||
"4,436,406",
|
||
"2,173",
|
||
"4,438,579",
|
||
],
|
||
[
|
||
"Punjab",
|
||
"19,775,485",
|
||
"2,208,343",
|
||
"2,470,882",
|
||
"0",
|
||
"24,454,710",
|
||
"1,436,522",
|
||
"25,891,232",
|
||
],
|
||
]
|
||
|
||
data_stream_table_rotated = [
|
||
[
|
||
"Table 21 Current use of contraception by background characteristics"
|
||
"\u2014Continued",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"Modern method",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"Traditional method",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"",
|
||
"",
|
||
"Any",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"Other",
|
||
"Any",
|
||
"",
|
||
"",
|
||
"",
|
||
"Not",
|
||
"",
|
||
"Number",
|
||
],
|
||
[
|
||
"",
|
||
"Any",
|
||
"modern",
|
||
"Female",
|
||
"Male",
|
||
"",
|
||
"",
|
||
"",
|
||
"Condom/",
|
||
"modern",
|
||
"traditional",
|
||
"",
|
||
"With-",
|
||
"Folk",
|
||
"currently",
|
||
"",
|
||
"of",
|
||
],
|
||
[
|
||
"Background characteristic",
|
||
"method",
|
||
"method",
|
||
"sterilization",
|
||
"sterilization",
|
||
"Pill",
|
||
"IUD",
|
||
"Injectables",
|
||
"Nirodh",
|
||
"method",
|
||
"method",
|
||
"Rhythm",
|
||
"drawal",
|
||
"method",
|
||
"using",
|
||
"Total",
|
||
"women",
|
||
],
|
||
["Caste/tribe", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
|
||
"", ""],
|
||
[
|
||
"Scheduled caste",
|
||
"74.8",
|
||
"55.8",
|
||
"42.9",
|
||
"0.9",
|
||
"9.7",
|
||
"0.0",
|
||
"0.2",
|
||
"2.2",
|
||
"0.0",
|
||
"19.0",
|
||
"11.2",
|
||
"7.4",
|
||
"0.4",
|
||
"25.2",
|
||
"100.0",
|
||
"1,363",
|
||
],
|
||
[
|
||
"Scheduled tribe",
|
||
"59.3",
|
||
"39.0",
|
||
"26.8",
|
||
"0.6",
|
||
"6.4",
|
||
"0.6",
|
||
"1.2",
|
||
"3.5",
|
||
"0.0",
|
||
"20.3",
|
||
"10.4",
|
||
"5.8",
|
||
"4.1",
|
||
"40.7",
|
||
"100.0",
|
||
"256",
|
||
],
|
||
[
|
||
"Other backward class",
|
||
"71.4",
|
||
"51.1",
|
||
"34.9",
|
||
"0.0",
|
||
"8.6",
|
||
"1.4",
|
||
"0.0",
|
||
"6.2",
|
||
"0.0",
|
||
"20.4",
|
||
"12.6",
|
||
"7.8",
|
||
"0.0",
|
||
"28.6",
|
||
"100.0",
|
||
"211",
|
||
],
|
||
[
|
||
"Other",
|
||
"71.1",
|
||
"48.8",
|
||
"28.2",
|
||
"0.8",
|
||
"13.3",
|
||
"0.9",
|
||
"0.3",
|
||
"5.2",
|
||
"0.1",
|
||
"22.3",
|
||
"12.9",
|
||
"9.1",
|
||
"0.3",
|
||
"28.9",
|
||
"100.0",
|
||
"3,319",
|
||
],
|
||
["Wealth index", "", "", "", "", "", "", "", "", "", "", "", "",
|
||
"", "", "", ""],
|
||
[
|
||
"Lowest",
|
||
"64.5",
|
||
"48.6",
|
||
"34.3",
|
||
"0.5",
|
||
"10.5",
|
||
"0.6",
|
||
"0.7",
|
||
"2.0",
|
||
"0.0",
|
||
"15.9",
|
||
"9.9",
|
||
"4.6",
|
||
"1.4",
|
||
"35.5",
|
||
"100.0",
|
||
"1,258",
|
||
],
|
||
[
|
||
"Second",
|
||
"68.5",
|
||
"50.4",
|
||
"36.2",
|
||
"1.1",
|
||
"11.4",
|
||
"0.5",
|
||
"0.1",
|
||
"1.1",
|
||
"0.0",
|
||
"18.1",
|
||
"11.2",
|
||
"6.7",
|
||
"0.2",
|
||
"31.5",
|
||
"100.0",
|
||
"1,317",
|
||
],
|
||
[
|
||
"Middle",
|
||
"75.5",
|
||
"52.8",
|
||
"33.6",
|
||
"0.6",
|
||
"14.2",
|
||
"0.4",
|
||
"0.5",
|
||
"3.4",
|
||
"0.1",
|
||
"22.7",
|
||
"13.4",
|
||
"8.9",
|
||
"0.4",
|
||
"24.5",
|
||
"100.0",
|
||
"1,018",
|
||
],
|
||
[
|
||
"Fourth",
|
||
"73.9",
|
||
"52.3",
|
||
"32.0",
|
||
"0.5",
|
||
"12.5",
|
||
"0.6",
|
||
"0.2",
|
||
"6.3",
|
||
"0.2",
|
||
"21.6",
|
||
"11.5",
|
||
"9.9",
|
||
"0.2",
|
||
"26.1",
|
||
"100.0",
|
||
"908",
|
||
],
|
||
[
|
||
"Highest",
|
||
"78.3",
|
||
"44.4",
|
||
"19.5",
|
||
"1.0",
|
||
"9.7",
|
||
"1.4",
|
||
"0.0",
|
||
"12.7",
|
||
"0.0",
|
||
"33.8",
|
||
"18.2",
|
||
"15.6",
|
||
"0.0",
|
||
"21.7",
|
||
"100.0",
|
||
"733",
|
||
],
|
||
[
|
||
"Number of living children",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"No children",
|
||
"25.1",
|
||
"7.6",
|
||
"0.3",
|
||
"0.5",
|
||
"2.0",
|
||
"0.0",
|
||
"0.0",
|
||
"4.8",
|
||
"0.0",
|
||
"17.5",
|
||
"9.0",
|
||
"8.5",
|
||
"0.0",
|
||
"74.9",
|
||
"100.0",
|
||
"563",
|
||
],
|
||
[
|
||
"1 child",
|
||
"66.5",
|
||
"32.1",
|
||
"3.7",
|
||
"0.7",
|
||
"20.1",
|
||
"0.7",
|
||
"0.1",
|
||
"6.9",
|
||
"0.0",
|
||
"34.3",
|
||
"18.9",
|
||
"15.2",
|
||
"0.3",
|
||
"33.5",
|
||
"100.0",
|
||
"1,190",
|
||
],
|
||
[
|
||
"1 son",
|
||
"66.8",
|
||
"33.2",
|
||
"4.1",
|
||
"0.7",
|
||
"21.1",
|
||
"0.5",
|
||
"0.3",
|
||
"6.6",
|
||
"0.0",
|
||
"33.5",
|
||
"21.2",
|
||
"12.3",
|
||
"0.0",
|
||
"33.2",
|
||
"100.0",
|
||
"672",
|
||
],
|
||
[
|
||
"No sons",
|
||
"66.1",
|
||
"30.7",
|
||
"3.1",
|
||
"0.6",
|
||
"18.8",
|
||
"0.8",
|
||
"0.0",
|
||
"7.3",
|
||
"0.0",
|
||
"35.4",
|
||
"15.8",
|
||
"19.0",
|
||
"0.6",
|
||
"33.9",
|
||
"100.0",
|
||
"517",
|
||
],
|
||
[
|
||
"2 children",
|
||
"81.6",
|
||
"60.5",
|
||
"41.8",
|
||
"0.9",
|
||
"11.6",
|
||
"0.8",
|
||
"0.3",
|
||
"4.8",
|
||
"0.2",
|
||
"21.1",
|
||
"12.2",
|
||
"8.3",
|
||
"0.6",
|
||
"18.4",
|
||
"100.0",
|
||
"1,576",
|
||
],
|
||
[
|
||
"1 or more sons",
|
||
"83.7",
|
||
"64.2",
|
||
"46.4",
|
||
"0.9",
|
||
"10.8",
|
||
"0.8",
|
||
"0.4",
|
||
"4.8",
|
||
"0.1",
|
||
"19.5",
|
||
"11.1",
|
||
"7.6",
|
||
"0.7",
|
||
"16.3",
|
||
"100.0",
|
||
"1,268",
|
||
],
|
||
[
|
||
"No sons",
|
||
"73.2",
|
||
"45.5",
|
||
"23.2",
|
||
"1.0",
|
||
"15.1",
|
||
"0.9",
|
||
"0.0",
|
||
"4.8",
|
||
"0.5",
|
||
"27.7",
|
||
"16.8",
|
||
"11.0",
|
||
"0.0",
|
||
"26.8",
|
||
"100.0",
|
||
"308",
|
||
],
|
||
[
|
||
"3 children",
|
||
"83.9",
|
||
"71.2",
|
||
"57.7",
|
||
"0.8",
|
||
"9.8",
|
||
"0.6",
|
||
"0.5",
|
||
"1.8",
|
||
"0.0",
|
||
"12.7",
|
||
"8.7",
|
||
"3.3",
|
||
"0.8",
|
||
"16.1",
|
||
"100.0",
|
||
"961",
|
||
],
|
||
[
|
||
"1 or more sons",
|
||
"85.0",
|
||
"73.2",
|
||
"60.3",
|
||
"0.9",
|
||
"9.4",
|
||
"0.5",
|
||
"0.5",
|
||
"1.6",
|
||
"0.0",
|
||
"11.8",
|
||
"8.1",
|
||
"3.0",
|
||
"0.7",
|
||
"15.0",
|
||
"100.0",
|
||
"860",
|
||
],
|
||
[
|
||
"No sons",
|
||
"74.7",
|
||
"53.8",
|
||
"35.3",
|
||
"0.0",
|
||
"13.7",
|
||
"1.6",
|
||
"0.0",
|
||
"3.2",
|
||
"0.0",
|
||
"20.9",
|
||
"13.4",
|
||
"6.1",
|
||
"1.5",
|
||
"25.3",
|
||
"100.0",
|
||
"101",
|
||
],
|
||
[
|
||
"4+ children",
|
||
"74.3",
|
||
"58.1",
|
||
"45.1",
|
||
"0.6",
|
||
"8.7",
|
||
"0.6",
|
||
"0.7",
|
||
"2.4",
|
||
"0.0",
|
||
"16.1",
|
||
"9.9",
|
||
"5.4",
|
||
"0.8",
|
||
"25.7",
|
||
"100.0",
|
||
"944",
|
||
],
|
||
[
|
||
"1 or more sons",
|
||
"73.9",
|
||
"58.2",
|
||
"46.0",
|
||
"0.7",
|
||
"8.3",
|
||
"0.7",
|
||
"0.7",
|
||
"1.9",
|
||
"0.0",
|
||
"15.7",
|
||
"9.4",
|
||
"5.5",
|
||
"0.8",
|
||
"26.1",
|
||
"100.0",
|
||
"901",
|
||
],
|
||
[
|
||
"No sons",
|
||
"(82.1)",
|
||
"(57.3)",
|
||
"(25.6)",
|
||
"(0.0)",
|
||
"(17.8)",
|
||
"(0.0)",
|
||
"(0.0)",
|
||
"(13.9)",
|
||
"(0.0)",
|
||
"(24.8)",
|
||
"(21.3)",
|
||
"(3.5)",
|
||
"(0.0)",
|
||
"(17.9)",
|
||
"100.0",
|
||
"43",
|
||
],
|
||
[
|
||
"Total",
|
||
"71.2",
|
||
"49.9",
|
||
"32.2",
|
||
"0.7",
|
||
"11.7",
|
||
"0.6",
|
||
"0.3",
|
||
"4.3",
|
||
"0.1",
|
||
"21.3",
|
||
"12.3",
|
||
"8.4",
|
||
"0.5",
|
||
"28.8",
|
||
"100.0",
|
||
"5,234",
|
||
],
|
||
[
|
||
"NFHS-2 (1998-99)",
|
||
"66.6",
|
||
"47.3",
|
||
"32.0",
|
||
"1.8",
|
||
"9.2",
|
||
"1.4",
|
||
"na",
|
||
"2.9",
|
||
"na",
|
||
"na",
|
||
"8.7",
|
||
"9.8",
|
||
"na",
|
||
"33.4",
|
||
"100.0",
|
||
"4,116",
|
||
],
|
||
[
|
||
"NFHS-1 (1992-93)",
|
||
"57.7",
|
||
"37.6",
|
||
"26.5",
|
||
"4.3",
|
||
"3.6",
|
||
"1.3",
|
||
"0.1",
|
||
"1.9",
|
||
"na",
|
||
"na",
|
||
"11.3",
|
||
"8.3",
|
||
"na",
|
||
"42.3",
|
||
"100.0",
|
||
"3,970",
|
||
],
|
||
]
|
||
|
||
# The streaming algorithm incorrectly includes a header in the result.
|
||
# Trimming the table for the test of hybrid, which doesn't include it.
|
||
data_hybrid_table_rotated = data_stream_table_rotated[1:]
|
||
|
||
data_stream_two_tables_1 = [
|
||
[
|
||
"Program. Represents arrests reported (not charged) by 12,910 "
|
||
"agencies with a total population of 247,526,916 as estimated",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"by the FBI. Some persons may be arrested more than once during a "
|
||
"year, therefore, the data in this table, in some cases,",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"could represent multiple arrests of the same person. See text, "
|
||
"this section and source]",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
["", "", "Total", "", "", "Male", "", "", "Female", ""],
|
||
[
|
||
"Offense charged",
|
||
"",
|
||
"Under 18",
|
||
"18 years",
|
||
"",
|
||
"Under 18",
|
||
"18 years",
|
||
"",
|
||
"Under 18",
|
||
"18 years",
|
||
],
|
||
[
|
||
"",
|
||
"Total",
|
||
"years",
|
||
"and over",
|
||
"Total",
|
||
"years",
|
||
"and over",
|
||
"Total",
|
||
"years",
|
||
"and over",
|
||
],
|
||
[
|
||
"Total .\n .\n . . . . . .\n . .\n . .\n . .\n . .\n . "
|
||
".\n . .\n . .\n . . .",
|
||
"11,062 .6",
|
||
"1,540 .0",
|
||
"9,522 .6",
|
||
"8,263 .3",
|
||
"1,071 .6",
|
||
"7,191 .7",
|
||
"2,799 .2",
|
||
"468 .3",
|
||
"2,330 .9",
|
||
],
|
||
[
|
||
"Violent crime . . . . . . . .\n . .\n . .\n . .\n . "
|
||
".\n . .",
|
||
"467 .9",
|
||
"69 .1",
|
||
"398 .8",
|
||
"380 .2",
|
||
"56 .5",
|
||
"323 .7",
|
||
"87 .7",
|
||
"12 .6",
|
||
"75 .2",
|
||
],
|
||
["Murder and nonnegligent", "", "", "", "", "", "", "", "", ""],
|
||
[
|
||
"manslaughter . . . . . . . .\n. .\n. .\n. .\n. .\n.",
|
||
"10.0",
|
||
"0.9",
|
||
"9.1",
|
||
"9.0",
|
||
"0.9",
|
||
"8.1",
|
||
"1.1",
|
||
"–",
|
||
"1.0",
|
||
],
|
||
[
|
||
"Forcible rape . . . . . . . .\n. .\n. .\n. .\n. .\n. .",
|
||
"17.5",
|
||
"2.6",
|
||
"14.9",
|
||
"17.2",
|
||
"2.5",
|
||
"14.7",
|
||
"–",
|
||
"–",
|
||
"–",
|
||
],
|
||
[
|
||
"Robbery . . . .\n. .\n. . .\n. . .\n.\n. . .\n.\n. . .\n.\n.",
|
||
"102.1",
|
||
"25.5",
|
||
"76.6",
|
||
"90.0",
|
||
"22.9",
|
||
"67.1",
|
||
"12.1",
|
||
"2.5",
|
||
"9.5",
|
||
],
|
||
[
|
||
"Aggravated assault . . . . . . . .\n. .\n. .\n.",
|
||
"338.4",
|
||
"40.1",
|
||
"298.3",
|
||
"264.0",
|
||
"30.2",
|
||
"233.8",
|
||
"74.4",
|
||
"9.9",
|
||
"64.5",
|
||
],
|
||
[
|
||
"Property crime . . . .\n . .\n . . .\n . . .\n .\n . . "
|
||
". .",
|
||
"1,396 .4",
|
||
"338 .7",
|
||
"1,057 .7",
|
||
"875 .9",
|
||
"210 .8",
|
||
"665 .1",
|
||
"608 .2",
|
||
"127 .9",
|
||
"392 .6",
|
||
],
|
||
[
|
||
"Burglary . .\n. . . . . .\n. .\n.\n. .\n.\n.\n. .\n.\n.\n. .\n.",
|
||
"240.9",
|
||
"60.3",
|
||
"180.6",
|
||
"205.0",
|
||
"53.4",
|
||
"151.7",
|
||
"35.9",
|
||
"6.9",
|
||
"29.0",
|
||
],
|
||
[
|
||
"Larceny-theft . . . . . . . .\n. .\n. .\n. .\n. .\n. .",
|
||
"1,080.1",
|
||
"258.1",
|
||
"822.0",
|
||
"608.8",
|
||
"140.5",
|
||
"468.3",
|
||
"471.3",
|
||
"117.6",
|
||
"353.6",
|
||
],
|
||
[
|
||
"Motor vehicle theft . . . . .\n. .\n. . .\n.\n.\n. .",
|
||
"65.6",
|
||
"16.0",
|
||
"49.6",
|
||
"53.9",
|
||
"13.3",
|
||
"40.7",
|
||
"11.7",
|
||
"2.7",
|
||
"8.9",
|
||
],
|
||
[
|
||
"Arson .\n. . . . .\n. . .\n.\n. .\n.\n.\n. .\n.\n.\n. .\n.\n.\n. .",
|
||
"9.8",
|
||
"4.3",
|
||
"5.5",
|
||
"8.1",
|
||
"3.7",
|
||
"4.4",
|
||
"1.7",
|
||
"0.6",
|
||
"1.1",
|
||
],
|
||
[
|
||
"Other assaults .\n. . . . . .\n. . .\n.\n. . .\n.\n. .\n.",
|
||
"1,061.3",
|
||
"175.3",
|
||
"886.1",
|
||
"785.4",
|
||
"115.4",
|
||
"670.0",
|
||
"276.0",
|
||
"59.9",
|
||
"216.1",
|
||
],
|
||
[
|
||
"Forgery and counterfeiting .\n. . . . . . .\n.",
|
||
"68.9",
|
||
"1.7",
|
||
"67.2",
|
||
"42.9",
|
||
"1.2",
|
||
"41.7",
|
||
"26.0",
|
||
"0.5",
|
||
"25.5",
|
||
],
|
||
[
|
||
"Fraud .\n.\n.\n. .\n. . . .\n. .\n.\n. .\n.\n.\n. .\n.\n.\n. "
|
||
".\n.\n.\n.",
|
||
"173.7",
|
||
"5.1",
|
||
"168.5",
|
||
"98.4",
|
||
"3.3",
|
||
"95.0",
|
||
"75.3",
|
||
"1.8",
|
||
"73.5",
|
||
],
|
||
[
|
||
"Embezzlement . . .\n. . . . .\n. . .\n.\n. . .\n.\n.\n.",
|
||
"14.6",
|
||
"–",
|
||
"14.1",
|
||
"7.2",
|
||
"–",
|
||
"6.9",
|
||
"7.4",
|
||
"–",
|
||
"7.2",
|
||
],
|
||
[
|
||
"Stolen property 1 . . . . . . .\n. . .\n. .\n. .\n.\n.",
|
||
"84.3",
|
||
"15.1",
|
||
"69.2",
|
||
"66.7",
|
||
"12.2",
|
||
"54.5",
|
||
"17.6",
|
||
"2.8",
|
||
"14.7",
|
||
],
|
||
[
|
||
"Vandalism . . . . . . . .\n. .\n. .\n. .\n. .\n. .\n.\n.\n.",
|
||
"217.4",
|
||
"72.7",
|
||
"144.7",
|
||
"178.1",
|
||
"62.8",
|
||
"115.3",
|
||
"39.3",
|
||
"9.9",
|
||
"29.4",
|
||
],
|
||
[
|
||
"Weapons; carrying, possessing, etc. .",
|
||
"132.9",
|
||
"27.1",
|
||
"105.8",
|
||
"122.1",
|
||
"24.3",
|
||
"97.8",
|
||
"10.8",
|
||
"2.8",
|
||
"8.0",
|
||
],
|
||
[
|
||
"Prostitution and commercialized vice",
|
||
"56.9",
|
||
"1.1",
|
||
"55.8",
|
||
"17.3",
|
||
"–",
|
||
"17.1",
|
||
"39.6",
|
||
"0.8",
|
||
"38.7",
|
||
],
|
||
[
|
||
"Sex offenses 2 . . . . .\n. . . . .\n. .\n. .\n. . .\n.",
|
||
"61.5",
|
||
"10.7",
|
||
"50.7",
|
||
"56.1",
|
||
"9.6",
|
||
"46.5",
|
||
"5.4",
|
||
"1.1",
|
||
"4.3",
|
||
],
|
||
[
|
||
"Drug abuse violations . . . . . . . .\n. .\n.\n.",
|
||
"1,333.0",
|
||
"136.6",
|
||
"1,196.4",
|
||
"1,084.3",
|
||
"115.2",
|
||
"969.1",
|
||
"248.7",
|
||
"21.4",
|
||
"227.3",
|
||
],
|
||
[
|
||
"Gambling .\n. . . . . .\n. .\n.\n. . .\n.\n. . .\n.\n. .\n.\n.",
|
||
"8.2",
|
||
"1.4",
|
||
"6.8",
|
||
"7.2",
|
||
"1.4",
|
||
"5.9",
|
||
"0.9",
|
||
"–",
|
||
"0.9",
|
||
],
|
||
["Offenses against the family and", "", "", "", "", "", "", "", "", ""],
|
||
[
|
||
"children . . . .\n. . . .\n. .\n. .\n. .\n. .\n. .\n. . .\n.",
|
||
"92.4",
|
||
"3.7",
|
||
"88.7",
|
||
"68.9",
|
||
"2.4",
|
||
"66.6",
|
||
"23.4",
|
||
"1.3",
|
||
"22.1",
|
||
],
|
||
[
|
||
"Driving under the influence . . . . . .\n. .",
|
||
"1,158.5",
|
||
"109.2",
|
||
"1,147.5",
|
||
"895.8",
|
||
"8.2",
|
||
"887.6",
|
||
"262.7",
|
||
"2.7",
|
||
"260.0",
|
||
],
|
||
[
|
||
"Liquor laws . . . . . . . .\n. .\n. .\n. .\n. .\n. .\n. .",
|
||
"48.2",
|
||
"90.2",
|
||
"368.0",
|
||
"326.8",
|
||
"55.4",
|
||
"271.4",
|
||
"131.4",
|
||
"34.7",
|
||
"96.6",
|
||
],
|
||
[
|
||
"Drunkenness . . .\n. . . . .\n. . .\n.\n. . .\n.\n. .\n.",
|
||
"488.1",
|
||
"11.4",
|
||
"476.8",
|
||
"406.8",
|
||
"8.5",
|
||
"398.3",
|
||
"81.3",
|
||
"2.9",
|
||
"78.4",
|
||
],
|
||
[
|
||
"Disorderly conduct . .\n. . . . . . .\n. .\n. .\n. .",
|
||
"529.5",
|
||
"136.1",
|
||
"393.3",
|
||
"387.1",
|
||
"90.8",
|
||
"296.2",
|
||
"142.4",
|
||
"45.3",
|
||
"97.1",
|
||
],
|
||
[
|
||
"Vagrancy . . . .\n. . . . .\n.\n. .\n.\n.\n. .\n.\n.\n. .\n.\n.",
|
||
"26.6",
|
||
"2.2",
|
||
"24.4",
|
||
"20.9",
|
||
"1.6",
|
||
"19.3",
|
||
"5.7",
|
||
"0.6",
|
||
"5.1",
|
||
],
|
||
[
|
||
"All other offenses (except traffic) . . .\n.",
|
||
"306.1",
|
||
"263.4",
|
||
"2,800.8",
|
||
"2,337.1",
|
||
"194.2",
|
||
"2,142.9",
|
||
"727.0",
|
||
"69.2",
|
||
"657.9",
|
||
],
|
||
[
|
||
"Suspicion . . . .\n. . . .\n. .\n. .\n. .\n. .\n. .\n. . .\n.",
|
||
"1.6",
|
||
"–",
|
||
"1.4",
|
||
"1.2",
|
||
"–",
|
||
"1.0",
|
||
"–",
|
||
"–",
|
||
"–",
|
||
],
|
||
[
|
||
"Curfew and loitering law violations .\n.",
|
||
"91.0",
|
||
"91.0",
|
||
"(X)",
|
||
"63.1",
|
||
"63.1",
|
||
"(X)",
|
||
"28.0",
|
||
"28.0",
|
||
"(X)",
|
||
],
|
||
[
|
||
"Runaways . . . . . . . .\n. .\n. .\n. .\n. .\n. .\n.\n.\n.",
|
||
"75.8",
|
||
"75.8",
|
||
"(X)",
|
||
"34.0",
|
||
"34.0",
|
||
"(X)",
|
||
"41.8",
|
||
"41.8",
|
||
"(X)",
|
||
],
|
||
[
|
||
"",
|
||
"– Represents zero. X Not applicable. 1 Buying, receiving, "
|
||
"possessing stolen property. 2 Except forcible rape and prostitution.",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
]
|
||
|
||
# The streaming algorithm incorrectly includes a header and a footer.
|
||
# Trimming the table for the test of hybrid, which doesn't include it.
|
||
data_hybrid_two_tables_1 = data_stream_two_tables_1[3:-1]
|
||
|
||
data_stream_two_tables_2 = [
|
||
["Table 325. Arrests by Race: 2009", "", "", "", "", ""],
|
||
[
|
||
"[Based on Uniform Crime Reporting (UCR) Program. Represents "
|
||
"arrests reported (not charged) by 12,371 agencies",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"with a total population of 239,839,971 as estimated by the FBI. "
|
||
"See headnote, Table 324]",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
["", "", "", "", "American", ""],
|
||
["Offense charged", "", "", "", "Indian/Alaskan", "Asian Pacific"],
|
||
["", "Total", "White", "Black", "Native", "Islander"],
|
||
[
|
||
"Total .\n .\n .\n .\n . .\n . . .\n . . .\n .\n . . .\n "
|
||
".\n . . .\n . .\n .\n . . .\n .\n .\n .\n . .\n . .\n . .",
|
||
"10,690,561",
|
||
"7,389,208",
|
||
"3,027,153",
|
||
"150,544",
|
||
"123,656",
|
||
],
|
||
[
|
||
"Violent crime . . . . . . . .\n . .\n . .\n . .\n . "
|
||
".\n .\n .\n . .\n . .\n .\n .\n .\n .\n . .",
|
||
"456,965",
|
||
"268,346",
|
||
"177,766",
|
||
"5,608",
|
||
"5,245",
|
||
],
|
||
[
|
||
"Murder and nonnegligent manslaughter . .\n. .\n.\n. .",
|
||
"9,739",
|
||
"4,741",
|
||
"4,801",
|
||
"100",
|
||
"97",
|
||
],
|
||
[
|
||
"Forcible rape . . . . . . . .\n. .\n. .\n. .\n. .\n.\n.\n. .\n. "
|
||
".\n.\n.\n.\n.\n. .",
|
||
"16,362",
|
||
"10,644",
|
||
"5,319",
|
||
"169",
|
||
"230",
|
||
],
|
||
[
|
||
"Robbery . . . . .\n. . . . .\n.\n. . .\n.\n. . .\n.\n.\n. "
|
||
".\n.\n.\n. .\n.\n.\n. . . .",
|
||
"100,496",
|
||
"43,039",
|
||
"55,742",
|
||
"726",
|
||
"989",
|
||
],
|
||
[
|
||
"Aggravated assault . . . . . . . .\n. .\n. .\n.\n.\n.\n.\n. .\n. "
|
||
".\n.\n.\n.",
|
||
"330,368",
|
||
"209,922",
|
||
"111,904",
|
||
"4,613",
|
||
"3,929",
|
||
],
|
||
[
|
||
"Property crime . . . . .\n . . . . .\n .\n . . .\n .\n "
|
||
". .\n .\n .\n .\n . .\n .\n . .\n .\n .",
|
||
"1,364,409",
|
||
"922,139",
|
||
"406,382",
|
||
"17,599",
|
||
"18,289",
|
||
],
|
||
[
|
||
"Burglary . . .\n. . . . .\n. . .\n.\n.\n. .\n.\n.\n. .\n.\n.\n. "
|
||
".\n.\n.\n. .\n.\n. . . .",
|
||
"234,551",
|
||
"155,994",
|
||
"74,419",
|
||
"2,021",
|
||
"2,117",
|
||
],
|
||
[
|
||
"Larceny-theft . . . . . . . .\n. .\n. .\n. .\n. .\n.\n.\n. .\n. "
|
||
".\n.\n.\n.\n.\n. .",
|
||
"1,056,473",
|
||
"719,983",
|
||
"306,625",
|
||
"14,646",
|
||
"15,219",
|
||
],
|
||
[
|
||
"Motor vehicle theft . . . . . .\n. .\n.\n. . .\n.\n. .\n.\n.\n.\n. "
|
||
".\n.\n. .\n.",
|
||
"63,919",
|
||
"39,077",
|
||
"23,184",
|
||
"817",
|
||
"841",
|
||
],
|
||
[
|
||
"Arson .\n. . . .\n. .\n. .\n. .\n.\n. .\n.\n.\n. .\n.\n.\n. "
|
||
".\n.\n.\n. .\n.\n.\n. . . . . .",
|
||
"9,466",
|
||
"7,085",
|
||
"2,154",
|
||
"115",
|
||
"112",
|
||
],
|
||
[
|
||
"Other assaults .\n. . . . . . .\n.\n. . .\n.\n. . .\n.\n. "
|
||
".\n.\n.\n.\n. .\n.\n. .\n.",
|
||
"1,032,502",
|
||
"672,865",
|
||
"332,435",
|
||
"15,127",
|
||
"12,075",
|
||
],
|
||
[
|
||
"Forgery and counterfeiting .\n. . . . . . .\n.\n. .\n.\n.\n.\n. "
|
||
".\n. .\n.",
|
||
"67,054",
|
||
"44,730",
|
||
"21,251",
|
||
"345",
|
||
"728",
|
||
],
|
||
[
|
||
"Fraud .\n.\n. . . . . .\n. .\n. .\n. .\n. .\n. .\n. .\n. .\n. .\n. "
|
||
".\n.\n.\n. . . . . . .",
|
||
"161,233",
|
||
"108,032",
|
||
"50,367",
|
||
"1,315",
|
||
"1,519",
|
||
],
|
||
[
|
||
"Embezzlement . . . .\n. . . . .\n.\n. . .\n.\n. . .\n.\n.\n. "
|
||
".\n.\n. .\n.\n.\n.\n.",
|
||
"13,960",
|
||
"9,208",
|
||
"4,429",
|
||
"75",
|
||
"248",
|
||
],
|
||
[
|
||
"Stolen property; buying, receiving, possessing .\n. .",
|
||
"82,714",
|
||
"51,953",
|
||
"29,357",
|
||
"662",
|
||
"742",
|
||
],
|
||
[
|
||
"Vandalism . . . . . . . .\n. .\n. .\n. .\n. .\n. .\n. .\n.\n.\n. "
|
||
".\n. .\n.\n.\n.\n. .",
|
||
"212,173",
|
||
"157,723",
|
||
"48,746",
|
||
"3,352",
|
||
"2,352",
|
||
],
|
||
[
|
||
"Weapons—carrying, possessing, etc. .\n. .\n. .\n.\n. .\n. .",
|
||
"130,503",
|
||
"74,942",
|
||
"53,441",
|
||
"951",
|
||
"1,169",
|
||
],
|
||
[
|
||
"Prostitution and commercialized vice . .\n.\n. .\n. .\n. .\n.",
|
||
"56,560",
|
||
"31,699",
|
||
"23,021",
|
||
"427",
|
||
"1,413",
|
||
],
|
||
[
|
||
"Sex offenses 1 . . . . . . . .\n. .\n. .\n. .\n. .\n.\n.\n. .\n. "
|
||
".\n.\n.\n.\n.\n. .",
|
||
"60,175",
|
||
"44,240",
|
||
"14,347",
|
||
"715",
|
||
"873",
|
||
],
|
||
[
|
||
"Drug abuse violations . . . . . . . .\n. . .\n.\n.\n.\n. .\n. "
|
||
".\n.\n.\n.\n.",
|
||
"1,301,629",
|
||
"845,974",
|
||
"437,623",
|
||
"8,588",
|
||
"9,444",
|
||
],
|
||
[
|
||
"Gambling . . . . .\n. . . . .\n.\n. . .\n.\n. . .\n. .\n.\n. . "
|
||
".\n.\n.\n.\n.\n. .\n. .",
|
||
"8,046",
|
||
"2,290",
|
||
"5,518",
|
||
"27",
|
||
"211",
|
||
],
|
||
[
|
||
"Offenses against the family and children .\n.\n. .\n. .\n. .",
|
||
"87,232",
|
||
"58,068",
|
||
"26,850",
|
||
"1,690",
|
||
"624",
|
||
],
|
||
[
|
||
"Driving under the influence . . . . . . .\n. .\n.\n. "
|
||
".\n.\n.\n.\n.\n. .",
|
||
"1,105,401",
|
||
"954,444",
|
||
"121,594",
|
||
"14,903",
|
||
"14,460",
|
||
],
|
||
[
|
||
"Liquor laws . . . . . . . .\n. .\n. .\n. .\n. .\n. . "
|
||
".\n.\n.\n.\n. .\n. .\n.\n.\n.\n.",
|
||
"444,087",
|
||
"373,189",
|
||
"50,431",
|
||
"14,876",
|
||
"5,591",
|
||
],
|
||
[
|
||
"Drunkenness . .\n. . . . . . .\n.\n. . .\n.\n. . .\n.\n.\n.\n. . "
|
||
".\n.\n.\n.\n.\n.\n.",
|
||
"469,958",
|
||
"387,542",
|
||
"71,020",
|
||
"8,552",
|
||
"2,844",
|
||
],
|
||
[
|
||
"Disorderly conduct . . .\n. . . . . .\n. .\n. . .\n.\n.\n.\n. .\n. "
|
||
".\n.\n.\n.\n.",
|
||
"515,689",
|
||
"326,563",
|
||
"176,169",
|
||
"8,783",
|
||
"4,174",
|
||
],
|
||
[
|
||
"Vagrancy . . .\n. .\n. . . .\n. .\n.\n. .\n.\n.\n. .\n.\n.\n. "
|
||
".\n.\n.\n. .\n.\n.\n. . . .",
|
||
"26,347",
|
||
"14,581",
|
||
"11,031",
|
||
"543",
|
||
"192",
|
||
],
|
||
[
|
||
"All other offenses (except traffic) . .\n. .\n. .\n. .\n.\n.\n.\n. "
|
||
".\n.",
|
||
"2,929,217",
|
||
"1,937,221",
|
||
"911,670",
|
||
"43,880",
|
||
"36,446",
|
||
],
|
||
[
|
||
"Suspicion . . .\n. . . . .\n. .\n. .\n. .\n. .\n. .\n. .\n. "
|
||
".\n.\n.\n.\n.\n. .\n. . . .",
|
||
"1,513",
|
||
"677",
|
||
"828",
|
||
"1",
|
||
"7",
|
||
],
|
||
[
|
||
"Curfew and loitering law violations . .\n. .\n.\n. .\n. .\n.\n.\n.",
|
||
"89,578",
|
||
"54,439",
|
||
"33,207",
|
||
"872",
|
||
"1,060",
|
||
],
|
||
[
|
||
"Runaways . . . . . . . .\n. .\n. .\n. .\n. .\n. .\n. .\n.\n.\n. "
|
||
".\n. .\n.\n.\n.\n. .",
|
||
"73,616",
|
||
"48,343",
|
||
"19,670",
|
||
"1,653",
|
||
"3,950",
|
||
],
|
||
["1 Except forcible rape and prostitution.", "", "", "", "", ""],
|
||
]
|
||
|
||
# The streaming algorithm incorrectly includes a header and a footer.
|
||
# Trimming the table for the test of hybrid, which doesn't include it.
|
||
data_hybrid_two_tables_2 = data_stream_two_tables_2[3:-1]
|
||
|
||
data_stream_table_areas = [
|
||
["", "One Withholding"],
|
||
["Payroll Period", "Allowance"],
|
||
["Weekly", "$\n71.15"],
|
||
["Biweekly", "142.31"],
|
||
["Semimonthly", "154.17"],
|
||
["Monthly", "308.33"],
|
||
["Quarterly", "925.00"],
|
||
["Semiannually", "1,850.00"],
|
||
["Annually", "3,700.00"],
|
||
["Daily or Miscellaneous", "14.23"],
|
||
["(each day of the payroll period)", ""],
|
||
]
|
||
|
||
# Hybrid doesn't recognize the footer as belonging to the table.
|
||
data_hybrid_table_regions = data_stream_table_areas[:-1]
|
||
|
||
data_stream_columns = [
|
||
[
|
||
"Clave",
|
||
"Nombre Entidad",
|
||
"Clave",
|
||
"Nombre Municipio",
|
||
"Clave",
|
||
"Nombre Localidad",
|
||
],
|
||
["Entidad", "", "Municipio", "", "Localidad", ""],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0094",
|
||
"Granja Adelita"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0096", "Agua Azul"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0100", "Rancho Alegre"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0102",
|
||
"Los Arbolitos [Rancho]"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0104",
|
||
"Ardillas de Abajo (Las Ardillas)",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0106", "Arellano"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0112",
|
||
"Baj\xedo los V\xe1zquez",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0113",
|
||
"Baj\xedo de Montoro"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0114",
|
||
"Residencial San Nicol\xe1s [Ba\xf1os la Cantera]",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0120",
|
||
"Buenavista de Pe\xf1uelas",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0121",
|
||
"Cabecita 3 Mar\xedas (Rancho Nuevo)",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0125",
|
||
"Ca\xf1ada Grande de Cotorina",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0126",
|
||
"Ca\xf1ada Honda [Estaci\xf3n]",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0127", "Los Ca\xf1os"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0128",
|
||
"El Cari\xf1\xe1n"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0129",
|
||
"El Carmen [Granja]"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0135",
|
||
"El Cedazo (Cedazo de San Antonio)",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0138",
|
||
"Centro de Arriba (El Taray)",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0139",
|
||
"Cieneguilla (La Lumbrera)",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0141", "Cobos"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0144",
|
||
"El Colorado (El Soyatal)",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0146", "El Conejal"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0157",
|
||
"Cotorina de Abajo"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0162", "Coyotes"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0166",
|
||
"La Huerta (La Cruz)"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0170",
|
||
"Cuauht\xe9moc (Las Palomas)",
|
||
],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0171",
|
||
"Los Cuervos (Los Ojos de Agua)",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0172",
|
||
"San Jos\xe9 [Granja]"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0176", "La Chiripa"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0182", "Dolores"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0183", "Los Dolores"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0190", "El Duraznillo"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0191", "Los Dur\xf3n"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0197", "La Escondida"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0201",
|
||
"Brande Vin [Bodegas]"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0207", "Valle Redondo"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0209", "La Fortuna"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0212",
|
||
"Lomas del Gachup\xedn"],
|
||
[
|
||
"01",
|
||
"Aguascalientes",
|
||
"001",
|
||
"Aguascalientes",
|
||
"0213",
|
||
"El Carmen (Gallinas G\xfceras) [Rancho]",
|
||
],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0216", "La Gloria"],
|
||
["01", "Aguascalientes", "001", "Aguascalientes", "0226",
|
||
"Hacienda Nueva"],
|
||
]
|
||
|
||
data_stream_split_text = [
|
||
["FEB", "RUAR", "Y 2014 M27 (BUS)", "", "", "", "", "", "", ""],
|
||
["", "", "", "", "OF ACTIVE LICENSES", "", "", "", "", "3/19/2014"],
|
||
["", "", "", "", "OKLAHOMA ABLE COMMIS", "SION", "", "", "", ""],
|
||
["LICENSE", "", "", "", "PREMISE", "", "", "", "", ""],
|
||
[
|
||
"NUMBER",
|
||
"TYPE",
|
||
"DBA NAME",
|
||
"LICENSEE NAME",
|
||
"ADDRESS",
|
||
"CITY",
|
||
"ST",
|
||
"ZIP",
|
||
"PHONE NUMBER",
|
||
"EXPIRES",
|
||
],
|
||
[
|
||
"648765",
|
||
"AAA",
|
||
"ALLEGIANT AIR",
|
||
"ALLEGIANT AIR LLC",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"-",
|
||
"2014/12/03",
|
||
],
|
||
["", "", "", "", "7777 EAST APACHE", "", "", "", "", ""],
|
||
[
|
||
"648766",
|
||
"AAA",
|
||
"ALLEGIANT AIR",
|
||
"ALLEGIANT AIR LLC",
|
||
"STREET",
|
||
"TULSA",
|
||
"OK",
|
||
"74115",
|
||
"-",
|
||
"2014/12/16",
|
||
],
|
||
[
|
||
"82030",
|
||
"AAA",
|
||
"AMERICAN AIRLINES",
|
||
"AMERICAN AIRLINES INC",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(405) 680-3701",
|
||
"2014/09/14",
|
||
],
|
||
[
|
||
"509462",
|
||
"AAA",
|
||
"AMERICAN AIRLINES",
|
||
"AMERICAN AIRLINES INC",
|
||
"7777 EAST APACHE DRIVE",
|
||
"TULSA",
|
||
"OK",
|
||
"74115",
|
||
"(918) 831-6302",
|
||
"2014/08/19",
|
||
],
|
||
["", "", "", "AMERICAN EAGLE", "", "", "", "", "", ""],
|
||
[
|
||
"509609",
|
||
"AAA",
|
||
"AMERICAN EAGLE",
|
||
"AIRLINES INC",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(405) 680-3701",
|
||
"2014/08/19",
|
||
],
|
||
["", "", "", "AMERICAN EAGLE", "", "", "", "", "", ""],
|
||
[
|
||
"402986",
|
||
"AAA",
|
||
"AMERICAN EAGLE",
|
||
"AIRLINES INC",
|
||
"7777 EAST APACHE DRIVE",
|
||
"TULSA",
|
||
"OK",
|
||
"74115",
|
||
"(859) 767-3747",
|
||
"2014/10/22",
|
||
],
|
||
["", "", "", "", "WILL ROGERS AIRPORT", "", "", "", "", ""],
|
||
[
|
||
"79145",
|
||
"AAA",
|
||
"DELTA AIR LINES",
|
||
"DELTA AIR LINES INC",
|
||
"BOX 59975",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(404) 773-9745",
|
||
"2014/05/11",
|
||
],
|
||
[
|
||
"600941",
|
||
"AAA",
|
||
"ENDEAVOR AIR",
|
||
"ENDEAVOR AIR INC",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(901) 348-4100",
|
||
"2015/03/26",
|
||
],
|
||
["", "", "", "", "7100 TERMINAL DRIVE", "", "", "", "", ""],
|
||
[
|
||
"478482",
|
||
"AAA",
|
||
"EXPRESSJET AIRLINES",
|
||
"EXPRESSJET AIRLINES INC",
|
||
"WILL ROGERS AIRPORT",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(832) 353-1201",
|
||
"2014/05/08",
|
||
],
|
||
[
|
||
"505981",
|
||
"AAA",
|
||
"SKYWEST AIRLINES",
|
||
"SKYWEST INC",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(405) 634-3000",
|
||
"2014/05/28",
|
||
],
|
||
[
|
||
"429754",
|
||
"AAA",
|
||
"SOUTHWEST AIRLINES",
|
||
"SOUTHWEST AIRLINES CO",
|
||
"7100 TERMINAL DRIVE",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(405) 682-4183",
|
||
"2015/02/15",
|
||
],
|
||
["", "", "TULSA INTERNATIONAL", "", "", "", "", "", "", ""],
|
||
[
|
||
"429755",
|
||
"AAA",
|
||
"AIRPORT",
|
||
"SOUTHWEST AIRLINES CO",
|
||
"7777 EAST APACHE DRIVE",
|
||
"TULSA",
|
||
"OK",
|
||
"74115",
|
||
"(918) 834-4495",
|
||
"2015/02/16",
|
||
],
|
||
[
|
||
"415051",
|
||
"AAA",
|
||
"UNITED AIRLINES",
|
||
"UNITED AIRLINES INC",
|
||
"7777 EAST APACHE DRIVE",
|
||
"TULSA",
|
||
"OK",
|
||
"74115",
|
||
"(872) 825-8309",
|
||
"2014/05/12",
|
||
],
|
||
[
|
||
"106719",
|
||
"AAA",
|
||
"UNITED AIRLINES",
|
||
"UNITED AIRLINES INC",
|
||
"WILL ROGERS AIRPORT",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73159",
|
||
"(872) 825-8309",
|
||
"2014/04/11",
|
||
],
|
||
[
|
||
"",
|
||
"",
|
||
"A SENSU JAPANESE",
|
||
"",
|
||
"7123 SOUTH 92ND EAST",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"625422",
|
||
"BAW",
|
||
"RESTAURANT",
|
||
"INFORMAL PARTNERSHIP",
|
||
"AVENUE SUITE J",
|
||
"TULSA",
|
||
"OK",
|
||
"74133",
|
||
"(918) 252-0333",
|
||
"2015/02/14",
|
||
],
|
||
["", "", "ADAMO'S ROUTE 66", "", "2132 WEST GARY", "", "", "", "", ""],
|
||
[
|
||
"464828",
|
||
"BAW",
|
||
"ITALIAN VILLA",
|
||
"TADJ INC",
|
||
"BOULEVARD",
|
||
"CLINTON",
|
||
"OK",
|
||
"73601",
|
||
"(580) 323-5900",
|
||
"2015/02/11",
|
||
],
|
||
["", "", "", "", "12215 NORTH", "", "", "", "", ""],
|
||
[
|
||
"184066",
|
||
"BAW",
|
||
"AJANTA",
|
||
"CABAB N' CURRY INC",
|
||
"PENNSYLVANIA",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73120",
|
||
"(405) 752-5283",
|
||
"2014/07/27",
|
||
],
|
||
["", "", "", "SAYRE LODGING", "", "", "", "", "", ""],
|
||
[
|
||
"547693",
|
||
"BAW",
|
||
"AMERICINN OF SAYRE",
|
||
"ENTERPRISES LLC",
|
||
"2405 SOUTH EL CAMINO",
|
||
"SAYRE",
|
||
"OK",
|
||
"73662",
|
||
"(580) 928-2700",
|
||
"2014/09/08",
|
||
],
|
||
[
|
||
"",
|
||
"",
|
||
"ANDOLINI'S PIZZERIA &",
|
||
"",
|
||
"12140 EAST 96TH STREET",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"428377",
|
||
"BAW",
|
||
"ITALIAN RESTAURANT",
|
||
"ANDOLINI'S LLC",
|
||
"NORTH #106",
|
||
"OWASSO",
|
||
"OK",
|
||
"74055",
|
||
"(918) 272-9325",
|
||
"2015/02/10",
|
||
],
|
||
["", "", "ASAHI JAPANESE", "", "", "", "", "", "", ""],
|
||
[
|
||
"446957",
|
||
"BAW",
|
||
"RESTAURANT",
|
||
"JIN CORPORATION",
|
||
"7831 EAST 71ST STREET",
|
||
"TULSA",
|
||
"OK",
|
||
"74133",
|
||
"(918) 307-9151",
|
||
"2014/12/22",
|
||
],
|
||
["", "", "", "SMOKEHOUSE", "", "", "", "", "", ""],
|
||
[
|
||
"632501",
|
||
"BAW",
|
||
"BACK DOOR BARBECUE",
|
||
"ASSOCIATES INC",
|
||
"315 NORTHWEST 23RD",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73103",
|
||
"-",
|
||
"2014/08/01",
|
||
],
|
||
[
|
||
"598515",
|
||
"BAW",
|
||
"BAMBOO THAI BISTRO",
|
||
"BAMBOO THAI BISTRO INC",
|
||
"5079 SOUTH YALE AVENUE",
|
||
"TULSA",
|
||
"OK",
|
||
"74135",
|
||
"(918) 828-0740",
|
||
"2015/03/11",
|
||
],
|
||
["", "", "BANDANA RED'S", "", "", "", "", "", "", ""],
|
||
[
|
||
"618693",
|
||
"BAW",
|
||
"STEAKHOUSE",
|
||
"BRADSHAW, STEVE_LEN",
|
||
"37808 OLD HIGHWAY 270",
|
||
"SHAWNEE",
|
||
"OK",
|
||
"74804",
|
||
"-",
|
||
"2014/08/20",
|
||
],
|
||
["", "", "", "", "1522 WEST LINDSEY", "", "", "", "", ""],
|
||
[
|
||
"632575",
|
||
"BAW",
|
||
"BASHU LEGENDS",
|
||
"HYH HE CHUANG LLC",
|
||
"STREET",
|
||
"NORMAN",
|
||
"OK",
|
||
"73069",
|
||
"-",
|
||
"2014/07/21",
|
||
],
|
||
["", "", "", "DEEP FORK HOLDINGS", "", "", "", "", "", ""],
|
||
[
|
||
"543149",
|
||
"BAW",
|
||
"BEDLAM BAR-B-Q",
|
||
"LLC",
|
||
"610 NORTHEAST 50TH",
|
||
"OKLAHOMA CITY",
|
||
"OK",
|
||
"73105",
|
||
"(405) 528-7427",
|
||
"2015/02/23",
|
||
],
|
||
]
|
||
|
||
# The stream algorithm excludes the string "Alphabetic Listing by type"
|
||
data_hybrid_split_text = []
|
||
data_hybrid_split_text.extend(data_stream_split_text)
|
||
data_hybrid_split_text[0] = [
|
||
'FEB', 'RUAR', 'Y 2014 M27 (BUS)', '',
|
||
'ALPHABETIC LISTING BY T', 'YPE', '', '', '', 'ABLPDM27'
|
||
]
|
||
|
||
data_stream_flag_size = [
|
||
[
|
||
"States",
|
||
"Total",
|
||
"Market",
|
||
"NSSF",
|
||
"WMA",
|
||
"Loans",
|
||
"Loans",
|
||
"Loans",
|
||
"Loans",
|
||
"Loans",
|
||
"Loans",
|
||
],
|
||
[
|
||
"",
|
||
"Internal",
|
||
"Loans",
|
||
"",
|
||
"from",
|
||
"from",
|
||
"from",
|
||
"from",
|
||
"from",
|
||
"from SBI",
|
||
"from",
|
||
],
|
||
["", "Debt", "", "", "RBI", "Banks", "LIC", "GIC", "NABARD", "& Other",
|
||
"NCDC"],
|
||
["", "", "", "", "", "& FIs", "", "", "", "Banks", ""],
|
||
["1", "2=", "3", "4", "5", "6=", "7", "8", "9", "10", "11"],
|
||
["", "(3 to 6)+14", "", "", "", "(7 to13)", "", "", "", "", ""],
|
||
[
|
||
"Andhra Pradesh",
|
||
"48.11",
|
||
"40.45",
|
||
"-",
|
||
"3.26",
|
||
"4.4",
|
||
"2.62",
|
||
"-",
|
||
"0.91",
|
||
"-",
|
||
"0.25",
|
||
],
|
||
["Arunachal Pradesh", "1.23", "1.1", "-", "-", "0.13", "-", "-", "-",
|
||
"-", "-"],
|
||
[
|
||
"Assam",
|
||
"12.69",
|
||
"10.02",
|
||
"-",
|
||
"2.41",
|
||
"0.26",
|
||
"0.08",
|
||
"-",
|
||
"-0.06",
|
||
"0.01",
|
||
"0.24",
|
||
],
|
||
[
|
||
"Bihar",
|
||
"40.75",
|
||
"41.54",
|
||
"-",
|
||
"-",
|
||
"-1.42",
|
||
"0.19",
|
||
"-",
|
||
"-1.01",
|
||
"-0.36",
|
||
"0.2",
|
||
],
|
||
["Chhattisgarh", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"],
|
||
["Goa", "1.4", "1.02", "-", "-", "0.38", "0.31", "-", "0.07", "-", "-"],
|
||
["Gujarat", "19.75", "17.1", "-", "-", "2.64", "1.17", "-", "1.11",
|
||
"-", "0.44"],
|
||
["Haryana", "11.53", "9.67", "-", "0.06", "1.8", "0.55", "-", "0.64",
|
||
"-", "0.49"],
|
||
[
|
||
"Himachal Pradesh",
|
||
"8.02",
|
||
"2.94",
|
||
"-",
|
||
"4.55",
|
||
"0.53",
|
||
"0.13",
|
||
"-",
|
||
"0.05",
|
||
"-",
|
||
"0.25",
|
||
],
|
||
[
|
||
"Jammu and Kashmir",
|
||
"11.72",
|
||
"4.49",
|
||
"-",
|
||
"-",
|
||
"7.23",
|
||
"0.66",
|
||
"-",
|
||
"0.02",
|
||
"6.08",
|
||
"-",
|
||
],
|
||
["Jharkhand", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"],
|
||
["Karnataka", "22.44", "19.59", "-", "-", "2.86", "1.22", "-", "0.89",
|
||
"-", "0.69"],
|
||
[
|
||
"Kerala",
|
||
"29.03",
|
||
"24.91<s>2</s>",
|
||
"-",
|
||
"-",
|
||
"4.11",
|
||
"1.77",
|
||
"-",
|
||
"0.48",
|
||
"-",
|
||
"1.45",
|
||
],
|
||
[
|
||
"Madhya Pradesh",
|
||
"27.13",
|
||
"23.57",
|
||
"-",
|
||
"-",
|
||
"3.56",
|
||
"0.38",
|
||
"-",
|
||
"1.86",
|
||
"-",
|
||
"1.28",
|
||
],
|
||
[
|
||
"Maharashtra",
|
||
"30.47",
|
||
"26.07",
|
||
"-",
|
||
"-",
|
||
"4.39",
|
||
"0.21",
|
||
"-",
|
||
"-0.12",
|
||
"0.02",
|
||
"2.89",
|
||
],
|
||
["Manipur", "2.17", "1.61", "-", "0.26", "0.29", "0.08", "-", "-", "-",
|
||
"0.09"],
|
||
["Meghalaya", "1.36", "1.38", "-", "-", "-0.02", "0.04", "-", "-0.05",
|
||
"-", "0.03"],
|
||
["Mizoram", "1.17", "0.46", "-", "0.27", "0.43", "0.11", "-", "-",
|
||
"-", "0.03"],
|
||
["Nagaland", "2.99", "2.6", "-", "-", "0.39", "0.24", "-", "-", "-",
|
||
"0.04"],
|
||
["Odisha", "34.04", "27.58", "-", "4.4", "2.06", "0.56", "-", "0.66",
|
||
"-", "0.2"],
|
||
[
|
||
"Punjab",
|
||
"19.18",
|
||
"10.93",
|
||
"-",
|
||
"1.03",
|
||
"7.23",
|
||
"0.17",
|
||
"-",
|
||
"0.71",
|
||
"5.9",
|
||
"0.46",
|
||
],
|
||
[
|
||
"Rajasthan",
|
||
"36.77",
|
||
"28.63",
|
||
"-",
|
||
"4.99",
|
||
"3.16",
|
||
"0.57",
|
||
"-",
|
||
"1.64",
|
||
"-",
|
||
"0.81",
|
||
],
|
||
["Sikkim", "0.16", "-", "-", "-", "0.16", "0.03", "-", "-", "-", "0.01"],
|
||
["Tamil Nadu", "34.11", "31.41", "-", "-", "2.7", "1.3", "-", "0.6", "-",
|
||
"0.68"],
|
||
["Tripura", "2.3", "1.89", "-", "-", "0.41", "0.41", "-", "-0.05", "-",
|
||
"0.02"],
|
||
["Uttaranchal", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"],
|
||
[
|
||
"Uttar Pradesh",
|
||
"80.62",
|
||
"74.89",
|
||
"-",
|
||
"4.34",
|
||
"1.34",
|
||
"0.6",
|
||
"-",
|
||
"-0.21",
|
||
"0.18",
|
||
"0.03",
|
||
],
|
||
[
|
||
"West Bengal",
|
||
"34.23",
|
||
"32.19",
|
||
"-",
|
||
"-",
|
||
"2.04",
|
||
"0.77",
|
||
"-",
|
||
"0.06",
|
||
"-",
|
||
"0.51",
|
||
],
|
||
["NCT Delhi", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-"],
|
||
[
|
||
"ALL STATES",
|
||
"513.38",
|
||
"436.02",
|
||
"-",
|
||
"25.57",
|
||
"51.06",
|
||
"14.18",
|
||
"-",
|
||
"8.21",
|
||
"11.83",
|
||
"11.08",
|
||
],
|
||
]
|
||
|
||
# Hybrid adds more content into the header.
|
||
data_hybrid_flag_size = [
|
||
['', '', '', '', '(As at end-March)', '', '', '', '', '', ''],
|
||
['', '', '', '', '', '', '', '', '', '', '(` Billion)']
|
||
]
|
||
data_hybrid_flag_size.extend(data_stream_flag_size)
|
||
|
||
|
||
data_hybrid_strip_text = [
|
||
["VinsauVerre", ""],
|
||
["LesBlancs", "12.5CL"],
|
||
["A.O.PCôtesduRhône", ""],
|
||
["DomainedelaGuicharde«Autourdelachapelle»2016", "8€"],
|
||
["A.O.PVacqueyras", ""],
|
||
["DomainedeMontvac«Melodine»2016", "10€"],
|
||
["A.O.PChâteauneufduPape", ""],
|
||
["DomainedeBeaurenard2017", "13€"],
|
||
["A.O.PCôteauxduLanguedoc", ""],
|
||
["VillaTempora«Untempspourelle»2014", "9€"],
|
||
["A.O.PCôtesdeProvence", ""],
|
||
["ChâteauGrandBoise2017", "9€"],
|
||
["LesRosés", "125CL"],
|
||
["A.O.PCôtesduRhône", ""],
|
||
["DomainedelaFlorane«AfleurdePampre»2016", "8€"],
|
||
["FamilleCoulon(DomaineBeaurenard)Biotifulfox2017", "8€"],
|
||
["A.O.PVacqueyras", ""],
|
||
["DomainedeMontvac2017", "9€"],
|
||
["A.O.PLanguedoc", ""],
|
||
["DomainedeJoncas«Nébla»2015", "8€"],
|
||
["VillaTempora«L’arroseurarrosé»2015", "9€"],
|
||
["A.O.PCôtesdeProvence", ""],
|
||
["ChâteauGrandBoise«SainteVictoire»2017", "9€"],
|
||
["ChâteauLéoube2016", "10€"],
|
||
["LesRouges", "12CL"],
|
||
["A.O.PCôtesduRhône", ""],
|
||
["DomainedeDionysos«LaCigalette»", "8€"],
|
||
["ChâteauSaintEstèved’Uchaux«GrandeRéserve»2014", "9€"],
|
||
["DomainedelaGuicharde«CuvéeMassillan»2016", "9€"],
|
||
["DomainedelaFlorane«TerrePourpre»2014", "10€"],
|
||
["L’OratoireStMartin«RéservedesSeigneurs»2015", "11€"],
|
||
["A.O.PSaintJoseph", ""],
|
||
["DomaineMonierPerréol«Châtelet»2015", "13€"],
|
||
["A.O.PChâteauneufduPape", ""],
|
||
["DomainedeBeaurenard2011", "15€"],
|
||
["A.O.PCornas", ""],
|
||
["DomaineLionnet«TerreBrûlée»2012", "15€"],
|
||
]
|
||
|
||
# Stream only detects part of the table
|
||
data_stream_strip_text = data_hybrid_strip_text[0:-13]
|
||
|
||
data_stream_edge_tol = [
|
||
["Key figures", ""],
|
||
["", "2016"],
|
||
["(all amounts in EUR)", ""],
|
||
["C\nlass A", ""],
|
||
["N\net Asset Value at 31 December", "5,111,372"],
|
||
["N\number of outstanding units at 31 December", "49,136"],
|
||
["N\net Asset Value per unit at 31 December", "104.03"],
|
||
["C\nlass B", ""],
|
||
["N\net Asset Value at 31 December", "49,144,825"],
|
||
["N\number of outstanding units at 31 December", "471,555"],
|
||
["N\net Asset Value per unit at 31 December", "104.22"],
|
||
["T\notal for the Fund", ""],
|
||
["N\net Asset Value at 31 December", "54,256,197"],
|
||
["N\number of outstanding units at 31 December", "520,691"],
|
||
["I\nnvestment result", ""],
|
||
["Direct result", "-"],
|
||
["Revaluation", "2,076,667"],
|
||
["Costs", "(106,870)"],
|
||
["T\notal investment result for the period1", "1,969,797"],
|
||
["I\nnvestment result per unit2", ""],
|
||
["Direct result", "-"],
|
||
["Revaluation", "3.99"],
|
||
["Costs", "(0.21)"],
|
||
["T\notal investment result per unit", "3.78"],
|
||
[
|
||
"1 The results cover the period from inception of the Fund at "
|
||
"8 April 2016 through 31 December 2016.",
|
||
"",
|
||
],
|
||
[
|
||
"2 The result per unit is calculated using the total number of "
|
||
"outstanding unit as per the end of the",
|
||
"",
|
||
],
|
||
["period.", ""],
|
||
]
|
||
|
||
# The stream algorithm ends up including a footer, which hybrid correctly
|
||
# skips.
|
||
data_hybrid_edge_tol = data_stream_edge_tol[:-3]
|
||
|
||
data_lattice = [
|
||
[
|
||
"Cycle \nName",
|
||
"KI \n(1/km)",
|
||
"Distance \n(mi)",
|
||
"Percent Fuel Savings",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
[
|
||
"",
|
||
"",
|
||
"",
|
||
"Improved \nSpeed",
|
||
"Decreased \nAccel",
|
||
"Eliminate \nStops",
|
||
"Decreased \nIdle",
|
||
],
|
||
["2012_2", "3.30", "1.3", "5.9%", "9.5%", "29.2%", "17.4%"],
|
||
["2145_1", "0.68", "11.2", "2.4%", "0.1%", "9.5%", "2.7%"],
|
||
["4234_1", "0.59", "58.7", "8.5%", "1.3%", "8.5%", "3.3%"],
|
||
["2032_2", "0.17", "57.8", "21.7%", "0.3%", "2.7%", "1.2%"],
|
||
["4171_1", "0.07", "173.9", "58.1%", "1.6%", "2.1%", "0.5%"],
|
||
]
|
||
|
||
data_lattice_table_rotated = [
|
||
[
|
||
"State",
|
||
"Nutritional Assessment \n(No. of individuals)",
|
||
"",
|
||
"",
|
||
"",
|
||
"IYCF Practices \n(No. of mothers: \n2011-12)",
|
||
"Blood Pressure \n(No. of adults: \n2011-12)",
|
||
"",
|
||
"Fasting Blood Sugar \n(No. of adults:\n2011-12)",
|
||
"",
|
||
],
|
||
[
|
||
"",
|
||
"1975-79",
|
||
"1988-90",
|
||
"1996-97",
|
||
"2011-12",
|
||
"",
|
||
"Men",
|
||
"Women",
|
||
"Men",
|
||
"Women",
|
||
],
|
||
["Kerala", "5738", "6633", "8864", "8297", "245", "2161", "3195", "1645",
|
||
"2391"],
|
||
[
|
||
"Tamil Nadu",
|
||
"7387",
|
||
"10217",
|
||
"5813",
|
||
"7851",
|
||
"413",
|
||
"2134",
|
||
"2858",
|
||
"1119",
|
||
"1739",
|
||
],
|
||
[
|
||
"Karnataka",
|
||
"6453",
|
||
"8138",
|
||
"12606",
|
||
"8958",
|
||
"428",
|
||
"2467",
|
||
"2894",
|
||
"1628",
|
||
"2028",
|
||
],
|
||
[
|
||
"Andhra Pradesh",
|
||
"5844",
|
||
"9920",
|
||
"9545",
|
||
"8300",
|
||
"557",
|
||
"1899",
|
||
"2493",
|
||
"1111",
|
||
"1529",
|
||
],
|
||
[
|
||
"Maharashtra",
|
||
"5161",
|
||
"7796",
|
||
"6883",
|
||
"9525",
|
||
"467",
|
||
"2368",
|
||
"2648",
|
||
"1417",
|
||
"1599",
|
||
],
|
||
["Gujarat", "4403", "5374", "4866", "9645", "477", "2687", "3021", "2122",
|
||
"2503"],
|
||
["Madhya Pradesh", "*", "*", "*", "7942", "470", "1965", "2150", "1579",
|
||
"1709"],
|
||
["Orissa", "3756", "5540", "12024", "8473", "398", "2040", "2624", "1093",
|
||
"1628"],
|
||
["West Bengal", "*", "*", "*", "8047", "423", "2058", "2743", "1413",
|
||
"2027"],
|
||
["Uttar Pradesh", "*", "*", "*", "9860", "581", "2139", "2415", "1185",
|
||
"1366"],
|
||
[
|
||
"Pooled",
|
||
"38742",
|
||
"53618",
|
||
"60601",
|
||
"86898",
|
||
"4459",
|
||
"21918",
|
||
"27041",
|
||
"14312",
|
||
"18519",
|
||
],
|
||
]
|
||
|
||
data_lattice_two_tables_1 = [
|
||
["State", "n", "Literacy Status", "", "", "", "", ""],
|
||
[
|
||
"",
|
||
"",
|
||
"Illiterate",
|
||
"Read & \nWrite",
|
||
"1-4 std.",
|
||
"5-8 std.",
|
||
"9-12 std.",
|
||
"College",
|
||
],
|
||
["Kerala", "2400", "7.2", "0.5", "25.3", "20.1", "41.5", "5.5"],
|
||
["Tamil Nadu", "2400", "21.4", "2.3", "8.8", "35.5", "25.8", "6.2"],
|
||
["Karnataka", "2399", "37.4", "2.8", "12.5", "18.3", "23.1", "5.8"],
|
||
["Andhra Pradesh", "2400", "54.0", "1.7", "8.4", "13.2", "18.8", "3.9"],
|
||
["Maharashtra", "2400", "22.0", "0.9", "17.3", "20.3", "32.6", "7.0"],
|
||
["Gujarat", "2390", "28.6", "0.1", "14.4", "23.1", "26.9", "6.8"],
|
||
["Madhya Pradesh", "2402", "29.1", "3.4", "8.5", "35.1", "13.3", "10.6"],
|
||
["Orissa", "2405", "33.2", "1.0", "10.4", "25.7", "21.2", "8.5"],
|
||
["West Bengal", "2293", "41.7", "4.4", "13.2", "17.1", "21.2", "2.4"],
|
||
["Uttar Pradesh", "2400", "35.3", "2.1", "4.5", "23.3", "27.1", "7.6"],
|
||
["Pooled", "23889", "30.9", "1.9", "12.3", "23.2", "25.2", "6.4"],
|
||
]
|
||
|
||
data_lattice_two_tables_2 = [
|
||
["State", "n", "Literacy Status", "", "", "", "", ""],
|
||
[
|
||
"",
|
||
"",
|
||
"Illiterate",
|
||
"Read & \nWrite",
|
||
"1-4 std.",
|
||
"5-8 std.",
|
||
"9-12 std.",
|
||
"College",
|
||
],
|
||
["Kerala", "2400", "8.8", "0.3", "20.1", "17.0", "45.6", "8.2"],
|
||
["Tamil Nadu", "2400", "29.9", "1.5", "8.5", "33.1", "22.3", "4.8"],
|
||
["Karnataka", "2399", "47.9", "2.5", "10.2", "18.8", "18.4", "2.3"],
|
||
["Andhra Pradesh", "2400", "66.4", "0.7", "6.8", "12.9", "11.4", "1.8"],
|
||
["Maharashtra", "2400", "41.3", "0.6", "14.1", "20.1", "21.6", "2.2"],
|
||
["Gujarat", "2390", "57.6", "0.1", "10.3", "16.5", "12.9", "2.7"],
|
||
["Madhya Pradesh", "2402", "58.7", "2.2", "6.6", "24.1", "5.3", "3.0"],
|
||
["Orissa", "2405", "50.0", "0.9", "8.1", "21.9", "15.1", "4.0"],
|
||
["West Bengal", "2293", "49.1", "4.8", "11.2", "16.8", "17.1", "1.1"],
|
||
["Uttar Pradesh", "2400", "67.3", "2.0", "3.1", "17.2", "7.7", "2.7"],
|
||
["Pooled", "23889", "47.7", "1.5", "9.9", "19.9", "17.8", "3.3"],
|
||
]
|
||
|
||
data_lattice_table_regions = [
|
||
["Età dell’Assicurato \nall’epoca del decesso",
|
||
"Misura % di \nmaggiorazione"],
|
||
["18-75", "1,00%"],
|
||
["76-80", "0,50%"],
|
||
["81 in poi", "0,10%"],
|
||
]
|
||
|
||
data_lattice_table_areas = [
|
||
["", "", "", "", "", "", "", "", ""],
|
||
["State", "n", "Literacy Status", "", "", "", "", "", ""],
|
||
[
|
||
"",
|
||
"",
|
||
"Illiterate",
|
||
"Read & \nWrite",
|
||
"1-4 std.",
|
||
"5-8 std.",
|
||
"9-12 std.",
|
||
"College",
|
||
"",
|
||
],
|
||
["Kerala", "2400", "7.2", "0.5", "25.3", "20.1", "41.5", "5.5", ""],
|
||
["Tamil Nadu", "2400", "21.4", "2.3", "8.8", "35.5", "25.8", "6.2", ""],
|
||
["Karnataka", "2399", "37.4", "2.8", "12.5", "18.3", "23.1", "5.8", ""],
|
||
["Andhra Pradesh", "2400", "54.0", "1.7", "8.4", "13.2", "18.8", "3.9",
|
||
""],
|
||
["Maharashtra", "2400", "22.0", "0.9", "17.3", "20.3", "32.6", "7.0", ""],
|
||
["Gujarat", "2390", "28.6", "0.1", "14.4", "23.1", "26.9", "6.8", ""],
|
||
["Madhya Pradesh", "2402", "29.1", "3.4", "8.5", "35.1", "13.3", "10.6",
|
||
""],
|
||
["Orissa", "2405", "33.2", "1.0", "10.4", "25.7", "21.2", "8.5", ""],
|
||
["West Bengal", "2293", "41.7", "4.4", "13.2", "17.1", "21.2", "2.4", ""],
|
||
["Uttar Pradesh", "2400", "35.3", "2.1", "4.5", "23.3", "27.1", "7.6", ""],
|
||
["Pooled", "23889", "30.9", "1.9", "12.3", "23.2", "25.2", "6.4", ""],
|
||
["", "", "", "", "", "", "", "", ""],
|
||
]
|
||
|
||
data_lattice_process_background = [
|
||
[
|
||
"State",
|
||
"Date",
|
||
"Halt \nstations",
|
||
"Halt \ndays",
|
||
"Persons \ndirectly \nreached\n(in lakh)",
|
||
"Persons \ntrained",
|
||
"Persons \ncounseled",
|
||
"Persons \ntested\nfor HIV",
|
||
],
|
||
["Delhi", "1.12.2009", "8", "17", "1.29", "3,665", "2,409", "1,000"],
|
||
["Rajasthan", "2.12.2009 to \n19.12.2009", "", "", "", "", "", ""],
|
||
[
|
||
"Gujarat",
|
||
"20.12.2009 to \n3.1.2010",
|
||
"6",
|
||
"13",
|
||
"6.03",
|
||
"3,810",
|
||
"2,317",
|
||
"1,453",
|
||
],
|
||
[
|
||
"Maharashtra",
|
||
"4.01.2010 to \n1.2.2010",
|
||
"13",
|
||
"26",
|
||
"1.27",
|
||
"5,680",
|
||
"9,027",
|
||
"4,153",
|
||
],
|
||
[
|
||
"Karnataka",
|
||
"2.2.2010 to \n22.2.2010",
|
||
"11",
|
||
"19",
|
||
"1.80",
|
||
"5,741",
|
||
"3,658",
|
||
"3,183",
|
||
],
|
||
["Kerala", "23.2.2010 to \n11.3.2010", "9", "17", "1.42", "3,559", "2,173",
|
||
"855"],
|
||
["Total", "", "47", "92", "11.81", "22,455", "19,584", "10,644"],
|
||
]
|
||
|
||
data_lattice_copy_text = [
|
||
["Plan Type", "County", "Plan Name", "Totals"],
|
||
["GMC", "Sacramento", "Anthem Blue Cross", "164,380"],
|
||
["GMC", "Sacramento", "Health Net", "126,547"],
|
||
["GMC", "Sacramento", "Kaiser Foundation", "74,620"],
|
||
["GMC", "Sacramento", "Molina Healthcare", "59,989"],
|
||
["GMC", "San Diego", "Care 1st Health Plan", "71,831"],
|
||
["GMC", "San Diego", "Community Health Group", "264,639"],
|
||
["GMC", "San Diego", "Health Net", "72,404"],
|
||
["GMC", "San Diego", "Kaiser", "50,415"],
|
||
["GMC", "San Diego", "Molina Healthcare", "206,430"],
|
||
["GMC", "Total GMC Enrollment", "", "1,091,255"],
|
||
["COHS", "Marin", "Partnership Health Plan of CA", "36,006"],
|
||
["COHS", "Mendocino", "Partnership Health Plan of CA", "37,243"],
|
||
["COHS", "Napa", "Partnership Health Plan of CA", "28,398"],
|
||
["COHS", "Solano", "Partnership Health Plan of CA", "113,220"],
|
||
["COHS", "Sonoma", "Partnership Health Plan of CA", "112,271"],
|
||
["COHS", "Yolo", "Partnership Health Plan of CA", "52,674"],
|
||
["COHS", "Del Norte", "Partnership Health Plan of CA", "11,242"],
|
||
["COHS", "Humboldt", "Partnership Health Plan of CA", "49,911"],
|
||
["COHS", "Lake", "Partnership Health Plan of CA", "29,149"],
|
||
["COHS", "Lassen", "Partnership Health Plan of CA", "7,360"],
|
||
["COHS", "Modoc", "Partnership Health Plan of CA", "2,940"],
|
||
["COHS", "Shasta", "Partnership Health Plan of CA", "61,763"],
|
||
["COHS", "Siskiyou", "Partnership Health Plan of CA", "16,715"],
|
||
["COHS", "Trinity", "Partnership Health Plan of CA", "4,542"],
|
||
["COHS", "Merced", "Central California Alliance for Health", "123,907"],
|
||
["COHS", "Monterey", "Central California Alliance for Health", "147,397"],
|
||
["COHS", "Santa Cruz", "Central California Alliance for Health", "69,458"],
|
||
["COHS", "Santa Barbara", "CenCal", "117,609"],
|
||
["COHS", "San Luis Obispo", "CenCal", "55,761"],
|
||
["COHS", "Orange", "CalOptima", "783,079"],
|
||
["COHS", "San Mateo", "Health Plan of San Mateo", "113,202"],
|
||
["COHS", "Ventura", "Gold Coast Health Plan", "202,217"],
|
||
["COHS", "Total COHS Enrollment", "", "2,176,064"],
|
||
["Subtotal for Two-Plan, Regional Model, GMC and COHS", "", "",
|
||
"10,132,022"],
|
||
["PCCM", "Los Angeles", "AIDS Healthcare Foundation", "828"],
|
||
["PCCM", "San Francisco", "Family Mosaic", "25"],
|
||
["PCCM", "Total PHP Enrollment", "", "853"],
|
||
["All Models Total Enrollments", "", "", "10,132,875"],
|
||
["Source: Data Warehouse \n12/14/15", "", "", ""],
|
||
]
|
||
|
||
data_lattice_shift_text_left_top = [
|
||
[
|
||
"Investigations",
|
||
"No. of\nHHs",
|
||
"Age/Sex/\nPhysiological Group",
|
||
"Preva-\nlence",
|
||
"C.I*",
|
||
"Relative\nPrecision",
|
||
"Sample size\nper State",
|
||
],
|
||
["Anthropometry", "2400", "All the available individuals", "", "", "", ""],
|
||
["Clinical Examination", "", "", "", "", "", ""],
|
||
["History of morbidity", "", "", "", "", "", ""],
|
||
[
|
||
"Diet survey",
|
||
"1200",
|
||
"All the individuals partaking meals in the HH",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
["Blood Pressure #", "2400", "Men (≥ 18yrs)", "10%", "95%", "20%", "1728"],
|
||
["", "", "Women (≥ 18 yrs)", "", "", "", "1728"],
|
||
["Fasting blood glucose", "2400", "Men (≥ 18 yrs)", "5%", "95%", "20%",
|
||
"1825"],
|
||
["", "", "Women (≥ 18 yrs)", "", "", "", "1825"],
|
||
[
|
||
"Knowledge &\nPractices on HTN &\nDM",
|
||
"2400",
|
||
"Men (≥ 18 yrs)",
|
||
"-",
|
||
"-",
|
||
"-",
|
||
"1728",
|
||
],
|
||
["", "2400", "Women (≥ 18 yrs)", "-", "-", "-", "1728"],
|
||
]
|
||
|
||
data_lattice_shift_text_disable = [
|
||
[
|
||
"Investigations",
|
||
"No. of\nHHs",
|
||
"Age/Sex/\nPhysiological Group",
|
||
"Preva-\nlence",
|
||
"C.I*",
|
||
"Relative\nPrecision",
|
||
"Sample size\nper State",
|
||
],
|
||
["Anthropometry", "", "", "", "", "", ""],
|
||
["Clinical Examination", "2400", "", "All the available individuals",
|
||
"", "", ""],
|
||
["History of morbidity", "", "", "", "", "", ""],
|
||
[
|
||
"Diet survey",
|
||
"1200",
|
||
"",
|
||
"All the individuals partaking meals in the HH",
|
||
"",
|
||
"",
|
||
"",
|
||
],
|
||
["", "", "Men (≥ 18yrs)", "", "", "", "1728"],
|
||
["Blood Pressure #", "2400", "Women (≥ 18 yrs)", "10%", "95%", "20%",
|
||
"1728"],
|
||
["", "", "Men (≥ 18 yrs)", "", "", "", "1825"],
|
||
["Fasting blood glucose", "2400", "Women (≥ 18 yrs)", "5%", "95%", "20%",
|
||
"1825"],
|
||
[
|
||
"Knowledge &\nPractices on HTN &",
|
||
"2400",
|
||
"Men (≥ 18 yrs)",
|
||
"-",
|
||
"-",
|
||
"-",
|
||
"1728",
|
||
],
|
||
["DM", "2400", "Women (≥ 18 yrs)", "-", "-", "-", "1728"],
|
||
]
|
||
|
||
data_lattice_shift_text_right_bottom = [
|
||
[
|
||
"Investigations",
|
||
"No. of\nHHs",
|
||
"Age/Sex/\nPhysiological Group",
|
||
"Preva-\nlence",
|
||
"C.I*",
|
||
"Relative\nPrecision",
|
||
"Sample size\nper State",
|
||
],
|
||
["Anthropometry", "", "", "", "", "", ""],
|
||
["Clinical Examination", "", "", "", "", "", ""],
|
||
["History of morbidity", "2400", "", "", "", "",
|
||
"All the available individuals"],
|
||
[
|
||
"Diet survey",
|
||
"1200",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"All the individuals partaking meals in the HH",
|
||
],
|
||
["", "", "Men (≥ 18yrs)", "", "", "", "1728"],
|
||
["Blood Pressure #", "2400", "Women (≥ 18 yrs)", "10%", "95%", "20%",
|
||
"1728"],
|
||
["", "", "Men (≥ 18 yrs)", "", "", "", "1825"],
|
||
["Fasting blood glucose", "2400", "Women (≥ 18 yrs)", "5%", "95%", "20%",
|
||
"1825"],
|
||
["", "2400", "Men (≥ 18 yrs)", "-", "-", "-", "1728"],
|
||
[
|
||
"Knowledge &\nPractices on HTN &\nDM",
|
||
"2400",
|
||
"Women (≥ 18 yrs)",
|
||
"-",
|
||
"-",
|
||
"-",
|
||
"1728",
|
||
],
|
||
]
|
||
|
||
data_arabic = [
|
||
["ً\n\xa0\nﺎﺒﺣﺮﻣ", "ﻥﺎﻄﻠﺳ\xa0ﻲﻤﺳﺍ"],
|
||
["ﻝﺎﻤﺸﻟﺍ\xa0ﺎﻨﻴﻟﻭﺭﺎﻛ\xa0ﺔﻳﻻﻭ\xa0ﻦﻣ\xa0ﺎﻧﺍ", "؟ﺖﻧﺍ\xa0ﻦﻳﺍ\xa0ﻦﻣ"],
|
||
["1234", "ﻂﻄﻗ\xa047\xa0ﻱﺪﻨﻋ"],
|
||
["؟ﻙﺎﺒﺷ\xa0ﺖﻧﺍ\xa0ﻞﻫ", "ﺔﻳﺰﻴﻠﺠﻧﻻﺍ\xa0ﻲﻓ\xa0Jeremy\xa0ﻲﻤﺳﺍ"],
|
||
["Jeremy\xa0is\xa0ﻲﻣﺮﺟ\xa0in\xa0Arabic", ""],
|
||
]
|
||
|
||
data_stream_layout_kwargs = [
|
||
["V i n s a u V e r r e", ""],
|
||
["Les Blancs", "12.5CL"],
|
||
["A.O.P Côtes du Rhône", ""],
|
||
["Domaine de la Guicharde « Autour de la chapelle » 2016", "8 €"],
|
||
["A.O.P Vacqueyras", ""],
|
||
["Domaine de Montvac « Melodine » 2016", "10 €"],
|
||
["A.O.P Châteauneuf du Pape", ""],
|
||
["Domaine de Beaurenard 2017", "13 €"],
|
||
["A.O.P Côteaux du Languedoc", ""],
|
||
["Villa Tempora « Un temps pour elle » 2014", "9 €"],
|
||
["A.O.P Côtes de Provence", ""],
|
||
["Château Grand Boise 2017", "9 €"],
|
||
["Les Rosés", "12,5 CL"],
|
||
["A.O.P Côtes du Rhône", ""],
|
||
["Domaine de la Florane « A fleur de Pampre » 2016", "8 €"],
|
||
["Famille Coulon (Domaine Beaurenard) Biotifulfox 2017", "8 €"],
|
||
["A.O.P Vacqueyras", ""],
|
||
["Domaine de Montvac 2017", "9 €"],
|
||
["A.O.P Languedoc", ""],
|
||
["Domaine de Joncas « Nébla » 2015", "8 €"],
|
||
["Villa Tempora « L’arroseur arrosé » 2015", "9 €"],
|
||
["A.O.P Côtes de Provence", ""],
|
||
["Château Grand Boise « Sainte Victoire » 2017", "9 €"],
|
||
["Château Léoube 2016", "10 €"],
|
||
["Les Rouges", "12,CL"],
|
||
["A.O.P Côtes du Rhône", ""],
|
||
["Domaine de Dionysos « La Cigalette »", "8 €"],
|
||
["Château Saint Estève d’Uchaux « Grande Réserve » 2014", "9 €"],
|
||
["Domaine de la Guicharde « Cuvée Massillan » 2016", "9 €"],
|
||
["Domaine de la Florane « Terre Pourpre » 2014", "10 €"],
|
||
["L’Oratoire St Martin « Réserve des Seigneurs » 2015", "11 €"],
|
||
["A.O.P Saint Joseph", ""],
|
||
["Domaine Monier Perréol « Châtelet » 2015", "13 €"],
|
||
["A.O.P Châteauneuf du Pape", ""],
|
||
["Domaine de Beaurenard 2011", "15 €"],
|
||
["A.O.P Cornas", ""],
|
||
["Domaine Lionnet « Terre Brûlée » 2012", "15 €"],
|
||
]
|