diff --git a/Tabula.Tests/PdfPigExtensionsTests.cs b/Tabula.Tests/PdfPigExtensionsTests.cs index 6580819..b40ff00 100644 --- a/Tabula.Tests/PdfPigExtensionsTests.cs +++ b/Tabula.Tests/PdfPigExtensionsTests.cs @@ -162,7 +162,7 @@ public void TestColumnRecognition() for (int j = 0; j < expected.Length; j++) { var e = expected[j]; - var r = result[j]; + var r = result[j].Trim(); Assert.Equal(e, r); } } @@ -188,7 +188,7 @@ public void TestVerticalRulingsPreventMergingOfColumns() var sixthRow = table.Rows[5]; Assert.Equal("VALSANGIACOMO BLANC", sixthRow[0].GetText()); - Assert.Equal("OFERNANDO JORGE", sixthRow[1].GetText()); + Assert.Equal("OFERNANDO JORGE ", sixthRow[1].GetText()); } } @@ -215,7 +215,7 @@ public void TestExtractColumnsCorrectly() for (int j = 0; j < expecteds.Length; j++) { var e = expecteds[j]; - var a = actuals[j]; + var a = actuals[j].Trim(); Assert.Equal(e, a); } } @@ -288,7 +288,7 @@ public void TestExtractColumnsCorrectly3() for (int j = 0; j < expecteds.Length; j++) { var e = expecteds[j]; - var a = actuals[j]; + var a = actuals[j].Trim(); Assert.Equal(e, a); } } @@ -310,7 +310,7 @@ public void TestCheckSqueezeDoesntBreak() var lastRow = rows[rows.Count - 1]; var lastRowLastCell = lastRow[lastRow.Count - 1].GetText(); - Assert.Equal("Violent crime . . . . . . . . . . . . . . . . . .", firstRowFirstCell); + Assert.Equal("Violent crime . . . . . . . . . . . . . . . . . . ", firstRowFirstCell); Assert.Equal("(X)", lastRowLastCell); } } @@ -335,58 +335,58 @@ public void TestNaturalOrderOfRectangles() // Now different form tabula-java, since PdfPig 0.1.5-alpha001 //Column headers - Assert.Equal("Project", cells[0].GetText()); - Assert.Equal("Agency", cells[1].GetText()); - Assert.Equal("Institution", cells[2].GetText()); + Assert.Equal("Project", cells[0].GetText().Trim()); + Assert.Equal("Agency", cells[1].GetText().Trim()); + Assert.Equal("Institution", cells[2].GetText().Trim()); //First row - Assert.Equal("Nanotechnology and its publics", cells[3].GetText()); - Assert.Equal("NSF", cells[4].GetText()); - Assert.Equal("Pennsylvania State University", cells[5].GetText()); + Assert.Equal("Nanotechnology and its publics", cells[3].GetText().Trim()); + Assert.Equal("NSF", cells[4].GetText().Trim()); + Assert.Equal("Pennsylvania State University", cells[5].GetText().Trim()); //Second row - Assert.Equal("Public information and deliberation in nanoscience and\rnanotechnology policy (SGER)", cells[6].GetText()); - Assert.Equal("Interagency", cells[7].GetText()); - Assert.Equal("North Carolina State\rUniversity", cells[8].GetText()); + Assert.Equal("Public information and deliberation in nanoscience and \rnanotechnology policy (SGER)", cells[6].GetText().Trim()); + Assert.Equal("Interagency", cells[7].GetText().Trim()); + Assert.Equal("North Carolina State \rUniversity", cells[8].GetText().Trim()); //Third row - Assert.Equal("Social and ethical research and education in agrifood\rnanotechnology (NIRT)", cells[9].GetText()); - Assert.Equal("NSF", cells[10].GetText()); - Assert.Equal("Michigan State University", cells[11].GetText()); + Assert.Equal("Social and ethical research and education in agrifood \rnanotechnology (NIRT)", cells[9].GetText().Trim()); + Assert.Equal("NSF", cells[10].GetText().Trim()); + Assert.Equal("Michigan State University", cells[11].GetText().Trim()); //Fourth row - Assert.Equal("From laboratory to society: developing an informed\rapproach to nanoscale science and engineering (NIRT)", cells[12].GetText()); - Assert.Equal("NSF", cells[13].GetText()); - Assert.Equal("University of South Carolina", cells[14].GetText()); + Assert.Equal("From laboratory to society: developing an informed \rapproach to nanoscale science and engineering (NIRT)", cells[12].GetText().Trim()); + Assert.Equal("NSF", cells[13].GetText().Trim()); + Assert.Equal("University of South Carolina", cells[14].GetText().Trim()); //Fifth row - Assert.Equal("Database and innovation timeline for nanotechnology", cells[15].GetText()); - Assert.Equal("NSF", cells[16].GetText()); - Assert.Equal("UCLA", cells[17].GetText()); + Assert.Equal("Database and innovation timeline for nanotechnology", cells[15].GetText().Trim()); + Assert.Equal("NSF", cells[16].GetText().Trim()); + Assert.Equal("UCLA", cells[17].GetText().Trim()); //Sixth row - Assert.Equal("Social and ethical dimensions of nanotechnology", cells[18].GetText()); - Assert.Equal("NSF", cells[19].GetText()); - Assert.Equal("University of Virginia", cells[20].GetText()); + Assert.Equal("Social and ethical dimensions of nanotechnology", cells[18].GetText().Trim()); + Assert.Equal("NSF", cells[19].GetText().Trim()); + Assert.Equal("University of Virginia", cells[20].GetText().Trim()); //Seventh row - Assert.Equal("Undergraduate exploration of nanoscience,\rapplications and societal implications (NUE)", cells[21].GetText()); - Assert.Equal("NSF", cells[22].GetText()); - Assert.Equal("Michigan Technological\rUniversity", cells[23].GetText()); + Assert.Equal("Undergraduate exploration of nanoscience, \rapplications and societal implications (NUE)", cells[21].GetText().Trim()); + Assert.Equal("NSF", cells[22].GetText().Trim()); + Assert.Equal("Michigan Technological \rUniversity", cells[23].GetText().Trim()); //Eighth row - Assert.Equal("Ethics and belief inside the development of\rnanotechnology (CAREER)", cells[24].GetText()); - //Assert.Equal("nanotechnology (CAREER)", cells[28].GetText()); - Assert.Equal("NSF", cells[25].GetText()); - Assert.Equal("University of Virginia", cells[26].GetText()); + Assert.Equal("Ethics and belief inside the development of \rnanotechnology (CAREER)", cells[24].GetText().Trim()); + //Assert.Equal("nanotechnology (CAREER)", cells[28].GetText().Trim()); + Assert.Equal("NSF", cells[25].GetText().Trim()); + Assert.Equal("University of Virginia", cells[26].GetText().Trim()); //Ninth row - Assert.Equal("All centers, NNIN and NCN have a societal", cells[27].GetText()); - Assert.Equal("NSF, DOE,", cells[28].GetText()); - Assert.Equal("All nanotechnology centers", cells[29].GetText()); - Assert.Equal("implications components", cells[30].GetText()); - Assert.Equal("DOD, and NIH", cells[31].GetText()); - Assert.Equal("and networks", cells[32].GetText()); + Assert.Equal("All centers, NNIN and NCN have a societal", cells[27].GetText().Trim()); + Assert.Equal("NSF, DOE,", cells[28].GetText().Trim()); + Assert.Equal("All nanotechnology centers", cells[29].GetText().Trim()); + Assert.Equal("implications components", cells[30].GetText().Trim()); + Assert.Equal("DOD, and NIH", cells[31].GetText().Trim()); + Assert.Equal("and networks", cells[32].GetText().Trim()); } } diff --git a/Tabula.Tests/Resources/csv/Publication_of_award_of_Bids_for_Transport_Sector__August_2016.csv b/Tabula.Tests/Resources/csv/Publication_of_award_of_Bids_for_Transport_Sector__August_2016.csv index 3cc81ef..7f15e54 100644 --- a/Tabula.Tests/Resources/csv/Publication_of_award_of_Bids_for_Transport_Sector__August_2016.csv +++ b/Tabula.Tests/Resources/csv/Publication_of_award_of_Bids_for_Transport_Sector__August_2016.csv @@ -33,7 +33,7 @@ Accra","214,885.63",GHS,13‐Oct‐11,1‐Jan‐12,Completed 4,"Procurement of Training Simulators and other Tools","MRH/IDA/TSP/NCB/G -‐4 /Lot 1",NCB,"All‐tech Engineering +‐4 / Lot 1",NCB,"All‐tech Engineering Ltd","Box LG 426, Legon ‐ Accra","198,770.00",GHS,12‐Sep‐11,31‐Oct‐11,Completed 5,"Procurement of diff --git a/Tabula.Tests/Resources/csv/argentina_diputados_voting_record.csv b/Tabula.Tests/Resources/csv/argentina_diputados_voting_record.csv index bb20550..0599036 100644 --- a/Tabula.Tests/Resources/csv/argentina_diputados_voting_record.csv +++ b/Tabula.Tests/Resources/csv/argentina_diputados_voting_record.csv @@ -1,31 +1,31 @@ -"ABDALA de MATARAZZO, Norma Amanda",Frente Cívico por Santiago,Santiago del Estero,AFIRMATIVO -"ALBRIEU, Oscar Edmundo Nicolas",Frente para la Victoria - PJ,Rio Negro,AFIRMATIVO -"ALONSO, María Luz",Frente para la Victoria - PJ,La Pampa,AFIRMATIVO -"ARENA, Celia Isabel",Frente para la Victoria - PJ,Santa Fe,AFIRMATIVO -"ARREGUI, Andrés Roberto",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"AVOSCAN, Herman Horacio",Frente para la Victoria - PJ,Rio Negro,AFIRMATIVO -"BALCEDO, María Ester",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"BARRANDEGUY, Raúl Enrique",Frente para la Victoria - PJ,Entre Ríos,AFIRMATIVO -"BASTERRA, Luis Eugenio",Frente para la Victoria - PJ,Formosa,AFIRMATIVO -"BEDANO, Nora Esther",Frente para la Victoria - PJ,Córdoba,AFIRMATIVO -"BERNAL, María Eugenia",Frente para la Victoria - PJ,Jujuy,AFIRMATIVO -"BERTONE, Rosana Andrea",Frente para la Victoria - PJ,Tierra del Fuego,AFIRMATIVO -"BIANCHI, María del Carmen",Frente para la Victoria - PJ,Cdad. Aut. Bs. As.,AFIRMATIVO -"BIDEGAIN, Gloria Mercedes",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"BRAWER, Mara",Frente para la Victoria - PJ,Cdad. Aut. Bs. As.,AFIRMATIVO -"BRILLO, José Ricardo",Movimiento Popular Neuquino,Neuquén,AFIRMATIVO -"BROMBERG, Isaac Benjamín",Frente para la Victoria - PJ,Tucumán,AFIRMATIVO -"BRUE, Daniel Agustín",Frente Cívico por Santiago,Santiago del Estero,AFIRMATIVO -"CALCAGNO, Eric",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"CARLOTTO, Remo Gerardo",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"CARMONA, Guillermo Ramón",Frente para la Victoria - PJ,Mendoza,AFIRMATIVO -"CATALAN MAGNI, Julio César",Frente para la Victoria - PJ,Tierra del Fuego,AFIRMATIVO -"CEJAS, Jorge Alberto",Frente para la Victoria - PJ,Rio Negro,AFIRMATIVO -"CHIENO, María Elena",Frente para la Victoria - PJ,Corrientes,AFIRMATIVO -"CIAMPINI, José Alberto",Frente para la Victoria - PJ,Neuquén,AFIRMATIVO -"CIGOGNA, Luis Francisco Jorge",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"CLERI, Marcos",Frente para la Victoria - PJ,Santa Fe,AFIRMATIVO -"COMELLI, Alicia Marcela",Movimiento Popular Neuquino,Neuquén,AFIRMATIVO -"CONTI, Diana Beatriz",Frente para la Victoria - PJ,Buenos Aires,AFIRMATIVO -"CORDOBA, Stella Maris",Frente para la Victoria - PJ,Tucumán,AFIRMATIVO -"CURRILEN, Oscar Rubén",Frente para la Victoria - PJ,Chubut,AFIRMATIVO \ No newline at end of file +"ABDALA de MATARAZZO, Norma Amanda ","Frente Cívico por Santiago ",Santiago del Estero,AFIRMATIVO +"ALBRIEU, Oscar Edmundo Nicolas ","Frente para la Victoria - PJ ",Rio Negro,AFIRMATIVO +"ALONSO, María Luz ","Frente para la Victoria - PJ ",La Pampa,AFIRMATIVO +"ARENA, Celia Isabel ","Frente para la Victoria - PJ ",Santa Fe,AFIRMATIVO +"ARREGUI, Andrés Roberto ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"AVOSCAN, Herman Horacio ","Frente para la Victoria - PJ ",Rio Negro,AFIRMATIVO +"BALCEDO, María Ester ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"BARRANDEGUY, Raúl Enrique ","Frente para la Victoria - PJ ",Entre Ríos,AFIRMATIVO +"BASTERRA, Luis Eugenio ","Frente para la Victoria - PJ ",Formosa,AFIRMATIVO +"BEDANO, Nora Esther ","Frente para la Victoria - PJ ",Córdoba,AFIRMATIVO +"BERNAL, María Eugenia ","Frente para la Victoria - PJ ",Jujuy,AFIRMATIVO +"BERTONE, Rosana Andrea ","Frente para la Victoria - PJ ",Tierra del Fuego,AFIRMATIVO +"BIANCHI, María del Carmen ","Frente para la Victoria - PJ ",Cdad. Aut. Bs. As.,AFIRMATIVO +"BIDEGAIN, Gloria Mercedes ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"BRAWER, Mara ","Frente para la Victoria - PJ ",Cdad. Aut. Bs. As.,AFIRMATIVO +"BRILLO, José Ricardo ","Movimiento Popular Neuquino ",Neuquén,AFIRMATIVO +"BROMBERG, Isaac Benjamín ","Frente para la Victoria - PJ ",Tucumán,AFIRMATIVO +"BRUE, Daniel Agustín ","Frente Cívico por Santiago ",Santiago del Estero,AFIRMATIVO +"CALCAGNO, Eric ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"CARLOTTO, Remo Gerardo ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"CARMONA, Guillermo Ramón ","Frente para la Victoria - PJ ",Mendoza,AFIRMATIVO +"CATALAN MAGNI, Julio César ","Frente para la Victoria - PJ ",Tierra del Fuego,AFIRMATIVO +"CEJAS, Jorge Alberto ","Frente para la Victoria - PJ ",Rio Negro,AFIRMATIVO +"CHIENO, María Elena ","Frente para la Victoria - PJ ",Corrientes,AFIRMATIVO +"CIAMPINI, José Alberto ","Frente para la Victoria - PJ ",Neuquén,AFIRMATIVO +"CIGOGNA, Luis Francisco Jorge ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"CLERI, Marcos ","Frente para la Victoria - PJ ",Santa Fe,AFIRMATIVO +"COMELLI, Alicia Marcela ","Movimiento Popular Neuquino ",Neuquén,AFIRMATIVO +"CONTI, Diana Beatriz ","Frente para la Victoria - PJ ",Buenos Aires,AFIRMATIVO +"CORDOBA, Stella Maris ","Frente para la Victoria - PJ ",Tucumán,AFIRMATIVO +"CURRILEN, Oscar Rubén ","Frente para la Victoria - PJ ",Chubut,AFIRMATIVO \ No newline at end of file diff --git a/Tabula.Tests/Resources/csv/data_stream_noguess.csv b/Tabula.Tests/Resources/csv/data_stream_noguess.csv index 251d923..1651e93 100644 --- a/Tabula.Tests/Resources/csv/data_stream_noguess.csv +++ b/Tabula.Tests/Resources/csv/data_stream_noguess.csv @@ -1,34 +1,34 @@ -,mpg,cyl,,disp,hp,drat,wt,qsec,vs,am,gear,carb -Mazda RX4,21.0,6,,160.0,110,3.90,2.620,16.46,0,1,4,4 -Mazda RX4 Wag,21.0,6,,160.0,110,3.90,2.875,17.02,0,1,4,4 -Datsun 710,22.8,4,,108.0,93,3.85,2.320,18.61,1,1,4,1 -Hornet 4 Drive,21.4,6,,258.0,110,3.08,3.215,19.44,1,0,3,1 -Hornet Sportabout,18.7,8,,360.0,175,3.15,3.440,17.02,0,0,3,2 -Valiant,18.1,6,,225.0,105,2.76,3.460,20.22,1,0,3,1 -Duster 360,14.3,8,,360.0,245,3.21,3.570,15.84,0,0,3,4 -Merc 240D,24.4,4,,146.7,62,3.69,3.190,20.00,1,0,4,2 -Merc 230,22.8,4,,140.8,95,3.92,3.150,22.90,1,0,4,2 -Merc 280,19.2,6,,167.6,123,3.92,3.440,18.30,1,0,4,4 -Merc 280C,17.8,6,,167.6,123,3.92,3.440,18.90,1,0,4,4 -Merc 450SE,16.4,8,,275.8,180,3.07,4.070,17.40,0,0,3,3 -Merc 450SL,17.3,8,,275.8,180,3.07,3.730,17.60,0,0,3,3 -Merc 450SLC,15.2,8,,275.8,180,3.07,3.780,18.00,0,0,3,3 -Cadillac Fleetwood,10.4,8,,472.0,205,2.93,5.250,17.98,0,0,3,4 -Lincoln Continental,10.4,8,,460.0,215,3.00,5.424,17.82,0,0,3,4 -Chrysler Imperial,14.7,8,,440.0,230,3.23,5.345,17.42,0,0,3,4 -Fiat 128,32.4,4,,78.7,66,4.08,2.200,19.47,1,1,4,1 -Honda Civic,30.4,4,,75.7,52,4.93,1.615,18.52,1,1,4,2 -Toyota Corolla,33.9,4,,71.1,65,4.22,1.835,19.90,1,1,4,1 -Toyota Corona,21.5,4,,120.1,97,3.70,2.465,20.01,1,0,3,1 -Dodge Challenger,15.5,8,,318.0,150,2.76,3.520,16.87,0,0,3,2 -AMC Javelin,15.2,8,,304.0,150,3.15,3.435,17.30,0,0,3,2 -Camaro Z28,13.3,8,,350.0,245,3.73,3.840,15.41,0,0,3,4 -Pontiac Firebird,19.2,8,,400.0,175,3.08,3.845,17.05,0,0,3,2 -Fiat X1-9,27.3,4,,79.0,66,4.08,1.935,18.90,1,1,4,1 -Porsche 914-2,26.0,4,,120.3,91,4.43,2.140,16.70,0,1,5,2 -Lotus Europa,30.4,4,,95.1,113,3.77,1.513,16.90,1,1,5,2 -Ford Pantera L,15.8,8,,351.0,264,4.22,3.170,14.50,0,1,5,4 -Ferrari Dino,19.7,6,,145.0,175,3.62,2.770,15.50,0,1,5,6 -Maserati Bora,15.0,8,,301.0,335,3.54,3.570,14.60,0,1,5,8 -Volvo 142E,21.4,4,,121.0,109,4.11,2.780,18.60,1,1,4,2 +,"mpg ","cyl ",,"disp ","hp ","drat ","wt ","qsec ","vs ","am ","gear ",carb +"Mazda RX4 ","21.0 ","6 ",,"160.0 ","110 ","3.90 ","2.620 ","16.46 ","0 ","1 ","4 ",4 +"Mazda RX4 Wag ","21.0 ","6 ",,"160.0 ","110 ","3.90 ","2.875 ","17.02 ","0 ","1 ","4 ",4 +"Datsun 710 ","22.8 ","4 ",,"108.0 ","93 ","3.85 ","2.320 ","18.61 ","1 ","1 ","4 ",1 +"Hornet 4 Drive ","21.4 ","6 ",,"258.0 ","110 ","3.08 ","3.215 ","19.44 ","1 ","0 ","3 ",1 +"Hornet Sportabout ","18.7 ","8 ",,"360.0 ","175 ","3.15 ","3.440 ","17.02 ","0 ","0 ","3 ",2 +"Valiant ","18.1 ","6 ",,"225.0 ","105 ","2.76 ","3.460 ","20.22 ","1 ","0 ","3 ",1 +"Duster 360 ","14.3 ","8 ",,"360.0 ","245 ","3.21 ","3.570 ","15.84 ","0 ","0 ","3 ",4 +"Merc 240D ","24.4 ","4 ",,"146.7 ","62 ","3.69 ","3.190 ","20.00 ","1 ","0 ","4 ",2 +"Merc 230 ","22.8 ","4 ",,"140.8 ","95 ","3.92 ","3.150 ","22.90 ","1 ","0 ","4 ",2 +"Merc 280 ","19.2 ","6 ",,"167.6 ","123 ","3.92 ","3.440 ","18.30 ","1 ","0 ","4 ",4 +"Merc 280C ","17.8 ","6 ",,"167.6 ","123 ","3.92 ","3.440 ","18.90 ","1 ","0 ","4 ",4 +"Merc 450SE ","16.4 ","8 ",,"275.8 ","180 ","3.07 ","4.070 ","17.40 ","0 ","0 ","3 ",3 +"Merc 450SL ","17.3 ","8 ",,"275.8 ","180 ","3.07 ","3.730 ","17.60 ","0 ","0 ","3 ",3 +"Merc 450SLC ","15.2 ","8 ",,"275.8 ","180 ","3.07 ","3.780 ","18.00 ","0 ","0 ","3 ",3 +"Cadillac Fleetwood ","10.4 ","8 ",,"472.0 ","205 ","2.93 ","5.250 ","17.98 ","0 ","0 ","3 ",4 +"Lincoln Continental ","10.4 ","8 ",,"460.0 ","215 ","3.00 ","5.424 ","17.82 ","0 ","0 ","3 ",4 +"Chrysler Imperial ","14.7 ","8 ",,"440.0 ","230 ","3.23 ","5.345 ","17.42 ","0 ","0 ","3 ",4 +"Fiat 128 ","32.4 ","4 ",,"78.7 ","66 ","4.08 ","2.200 ","19.47 ","1 ","1 ","4 ",1 +"Honda Civic ","30.4 ","4 ",,"75.7 ","52 ","4.93 ","1.615 ","18.52 ","1 ","1 ","4 ",2 +"Toyota Corolla ","33.9 ","4 ",,"71.1 ","65 ","4.22 ","1.835 ","19.90 ","1 ","1 ","4 ",1 +"Toyota Corona ","21.5 ","4 ",,"120.1 ","97 ","3.70 ","2.465 ","20.01 ","1 ","0 ","3 ",1 +"Dodge Challenger ","15.5 ","8 ",,"318.0 ","150 ","2.76 ","3.520 ","16.87 ","0 ","0 ","3 ",2 +"AMC Javelin ","15.2 ","8 ",,"304.0 ","150 ","3.15 ","3.435 ","17.30 ","0 ","0 ","3 ",2 +"Camaro Z28 ","13.3 ","8 ",,"350.0 ","245 ","3.73 ","3.840 ","15.41 ","0 ","0 ","3 ",4 +"Pontiac Firebird ","19.2 ","8 ",,"400.0 ","175 ","3.08 ","3.845 ","17.05 ","0 ","0 ","3 ",2 +"Fiat X1-9 ","27.3 ","4 ",,"79.0 ","66 ","4.08 ","1.935 ","18.90 ","1 ","1 ","4 ",1 +"Porsche 914-2 ","26.0 ","4 ",,"120.3 ","91 ","4.43 ","2.140 ","16.70 ","0 ","1 ","5 ",2 +"Lotus Europa ","30.4 ","4 ",,"95.1 ","113 ","3.77 ","1.513 ","16.90 ","1 ","1 ","5 ",2 +"Ford Pantera L ","15.8 ","8 ",,"351.0 ","264 ","4.22 ","3.170 ","14.50 ","0 ","1 ","5 ",4 +"Ferrari Dino ","19.7 ","6 ",,"145.0 ","175 ","3.62 ","2.770 ","15.50 ","0 ","1 ","5 ",6 +"Maserati Bora ","15.0 ","8 ",,"301.0 ","335 ","3.54 ","3.570 ","14.60 ","0 ","1 ","5 ",8 +"Volvo 142E ","21.4 ","4 ",,"121.0 ","109 ","4.11 ","2.780 ","18.60 ","1 ","1 ","4 ",2 ,,,1,,,,,,,,, diff --git a/Tabula.Tests/Resources/csv/indictb1h_14.csv b/Tabula.Tests/Resources/csv/indictb1h_14.csv index 200a86c..9469aeb 100644 --- a/Tabula.Tests/Resources/csv/indictb1h_14.csv +++ b/Tabula.Tests/Resources/csv/indictb1h_14.csv @@ -1,36 +1,36 @@ -2014,2013,2012,2011,2010,2009,,, -,,,,,,,,תוצר מקומי גולמי -2.6,3.2,3.0,4.2,5.8,1.9,,,סך הכל -0.7,1.3,1.1,2.3,3.8,0.1,,,סך הכל - לנפש -2.5,3.4,2.9,4.5,6.8,1.5,,,הסקטור העסקי -0.3,3.2,2.9,0.0,12.0,-4.3,,,תעשייה )ללא יהלומים( --1.7,1.3,6.8,11.6,11.2,3.4,,,בינוי -2.2,2.4,2.9,5.8,7.9,-2.5,,,שימושים במקורות -,,,,,,,,צריכה +"2014 ","2013 ","2012 ","2011 ","2010 ",2009,,, +,,,,,,,," תוצר מקומי גולמי" +"2.6 ","3.2 ","3.0 ","4.2 ","5.8 ","1.9 ",,,סך הכל +"0.7 ","1.3 ","1.1 ","2.3 ","3.8 ","0.1 ",,,סך הכל - לנפש +"2.5 ","3.4 ","2.9 ","4.5 ","6.8 ","1.5 ",,,הסקטור העסקי +"0.3 ","3.2 ","2.9 ","0.0 ","12.0 ","-4.3 ",,,תעשייה )ללא יהלומים( +"-1.7 ","1.3 ","6.8 ","11.6 ","11.2 ","3.4 ",,,בינוי +"2.2 ","2.4 ","2.9 ","5.8 ","7.9 ","-2.5 ",,," שימושים במקורות" +,,,,,,,," צריכה" ,,,,,,,:ההוצאה לצריכה ציבורית, -3.8,3.5,3.6,2.7,2.8,2.9,,,סך הכל -2.5,3.1,3.8,3.6,2.9,4.8,,,אזרחית -7.8,4.7,3.0,0.1,2.8,-1.7,,,ביטחונית -8.6,2.3,1.4,1.9,0.4,1.8,,הוצאה מקומית לביטחון, -3.4,6.8,11.5,6.4,13.3,-20.6,,,יבוא ביטחוני +"3.8 ","3.5 ","3.6 ","2.7 ","2.8 ","2.9 ",,,סך הכל +"2.5 ","3.1 ","3.8 ","3.6 ","2.9 ","4.8 ",,,אזרחית +"7.8 ","4.7 ","3.0 ","0.1 ","2.8 ","-1.7 ",,,ביטחונית +"8.6 ","2.3 ","1.4 ","1.9 ","0.4 ","1.8 ",,הוצאה מקומית לביטחון, +"3.4 ","6.8 ","11.5 ","6.4 ","13.3 ","-20.6 ",,,יבוא ביטחוני ,,,,,,:ההוצאה לצריכה פרטית לנפש,, -1.8,1.4,1.2,1.0,2.7,0.4,,,סך הכל -1.4,1.4,1.5,0.8,2.0,1.2,,למעט מוצרים בני-קיימא, -7.0,1.9,-2.0,3.8,9.3,-6.3,,,מוצרים בני-קיימא -1.6,1.4,1.3,1.2,2.5,0.8,ההוצאה לצריכה אינדיבידואלית 1)( לנפש,, -3.4,2.0,1.5,-0.1,0.5,-0.4,ההוצאה לצריכה קולקטיבית לנפש,, -1.8,1.5,1.4,1.0,2.2,0.6,סך כל ההוצאה לצריכה סופית לנפש(2),, -,,,,,,,,ההשקעה בנכסים קבועים --2.7,1.1,3.2,14.5,10.2,-2.6,,,סך הכל --1.2,1.2,8.6,12.1,13.0,8.0,,,בתי מגורים:סך הכל --2.4,0.0,8.5,11.3,13.7,8.6,בנייה פרטית למגורים,, -14.8,19.1,9.4,25.6,2.5,0.0,בנייה ציבורית למגורים,, --3.4,1.1,0.9,15.6,9.1,-6.3,,,ענפי המשק : סך הכל --8.1,12.1,-1.7,7.7,5.7,1.0,בניינים שלא למגורים,, --8.7,4.0,13.6,13.9,9.5,-5.1,עבודות בנייה אחרות,, -3.2,-12.1,-3.1,41.8,5.3,-20.0,,מכונות וציוד, --2.4,16.3,-20.2,-2.0,27.6,-6.8,כלי תחבורה יבשתיים,, -0.6,1.5,0.9,6.5,15.1,-11.9,,,יצוא סחורות ושירותים -,,,,,,,,יבוא סחורות ושירותים -0.9,-0.1,2.5,10.7,15.1,-13.8,,,סך הכל -0.9,-0.3,2.2,10.8,15.1,-13.6,,,ללא יבוא ביטחוני \ No newline at end of file +"1.8 ","1.4 ","1.2 ","1.0 ","2.7 ","0.4 ",,,סך הכל +"1.4 ","1.4 ","1.5 ","0.8 ","2.0 ","1.2 ",,למעט מוצרים בני-קיימא, +"7.0 ","1.9 ","-2.0 ","3.8 ","9.3 ","-6.3 ",,,מוצרים בני-קיימא +"1.6 ","1.4 ","1.3 ","1.2 ","2.5 ","0.8 ",ההוצאה לצריכה אינדיבידואלית 1)( לנפש,, +"3.4 ","2.0 ","1.5 ","-0.1 ","0.5 ","-0.4 ",ההוצאה לצריכה קולקטיבית לנפש,, +"1.8 ","1.5 ","1.4 ","1.0 ","2.2 ","0.6 ",סך כל ההוצאה לצריכה סופית לנפש(2),, +,,,,,,,," ההשקעה בנכסים קבועים " +"-2.7 ","1.1 ","3.2 ","14.5 ","10.2 ","-2.6 ",,,סך הכל +"-1.2 ","1.2 ","8.6 ","12.1 ","13.0 ","8.0 ",,,בתי מגורים:סך הכל +"-2.4 ","0.0 ","8.5 ","11.3 ","13.7 ","8.6 ",בנייה פרטית למגורים,, +"14.8 ","19.1 ","9.4 ","25.6 ","2.5 ","0.0 ",בנייה ציבורית למגורים,, +"-3.4 ","1.1 ","0.9 ","15.6 ","9.1 ","-6.3 ",,,ענפי המשק : סך הכל +"-8.1 ","12.1 ","-1.7 ","7.7 ","5.7 ","1.0 ","בניינים שלא למגורים ",, +"-8.7 ","4.0 ","13.6 ","13.9 ","9.5 ","-5.1 ",עבודות בנייה אחרות,, +"3.2 ","-12.1 ","-3.1 ","41.8 ","5.3 ","-20.0 ",,מכונות וציוד, +"-2.4 ","16.3 ","-20.2 ","-2.0 ","27.6 ","-6.8 ",כלי תחבורה יבשתיים,, +"0.6 ","1.5 ","0.9 ","6.5 ","15.1 ","-11.9 ",,," יצוא סחורות ושירותים" +,,,,,,,," יבוא סחורות ושירותים" +"0.9 ","-0.1 ","2.5 ","10.7 ","15.1 ","-13.8 ",,,סך הכל +"0.9 ","-0.3 ","2.2 ","10.8 ","15.1 ","-13.6 ",,,"ללא יבוא ביטחוני " \ No newline at end of file diff --git a/Tabula.Tests/Resources/csv/spanning_cells.csv b/Tabula.Tests/Resources/csv/spanning_cells.csv index feec024..da91853 100644 --- a/Tabula.Tests/Resources/csv/spanning_cells.csv +++ b/Tabula.Tests/Resources/csv/spanning_cells.csv @@ -1,25 +1,25 @@ -Improved operation scenario,,,,, -Volume servers in:,2007,2008,2009,2010,2011 -Server closets,"1,505","1,580","1,643","1,673","1,689" -Server rooms,"1,512","1,586","1,646","1,677","1,693" -Localized data centers,"1,512","1,586","1,646","1,677","1,693" -Mid-tier data centers,"1,512","1,586","1,646","1,677","1,693" -Enterprise-class data centers,"1,512","1,586","1,646","1,677","1,693" -Best practice scenario,,,,, -Volume servers in:,2007,2008,2009,2010,2011 -Server closets,"1,456","1,439","1,386","1,296","1,326" -Server rooms,"1,465","1,472","1,427","1,334","1,371" -Localized data centers,"1,465","1,471","1,426","1,334","1,371" -Mid-tier data centers,"1,465","1,471","1,426","1,334","1,371" -Enterprise-class data centers,"1,465","1,471","1,426","1,334","1,371" -State-of-the-art scenario,,,,, -Volume servers in:,2007,2008,2009,2010,2011 -Server closets,"1,485","1,471","1,424","1,315","1,349" -Server rooms,"1,495","1,573","1,586","1,424","1,485" -Localized data centers,"1,495","1,572","1,585","1,424","1,485" -Mid-tier data centers,"1,495","1,572","1,585","1,424","1,485" -Enterprise-class data centers,"1,495","1,572","1,585","1,424","1,485" -All alternative scenarios,,,,, -Server class,2007,2008,2009,2010,2011 -Mid-range,"4,921","5,467","6,152","6,649","7,185" -High-end,"76,295","81,624","86,849","92,662","98,864" \ No newline at end of file +"Improved operation scenario ",,,,, +"Volume servers in: ","2007 ","2008 ","2009 ","2010 ","2011 " +"Server closets ","1,505 ","1,580 ","1,643 ","1,673 ","1,689 " +"Server rooms ","1,512 ","1,586 ","1,646 ","1,677 ","1,693 " +"Localized data centers ","1,512 ","1,586 ","1,646 ","1,677 ","1,693 " +"Mid-tier data centers ","1,512 ","1,586 ","1,646 ","1,677 ","1,693 " +"Enterprise-class data centers ","1,512 ","1,586 ","1,646 ","1,677 ","1,693 " +"Best practice scenario ",,,,, +"Volume servers in: ","2007 ","2008 ","2009 ","2010 ","2011 " +"Server closets ","1,456 ","1,439 ","1,386 ","1,296 ","1,326 " +"Server rooms ","1,465 ","1,472 ","1,427 ","1,334 ","1,371 " +"Localized data centers ","1,465 ","1,471 ","1,426 ","1,334 ","1,371 " +"Mid-tier data centers ","1,465 ","1,471 ","1,426 ","1,334 ","1,371 " +"Enterprise-class data centers ","1,465 ","1,471 ","1,426 ","1,334 ","1,371 " +"State-of-the-art scenario ",,,,, +"Volume servers in: ","2007 ","2008 ","2009 ","2010 ","2011 " +"Server closets ","1,485 ","1,471 ","1,424 ","1,315 ","1,349 " +"Server rooms ","1,495 ","1,573 ","1,586 ","1,424 ","1,485 " +"Localized data centers ","1,495 ","1,572 ","1,585 ","1,424 ","1,485 " +"Mid-tier data centers ","1,495 ","1,572 ","1,585 ","1,424 ","1,485 " +"Enterprise-class data centers ","1,495 ","1,572 ","1,585 ","1,424 ","1,485 " +"All alternative scenarios ",,,,, +"Server class ","2007 ","2008 ","2009 ","2010 ","2011 " +"Mid-range ","4,921 ","5,467 ","6,152 ","6,649 ","7,185 " +"High-end ","76,295 ","81,624 ","86,849 ","92,662 ","98,864 " \ No newline at end of file diff --git a/Tabula.Tests/Resources/csv/us-020.csv b/Tabula.Tests/Resources/csv/us-020.csv index 6c5999c..07a6866 100644 --- a/Tabula.Tests/Resources/csv/us-020.csv +++ b/Tabula.Tests/Resources/csv/us-020.csv @@ -1,50 +1,50 @@ -,,,,,,Combined -,Percentage of,,,,,weighted school -,international,National desired,Weighted school,Weighted school,,participation -,desired population,population overall,participation rate,participation rate,Weighted student,and student +,,,,,,"Combined " +,"Percentage of ",,,,,"weighted school " +,"international ","National desired ","Weighted school ","Weighted school ",,"participation " +,"desired population ","population overall ","participation rate ","participation rate ","Weighted student ","and student " Education system,coverage,exclusion rate,before substitution,after substitution,response rate,response rate -Australia,100,4,96,98,95,93 -Austria,100,5,100,100,98,98 -Azerbaijan,100,7,84,100,100,100 -Belgium (French)-BEL,100,6,77,85,97,82 -Bulgaria,100,3,97,100,95,95 -Canada,100,10,98,98,96,94 -Chinese Taipei-CHN,100,1,100,100,99,99 -Colombia,100,2,89,99,97,95 -Croatia,100,8,99,100,95,95 -Czech Republic,100,5,90,99,94,94 -Denmark,100,7,87,98,97,95 -England-GBR,100,2,73,87,94,82 -Finland,100,3,97,99,96,95 -France,100,5,98,100,98,97 -Georgia,92,5,97,98,98,96 -Germany,100,2,96,99,96,95 -Hong Kong-CHN,100,12,86,88,94,83 -Hungary,100,4,98,99,97,96 -Indonesia,100,3,100,100,97,97 -"Iran, Islamic Rep. Of",100,5,100,100,99,99 -Ireland,100,3,98,100,95,95 -Israel,100,25,98,99,94,93 -Italy,100,4,81,98,96,95 -Lithuania,93,6,94,100,94,94 -Malta,100,4,100,100,95,95 -Morocco,100,2,99,99,96,95 -Netherlands,100,4,68,92,97,89 -New Zealand,100,3,93,99,94,93 -Northern Ireland-GBR,100,4,62,85,93,79 -Norway,100,4,57,83,86,71 -Oman,100,2,98,98,98,96 -Poland,100,4,100,100,96,96 -Portugal,100,3,87,99,95,93 -Qatar,100,6,100,100,99,99 -Romania,100,4,99,100,97,97 -Russian Federation,100,5,100,100,98,98 -Saudi Arabia,100,2,95,100,98,98 -Singapore,100,6,100,100,96,96 -Slovak Republic,100,5,95,99,97,96 -Slovenia,100,3,96,97,97,95 -Spain,100,5,96,99,97,96 -Sweden,100,4,97,99,92,91 -Trinidad and Tobago,100,1,99,99,96,95 -United Arab Emirates,100,3,100,100,97,97 -United States,100,7,80,85,96,81 \ No newline at end of file +"Australia ","100 ","4 ","96 ","98 ","95 ",93 +"Austria ","100 ","5 ","100 ","100 ","98 ",98 +"Azerbaijan ","100 ","7 ","84 ","100 ","100 ",100 +"Belgium (French)-BEL ","100 ","6 ","77 ","85 ","97 ",82 +"Bulgaria ","100 ","3 ","97 ","100 ","95 ",95 +"Canada ","100 ","10 ","98 ","98 ","96 ",94 +"Chinese Taipei-CHN ","100 ","1 ","100 ","100 ","99 ",99 +"Colombia ","100 ","2 ","89 ","99 ","97 ",95 +"Croatia ","100 ","8 ","99 ","100 ","95 ",95 +"Czech Republic ","100 ","5 ","90 ","99 ","94 ",94 +"Denmark ","100 ","7 ","87 ","98 ","97 ",95 +"England-GBR ","100 ","2 ","73 ","87 ","94 ",82 +"Finland ","100 ","3 ","97 ","99 ","96 ",95 +"France ","100 ","5 ","98 ","100 ","98 ",97 +"Georgia ","92 ","5 ","97 ","98 ","98 ",96 +"Germany ","100 ","2 ","96 ","99 ","96 ",95 +"Hong Kong-CHN ","100 ","12 ","86 ","88 ","94 ",83 +"Hungary ","100 ","4 ","98 ","99 ","97 ",96 +"Indonesia ","100 ","3 ","100 ","100 ","97 ",97 +"Iran, Islamic Rep. Of ","100 ","5 ","100 ","100 ","99 ",99 +"Ireland ","100 ","3 ","98 ","100 ","95 ",95 +"Israel ","100 ","25 ","98 ","99 ","94 ",93 +"Italy ","100 ","4 ","81 ","98 ","96 ",95 +"Lithuania ","93 ","6 ","94 ","100 ","94 ",94 +"Malta ","100 ","4 ","100 ","100 ","95 ",95 +"Morocco ","100 ","2 ","99 ","99 ","96 ",95 +"Netherlands ","100 ","4 ","68 ","92 ","97 ",89 +"New Zealand ","100 ","3 ","93 ","99 ","94 ",93 +"Northern Ireland-GBR ","100 ","4 ","62 ","85 ","93 ",79 +"Norway ","100 ","4 ","57 ","83 ","86 ",71 +"Oman ","100 ","2 ","98 ","98 ","98 ",96 +"Poland ","100 ","4 ","100 ","100 ","96 ",96 +"Portugal ","100 ","3 ","87 ","99 ","95 ",93 +"Qatar ","100 ","6 ","100 ","100 ","99 ",99 +"Romania ","100 ","4 ","99 ","100 ","97 ",97 +"Russian Federation ","100 ","5 ","100 ","100 ","98 ",98 +"Saudi Arabia ","100 ","2 ","95 ","100 ","98 ",98 +"Singapore ","100 ","6 ","100 ","100 ","96 ",96 +"Slovak Republic ","100 ","5 ","95 ","99 ","97 ",96 +"Slovenia ","100 ","3 ","96 ","97 ","97 ",95 +"Spain ","100 ","5 ","96 ","99 ","97 ",96 +"Sweden ","100 ","4 ","97 ","99 ","92 ",91 +"Trinidad and Tobago ","100 ","1 ","99 ","99 ","96 ",95 +"United Arab Emirates ","100 ","3 ","100 ","100 ","97 ",97 +"United States ","100 ","7 ","80 ","85 ","96 ",81 \ No newline at end of file diff --git a/Tabula.Tests/Resources/json/argentina_diputados_voting_record_new.json b/Tabula.Tests/Resources/json/argentina_diputados_voting_record_new.json index f3159e0..af119ae 100644 --- a/Tabula.Tests/Resources/json/argentina_diputados_voting_record_new.json +++ b/Tabula.Tests/Resources/json/argentina_diputados_voting_record_new.json @@ -1 +1 @@ -{"extraction_method":"stream","top":567.0,"left":12.75,"width":548.25,"height":512.0,"right":561.0,"bottom":55.0,"data":[[{"top":562.31,"left":28.56,"width":175.175,"height":6.6299999999999955,"text":"ABDALA de MATARAZZO, Norma Amanda"},{"top":562.31,"left":213.72,"width":108.215,"height":6.6299999999999955,"text":"Frente Cívico por Santiago"},{"top":561.59,"left":397.56,"width":78.44,"height":6.6299999999999955,"text":"Santiago del Estero"},{"top":562.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":545.87,"left":28.56,"width":141.675,"height":6.6299999999999955,"text":"ALBRIEU, Oscar Edmundo Nicolas"},{"top":545.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ"},{"top":544.86,"left":397.56,"width":40.410000000000025,"height":6.460000000000036,"text":"Rio Negro"},{"top":545.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":529.31,"left":28.56,"width":83.715,"height":6.6299999999999955,"text":"ALONSO, María Luz"},{"top":529.14,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ"},{"top":528.42,"left":397.56,"width":41.0,"height":6.459999999999923,"text":"La Pampa"},{"top":529.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":512.87,"left":28.56,"width":84.215,"height":6.6299999999999955,"text":"ARENA, Celia Isabel"},{"top":512.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ"},{"top":512.03,"left":397.56,"width":36.44,"height":6.6299999999999955,"text":"Santa Fe"},{"top":512.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":496.31,"left":28.56,"width":110.255,"height":6.6299999999999955,"text":"ARREGUI, Andrés Roberto"},{"top":496.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":495.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":496.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":479.87,"left":28.56,"width":115.655,"height":6.6299999999999955,"text":"AVOSCAN, Herman Horacio"},{"top":479.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":478.86,"left":397.56,"width":40.410000000000025,"height":6.460000000000036,"text":"Rio Negro"},{"top":479.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":463.31,"left":28.56,"width":95.655,"height":6.6299999999999955,"text":"BALCEDO, María Ester"},{"top":463.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":462.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":463.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":446.87,"left":28.56,"width":127.655,"height":6.6299999999999955,"text":"BARRANDEGUY, Raúl Enrique"},{"top":446.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":446.0,"left":397.56,"width":42.420000000000016,"height":6.600000000000023,"text":"Entre Ríos"},{"top":446.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":430.31,"left":28.56,"width":106.655,"height":6.6299999999999955,"text":"BASTERRA, Luis Eugenio"},{"top":430.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":429.42,"left":397.56,"width":35.48000000000002,"height":6.460000000000036,"text":"Formosa"},{"top":430.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":413.87,"left":28.56,"width":92.175,"height":6.6299999999999955,"text":"BEDANO, Nora Esther"},{"top":413.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":413.03,"left":397.56,"width":34.410000000000025,"height":6.6299999999999955,"text":"Córdoba"},{"top":413.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":397.28,"left":28.56,"width":100.655,"height":6.599999999999966,"text":"BERNAL, María Eugenia"},{"top":397.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":396.42,"left":397.56,"width":20.939999999999998,"height":6.460000000000036,"text":"Jujuy"},{"top":397.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":380.87,"left":28.56,"width":112.17500000000001,"height":6.6299999999999955,"text":"BERTONE, Rosana Andrea"},{"top":380.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":379.88,"left":397.56,"width":65.95999999999998,"height":6.480000000000018,"text":"Tierra del Fuego"},{"top":380.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":364.31,"left":28.56,"width":114.695,"height":6.6299999999999955,"text":"BIANCHI, María del Carmen"},{"top":364.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":363.59,"left":397.56,"width":73.42000000000002,"height":6.6299999999999955,"text":"Cdad. Aut. Bs. As."},{"top":364.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":347.87,"left":28.56,"width":115.155,"height":6.6299999999999955,"text":"BIDEGAIN, Gloria Mercedes"},{"top":347.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":346.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":347.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":331.14,"left":28.56,"width":66.215,"height":6.4599999999999795,"text":"BRAWER, Mara"},{"top":331.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":330.59,"left":397.56,"width":73.42000000000002,"height":6.6299999999999955,"text":"Cdad. Aut. Bs. As."},{"top":331.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":314.87,"left":28.56,"width":90.69500000000001,"height":6.6299999999999955,"text":"BRILLO, José Ricardo"},{"top":314.7,"left":213.72,"width":121.77499999999995,"height":6.4599999999999795,"text":"Movimiento Popular Neuquino"},{"top":314.0,"left":397.56,"width":36.44999999999999,"height":6.600000000000023,"text":"Neuquén"},{"top":314.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":298.31,"left":28.56,"width":120.695,"height":6.6299999999999955,"text":"BROMBERG, Isaac Benjamín"},{"top":298.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":297.56,"left":397.56,"width":37.410000000000025,"height":6.600000000000023,"text":"Tucumán"},{"top":298.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":281.84,"left":28.56,"width":89.735,"height":6.599999999999966,"text":"BRUE, Daniel Agustín"},{"top":281.87,"left":213.72,"width":108.215,"height":6.6299999999999955,"text":"Frente Cívico por Santiago"},{"top":281.03,"left":397.56,"width":78.44,"height":6.6299999999999955,"text":"Santiago del Estero"},{"top":281.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":265.31,"left":28.56,"width":72.19500000000001,"height":6.6299999999999955,"text":"CALCAGNO, Eric"},{"top":265.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":264.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":265.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":248.87,"left":28.56,"width":114.695,"height":6.6299999999999955,"text":"CARLOTTO, Remo Gerardo"},{"top":248.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":247.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":248.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":232.31,"left":28.56,"width":122.13499999999999,"height":6.6299999999999955,"text":"CARMONA, Guillermo Ramón"},{"top":232.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":231.44,"left":397.56,"width":36.910000000000025,"height":6.47999999999999,"text":"Mendoza"},{"top":232.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":215.87,"left":28.56,"width":124.695,"height":6.6299999999999955,"text":"CATALAN MAGNI, Julio César"},{"top":215.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":214.88,"left":397.56,"width":65.95999999999998,"height":6.47999999999999,"text":"Tierra del Fuego"},{"top":215.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":199.31,"left":28.56,"width":88.655,"height":6.6299999999999955,"text":"CEJAS, Jorge Alberto"},{"top":199.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":198.42,"left":397.56,"width":40.410000000000025,"height":6.4599999999999795,"text":"Rio Negro"},{"top":199.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":182.87,"left":28.56,"width":89.735,"height":6.6299999999999955,"text":"CHIENO, María Elena"},{"top":182.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":182.03,"left":397.56,"width":41.45999999999998,"height":6.6299999999999955,"text":"Corrientes"},{"top":182.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":166.31,"left":28.56,"width":96.215,"height":6.6299999999999955,"text":"CIAMPINI, José Alberto"},{"top":166.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":165.56,"left":397.56,"width":36.44999999999999,"height":6.599999999999994,"text":"Neuquén"},{"top":166.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":149.87,"left":28.56,"width":131.735,"height":6.6299999999999955,"text":"CIGOGNA, Luis Francisco Jorge"},{"top":149.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":148.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":149.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":133.31,"left":28.56,"width":62.114999999999995,"height":6.6299999999999955,"text":"CLERI, Marcos"},{"top":133.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ"},{"top":132.59,"left":397.56,"width":36.44,"height":6.63000000000001,"text":"Santa Fe"},{"top":133.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":116.87,"left":28.56,"width":101.73500000000001,"height":6.63000000000001,"text":"COMELLI, Alicia Marcela"},{"top":116.7,"left":213.72,"width":121.77499999999995,"height":6.460000000000008,"text":"Movimiento Popular Neuquino"},{"top":116.0,"left":397.56,"width":36.44999999999999,"height":6.599999999999994,"text":"Neuquén"},{"top":116.87,"left":494.04,"width":54.99999999999994,"height":6.63000000000001,"text":"AFIRMATIVO"}],[{"top":100.31,"left":28.56,"width":88.155,"height":6.6299999999999955,"text":"CONTI, Diana Beatriz"},{"top":100.14,"left":213.72,"width":108.19499999999996,"height":6.459999999999994,"text":"Frente para la Victoria - PJ"},{"top":99.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":100.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":83.87,"left":28.56,"width":98.715,"height":6.63000000000001,"text":"CORDOBA, Stella Maris"},{"top":83.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000008,"text":"Frente para la Victoria - PJ"},{"top":83.0,"left":397.56,"width":37.410000000000025,"height":6.599999999999994,"text":"Tucumán"},{"top":83.87,"left":494.04,"width":54.99999999999994,"height":6.63000000000001,"text":"AFIRMATIVO"}],[{"top":67.31,"left":28.56,"width":105.215,"height":6.630000000000003,"text":"CURRILEN, Oscar Rubén"},{"top":67.14,"left":213.72,"width":108.19499999999996,"height":6.460000000000001,"text":"Frente para la Victoria - PJ"},{"top":66.59,"left":397.56,"width":29.029999999999973,"height":6.630000000000003,"text":"Chubut"},{"top":67.31,"left":494.04,"width":54.99999999999994,"height":6.630000000000003,"text":"AFIRMATIVO"}]]} \ No newline at end of file +{"extraction_method":"stream","top":567.0,"left":12.75,"width":548.25,"height":512.0,"right":561.0,"bottom":55.0,"data":[[{"top":562.31,"left":28.56,"width":175.175,"height":6.6299999999999955,"text":"ABDALA de MATARAZZO, Norma Amanda "},{"top":562.31,"left":213.72,"width":108.215,"height":6.6299999999999955,"text":"Frente Cívico por Santiago "},{"top":561.59,"left":397.56,"width":78.44,"height":6.6299999999999955,"text":"Santiago del Estero"},{"top":562.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":545.87,"left":28.56,"width":141.675,"height":6.6299999999999955,"text":"ALBRIEU, Oscar Edmundo Nicolas "},{"top":545.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ "},{"top":544.86,"left":397.56,"width":40.410000000000025,"height":6.460000000000036,"text":"Rio Negro"},{"top":545.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":529.31,"left":28.56,"width":83.715,"height":6.6299999999999955,"text":"ALONSO, María Luz "},{"top":529.14,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ "},{"top":528.42,"left":397.56,"width":41.0,"height":6.459999999999923,"text":"La Pampa"},{"top":529.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":512.87,"left":28.56,"width":84.215,"height":6.6299999999999955,"text":"ARENA, Celia Isabel "},{"top":512.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000036,"text":"Frente para la Victoria - PJ "},{"top":512.03,"left":397.56,"width":36.44,"height":6.6299999999999955,"text":"Santa Fe"},{"top":512.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":496.31,"left":28.56,"width":110.255,"height":6.6299999999999955,"text":"ARREGUI, Andrés Roberto "},{"top":496.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":495.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":496.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":479.87,"left":28.56,"width":115.655,"height":6.6299999999999955,"text":"AVOSCAN, Herman Horacio "},{"top":479.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":478.86,"left":397.56,"width":40.410000000000025,"height":6.460000000000036,"text":"Rio Negro"},{"top":479.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":463.31,"left":28.56,"width":95.655,"height":6.6299999999999955,"text":"BALCEDO, María Ester "},{"top":463.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":462.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":463.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":446.87,"left":28.56,"width":127.655,"height":6.6299999999999955,"text":"BARRANDEGUY, Raúl Enrique "},{"top":446.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":446.0,"left":397.56,"width":42.420000000000016,"height":6.600000000000023,"text":"Entre Ríos"},{"top":446.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":430.31,"left":28.56,"width":106.655,"height":6.6299999999999955,"text":"BASTERRA, Luis Eugenio "},{"top":430.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":429.42,"left":397.56,"width":35.48000000000002,"height":6.460000000000036,"text":"Formosa"},{"top":430.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":413.87,"left":28.56,"width":92.175,"height":6.6299999999999955,"text":"BEDANO, Nora Esther "},{"top":413.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":413.03,"left":397.56,"width":34.410000000000025,"height":6.6299999999999955,"text":"Córdoba"},{"top":413.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":397.28,"left":28.56,"width":100.655,"height":6.599999999999966,"text":"BERNAL, María Eugenia "},{"top":397.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":396.42,"left":397.56,"width":20.939999999999998,"height":6.460000000000036,"text":"Jujuy"},{"top":397.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":380.87,"left":28.56,"width":112.17500000000001,"height":6.6299999999999955,"text":"BERTONE, Rosana Andrea "},{"top":380.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":379.88,"left":397.56,"width":65.95999999999998,"height":6.480000000000018,"text":"Tierra del Fuego"},{"top":380.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":364.31,"left":28.56,"width":114.695,"height":6.6299999999999955,"text":"BIANCHI, María del Carmen "},{"top":364.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":363.59,"left":397.56,"width":73.42000000000002,"height":6.6299999999999955,"text":"Cdad. Aut. Bs. As."},{"top":364.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":347.87,"left":28.56,"width":115.155,"height":6.6299999999999955,"text":"BIDEGAIN, Gloria Mercedes "},{"top":347.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":346.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":347.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":331.14,"left":28.56,"width":66.215,"height":6.4599999999999795,"text":"BRAWER, Mara "},{"top":331.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":330.59,"left":397.56,"width":73.42000000000002,"height":6.6299999999999955,"text":"Cdad. Aut. Bs. As."},{"top":331.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":314.87,"left":28.56,"width":90.69500000000001,"height":6.6299999999999955,"text":"BRILLO, José Ricardo "},{"top":314.7,"left":213.72,"width":121.77499999999995,"height":6.4599999999999795,"text":"Movimiento Popular Neuquino "},{"top":314.0,"left":397.56,"width":36.44999999999999,"height":6.600000000000023,"text":"Neuquén"},{"top":314.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":298.31,"left":28.56,"width":120.695,"height":6.6299999999999955,"text":"BROMBERG, Isaac Benjamín "},{"top":298.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":297.56,"left":397.56,"width":37.410000000000025,"height":6.600000000000023,"text":"Tucumán"},{"top":298.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":281.84,"left":28.56,"width":89.735,"height":6.599999999999966,"text":"BRUE, Daniel Agustín "},{"top":281.87,"left":213.72,"width":108.215,"height":6.6299999999999955,"text":"Frente Cívico por Santiago "},{"top":281.03,"left":397.56,"width":78.44,"height":6.6299999999999955,"text":"Santiago del Estero"},{"top":281.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":265.31,"left":28.56,"width":72.19500000000001,"height":6.6299999999999955,"text":"CALCAGNO, Eric "},{"top":265.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":264.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000036,"text":"Buenos Aires"},{"top":265.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":248.87,"left":28.56,"width":114.695,"height":6.6299999999999955,"text":"CARLOTTO, Remo Gerardo "},{"top":248.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":247.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":248.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":232.31,"left":28.56,"width":122.13499999999999,"height":6.6299999999999955,"text":"CARMONA, Guillermo Ramón "},{"top":232.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":231.44,"left":397.56,"width":36.910000000000025,"height":6.47999999999999,"text":"Mendoza"},{"top":232.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":215.87,"left":28.56,"width":124.695,"height":6.6299999999999955,"text":"CATALAN MAGNI, Julio César "},{"top":215.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":214.88,"left":397.56,"width":65.95999999999998,"height":6.47999999999999,"text":"Tierra del Fuego"},{"top":215.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":199.31,"left":28.56,"width":88.655,"height":6.6299999999999955,"text":"CEJAS, Jorge Alberto "},{"top":199.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":198.42,"left":397.56,"width":40.410000000000025,"height":6.4599999999999795,"text":"Rio Negro"},{"top":199.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":182.87,"left":28.56,"width":89.735,"height":6.6299999999999955,"text":"CHIENO, María Elena "},{"top":182.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":182.03,"left":397.56,"width":41.45999999999998,"height":6.6299999999999955,"text":"Corrientes"},{"top":182.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":166.31,"left":28.56,"width":96.215,"height":6.6299999999999955,"text":"CIAMPINI, José Alberto "},{"top":166.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":165.56,"left":397.56,"width":36.44999999999999,"height":6.599999999999994,"text":"Neuquén"},{"top":166.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":149.87,"left":28.56,"width":131.735,"height":6.6299999999999955,"text":"CIGOGNA, Luis Francisco Jorge "},{"top":149.7,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":148.86,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":149.87,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":133.31,"left":28.56,"width":62.114999999999995,"height":6.6299999999999955,"text":"CLERI, Marcos "},{"top":133.14,"left":213.72,"width":108.19499999999996,"height":6.4599999999999795,"text":"Frente para la Victoria - PJ "},{"top":132.59,"left":397.56,"width":36.44,"height":6.63000000000001,"text":"Santa Fe"},{"top":133.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":116.87,"left":28.56,"width":101.73500000000001,"height":6.63000000000001,"text":"COMELLI, Alicia Marcela "},{"top":116.7,"left":213.72,"width":121.77499999999995,"height":6.460000000000008,"text":"Movimiento Popular Neuquino "},{"top":116.0,"left":397.56,"width":36.44999999999999,"height":6.599999999999994,"text":"Neuquén"},{"top":116.87,"left":494.04,"width":54.99999999999994,"height":6.63000000000001,"text":"AFIRMATIVO"}],[{"top":100.31,"left":28.56,"width":88.155,"height":6.6299999999999955,"text":"CONTI, Diana Beatriz "},{"top":100.14,"left":213.72,"width":108.19499999999996,"height":6.459999999999994,"text":"Frente para la Victoria - PJ "},{"top":99.42,"left":397.56,"width":53.45999999999998,"height":6.460000000000008,"text":"Buenos Aires"},{"top":100.31,"left":494.04,"width":54.99999999999994,"height":6.6299999999999955,"text":"AFIRMATIVO"}],[{"top":83.87,"left":28.56,"width":98.715,"height":6.63000000000001,"text":"CORDOBA, Stella Maris "},{"top":83.7,"left":213.72,"width":108.19499999999996,"height":6.460000000000008,"text":"Frente para la Victoria - PJ "},{"top":83.0,"left":397.56,"width":37.410000000000025,"height":6.599999999999994,"text":"Tucumán"},{"top":83.87,"left":494.04,"width":54.99999999999994,"height":6.63000000000001,"text":"AFIRMATIVO"}],[{"top":67.31,"left":28.56,"width":105.215,"height":6.630000000000003,"text":"CURRILEN, Oscar Rubén "},{"top":67.14,"left":213.72,"width":108.19499999999996,"height":6.460000000000001,"text":"Frente para la Victoria - PJ "},{"top":66.59,"left":397.56,"width":29.029999999999973,"height":6.630000000000003,"text":"Chubut"},{"top":67.31,"left":494.04,"width":54.99999999999994,"height":6.630000000000003,"text":"AFIRMATIVO"}]]} \ No newline at end of file diff --git a/Tabula.Tests/TestBasicExtractor.cs b/Tabula.Tests/TestBasicExtractor.cs index 9463dd6..ab757a4 100644 --- a/Tabula.Tests/TestBasicExtractor.cs +++ b/Tabula.Tests/TestBasicExtractor.cs @@ -153,7 +153,7 @@ public void TestColumnRecognition() for (int j = 0; j < expected.Length; j++) { var e = expected[j]; - var r = result[j]; + var r = result[j].Trim(); Assert.Equal(e, r); } } @@ -175,7 +175,7 @@ public void TestVerticalRulingsPreventMergingOfColumns() var sixthRow = table.Rows[5]; Assert.Equal("VALSANGIACOMO BLANC", sixthRow[0].GetText()); - Assert.Equal("OFERNANDO JORGE", sixthRow[1].GetText()); + Assert.Equal("OFERNANDO JORGE ", sixthRow[1].GetText()); } [Fact] @@ -198,7 +198,7 @@ public void TestExtractColumnsCorrectly() for (int j = 0; j < expecteds.Length; j++) { var e = expecteds[j]; - var a = actuals[j]; + var a = actuals[j].Trim(); Assert.Equal(e, a); } } @@ -261,7 +261,7 @@ public void TestExtractColumnsCorrectly3() for (int j = 0; j < expecteds.Length; j++) { var e = expecteds[j]; - var a = actuals[j]; + var a = actuals[j].Trim(); Assert.Equal(e, a); } } @@ -279,7 +279,7 @@ public void TestCheckSqueezeDoesntBreak() var lastRow = rows[rows.Count - 1]; var lastRowLastCell = lastRow[lastRow.Count - 1].GetText(); - Assert.Equal("Violent crime . . . . . . . . . . . . . . . . . .", firstRowFirstCell); + Assert.Equal("Violent crime . . . . . . . . . . . . . . . . . . ", firstRowFirstCell); Assert.Equal("(X)", lastRowLastCell); } @@ -293,63 +293,63 @@ public void TestNaturalOrderOfRectangles() IReadOnlyList cells = table.Cells; foreach (var rectangularTextContainer in cells) { - Debug.Print(rectangularTextContainer.GetText()); + Debug.Print(rectangularTextContainer.GetText().Trim()); } // Now different form tabula-java, since PdfPig 0.1.5-alpha001 //Column headers - Assert.Equal("Project", cells[0].GetText()); - Assert.Equal("Agency", cells[1].GetText()); - Assert.Equal("Institution", cells[2].GetText()); + Assert.Equal("Project", cells[0].GetText().Trim()); + Assert.Equal("Agency", cells[1].GetText().Trim()); + Assert.Equal("Institution", cells[2].GetText().Trim()); //First row - Assert.Equal("Nanotechnology and its publics", cells[3].GetText()); - Assert.Equal("NSF", cells[4].GetText()); - Assert.Equal("Pennsylvania State University", cells[5].GetText()); + Assert.Equal("Nanotechnology and its publics", cells[3].GetText().Trim()); + Assert.Equal("NSF", cells[4].GetText().Trim()); + Assert.Equal("Pennsylvania State University", cells[5].GetText().Trim()); //Second row - Assert.Equal("Public information and deliberation in nanoscience and\rnanotechnology policy (SGER)", cells[6].GetText()); - Assert.Equal("Interagency", cells[7].GetText()); - Assert.Equal("North Carolina State\rUniversity", cells[8].GetText()); + Assert.Equal("Public information and deliberation in nanoscience and \rnanotechnology policy (SGER)", cells[6].GetText().Trim()); + Assert.Equal("Interagency", cells[7].GetText().Trim()); + Assert.Equal("North Carolina State \rUniversity", cells[8].GetText().Trim()); //Third row - Assert.Equal("Social and ethical research and education in agrifood\rnanotechnology (NIRT)", cells[9].GetText()); - Assert.Equal("NSF", cells[10].GetText()); - Assert.Equal("Michigan State University", cells[11].GetText()); + Assert.Equal("Social and ethical research and education in agrifood \rnanotechnology (NIRT)", cells[9].GetText().Trim()); + Assert.Equal("NSF", cells[10].GetText().Trim()); + Assert.Equal("Michigan State University", cells[11].GetText().Trim()); //Fourth row - Assert.Equal("From laboratory to society: developing an informed\rapproach to nanoscale science and engineering (NIRT)", cells[12].GetText()); - Assert.Equal("NSF", cells[13].GetText()); - Assert.Equal("University of South Carolina", cells[14].GetText()); + Assert.Equal("From laboratory to society: developing an informed \rapproach to nanoscale science and engineering (NIRT)", cells[12].GetText().Trim()); + Assert.Equal("NSF", cells[13].GetText().Trim()); + Assert.Equal("University of South Carolina", cells[14].GetText().Trim()); //Fifth row - Assert.Equal("Database and innovation timeline for nanotechnology", cells[15].GetText()); - Assert.Equal("NSF", cells[16].GetText()); - Assert.Equal("UCLA", cells[17].GetText()); + Assert.Equal("Database and innovation timeline for nanotechnology", cells[15].GetText().Trim()); + Assert.Equal("NSF", cells[16].GetText().Trim()); + Assert.Equal("UCLA", cells[17].GetText().Trim()); //Sixth row - Assert.Equal("Social and ethical dimensions of nanotechnology", cells[18].GetText()); - Assert.Equal("NSF", cells[19].GetText()); - Assert.Equal("University of Virginia", cells[20].GetText()); + Assert.Equal("Social and ethical dimensions of nanotechnology", cells[18].GetText().Trim()); + Assert.Equal("NSF", cells[19].GetText().Trim()); + Assert.Equal("University of Virginia", cells[20].GetText().Trim()); //Seventh row - Assert.Equal("Undergraduate exploration of nanoscience,\rapplications and societal implications (NUE)", cells[21].GetText()); - Assert.Equal("NSF", cells[22].GetText()); - Assert.Equal("Michigan Technological\rUniversity", cells[23].GetText()); + Assert.Equal("Undergraduate exploration of nanoscience, \rapplications and societal implications (NUE)", cells[21].GetText().Trim()); + Assert.Equal("NSF", cells[22].GetText().Trim()); + Assert.Equal("Michigan Technological \rUniversity", cells[23].GetText().Trim()); //Eighth row - Assert.Equal("Ethics and belief inside the development of\rnanotechnology (CAREER)", cells[24].GetText()); - Assert.Equal("NSF", cells[25].GetText()); - Assert.Equal("University of Virginia", cells[26].GetText()); + Assert.Equal("Ethics and belief inside the development of \rnanotechnology (CAREER)", cells[24].GetText().Trim()); + Assert.Equal("NSF", cells[25].GetText().Trim()); + Assert.Equal("University of Virginia", cells[26].GetText().Trim()); //Ninth row - Assert.Equal("All centers, NNIN and NCN have a societal", cells[27].GetText()); - Assert.Equal("NSF, DOE,", cells[28].GetText()); - Assert.Equal("All nanotechnology centers", cells[29].GetText()); - Assert.Equal("implications components", cells[30].GetText()); - Assert.Equal("DOD, and NIH", cells[31].GetText()); - Assert.Equal("and networks", cells[32].GetText()); + Assert.Equal("All centers, NNIN and NCN have a societal", cells[27].GetText().Trim()); + Assert.Equal("NSF, DOE,", cells[28].GetText().Trim()); + Assert.Equal("All nanotechnology centers", cells[29].GetText().Trim()); + Assert.Equal("implications components", cells[30].GetText().Trim()); + Assert.Equal("DOD, and NIH", cells[31].GetText().Trim()); + Assert.Equal("and networks", cells[32].GetText().Trim()); } [Fact] @@ -394,7 +394,6 @@ public void TestRealLifeRTL2() var reader = new StreamReader(stream); stream.Position = 0; var data = reader.ReadToEnd().Replace("\r\n", "\n").Trim(); // trim to remove last new line - Assert.Equal(expectedCsv, data); } } @@ -424,7 +423,6 @@ public void TestTableWithMultilineHeader() var reader = new StreamReader(stream); stream.Position = 0; var data = reader.ReadToEnd().Replace("\r\n", "\n").Trim(); // trim to remove last new line - Assert.Equal(expectedCsv, data); } } diff --git a/Tabula.Tests/TestSpreadsheetExtractor.cs b/Tabula.Tests/TestSpreadsheetExtractor.cs index d3e4a1d..f93d412 100644 --- a/Tabula.Tests/TestSpreadsheetExtractor.cs +++ b/Tabula.Tests/TestSpreadsheetExtractor.cs @@ -255,7 +255,7 @@ public void TestSpanningCells() Assert.True(Math.Abs(Math.Floor(cellExpected["left"].Value()) - Math.Floor(cellActual["left"].Value())) < precision); Assert.True(Math.Abs(Math.Floor(cellExpected["width"].Value()) - Math.Floor(cellActual["width"].Value())) < precision); Assert.True(Math.Abs(Math.Floor(cellExpected["height"].Value()) - Math.Floor(cellActual["height"].Value())) < precision); - Assert.Equal(cellExpected["text"].Value(), cellActual["text"].Value()); + Assert.Equal(cellExpected["text"].Value(), cellActual["text"].Value().Trim()); } } } @@ -292,7 +292,7 @@ public void TestNaturalOrderOfRectanglesDoesNotBreakContract() SpreadsheetExtractionAlgorithm se = new SpreadsheetExtractionAlgorithm(); IReadOnlyList tables = se.Extract(page); - string expected = "Project,Agency,Institution\r\nNanotechnology and its publics,NSF,Pennsylvania State University\r\n\"Public information and deliberation in nanoscience and\rnanotechnology policy (SGER)\",Interagency,\"North Carolina State\rUniversity\"\r\n\"Social and ethical research and education in agrifood\rnanotechnology (NIRT)\",NSF,Michigan State University\r\n\"From laboratory to society: developing an informed\rapproach to nanoscale science and engineering (NIRT)\",NSF,University of South Carolina\r\nDatabase and innovation timeline for nanotechnology,NSF,UCLA\r\nSocial and ethical dimensions of nanotechnology,NSF,University of Virginia\r\n\"Undergraduate exploration of nanoscience,\rapplications and societal implications (NUE)\",NSF,\"Michigan Technological\rUniversity\"\r\n\"Ethics and belief inside the development of\rnanotechnology (CAREER)\",NSF,University of Virginia\r\n\"All centers, NNIN and NCN have a societal\rimplications components\",\"NSF, DOE,\rDOD, and NIH\",\"All nanotechnology centers\rand networks\""; // \r\n + string expected = "Project,Agency,\" Institution\"\r\nNanotechnology and its publics,NSF,Pennsylvania State University\r\n\"Public information and deliberation in nanoscience and \rnanotechnology policy (SGER)\",Interagency,\"North Carolina State \rUniversity\"\r\n\"Social and ethical research and education in agrifood \rnanotechnology (NIRT)\",NSF,Michigan State University\r\n\"From laboratory to society: developing an informed \rapproach to nanoscale science and engineering (NIRT)\",NSF,University of South Carolina\r\nDatabase and innovation timeline for nanotechnology,NSF,UCLA\r\nSocial and ethical dimensions of nanotechnology,NSF,University of Virginia\r\n\"Undergraduate exploration of nanoscience, \rapplications and societal implications (NUE)\",NSF,\"Michigan Technological \rUniversity\"\r\n\"Ethics and belief inside the development of \rnanotechnology (CAREER)\",NSF,University of Virginia\r\n\"All centers, NNIN and NCN have a societal \rimplications components \",\"NSF, DOE, \rDOD, and NIH\",\"All nanotechnology centers \rand networks\""; // \r\n StringBuilder sb = new StringBuilder(); (new CSVWriter()).Write(sb, tables[0]); @@ -436,7 +436,7 @@ public void TestExtractTableWithExternallyDefinedRulings() Assert.Equal("Payroll Period", rows[0][0].GetText()); Assert.Equal("One Withholding\rAllowance", rows[0][1].GetText()); Assert.Equal("Weekly", rows[1][0].GetText()); - Assert.Equal("$71.15", rows[1][1].GetText()); + Assert.Equal("$ 71.15", rows[1][1].GetText()); Assert.Equal("Biweekly", rows[2][0].GetText()); Assert.Equal("142.31", rows[2][1].GetText()); Assert.Equal("Semimonthly", rows[3][0].GetText()); diff --git a/Tabula.Tests/TestWriters.cs b/Tabula.Tests/TestWriters.cs index 6c07ebc..1898d93 100644 --- a/Tabula.Tests/TestWriters.cs +++ b/Tabula.Tests/TestWriters.cs @@ -11,7 +11,7 @@ namespace Tabula.Tests { public class TestWriters { - private static string EXPECTED_CSV_WRITER_OUTPUT = "\"ABDALA de MATARAZZO, Norma Amanda\",Frente Cívico por Santiago,Santiago del Estero,AFIRMATIVO"; + private static string EXPECTED_CSV_WRITER_OUTPUT = "\"ABDALA de MATARAZZO, Norma Amanda \",\"Frente Cívico por Santiago \",Santiago del Estero,AFIRMATIVO"; private Table GetTable() {