In the Chapter 1, I would like to import the table from my csv file as bellow. The problem is that I want to create separate folders to store all my import files (
.csv
format), let name the folder as "Input Files". How would I set up it correctly? And how to display exactly a number of decimals from .csv
file in pdf format? For e.g, my .csv has 3 decimal numbers (0.351), but the pdf only displays 2 decimal (0.35)Code: Select all
% Chapter 1
\pgfplotstabletypeset[
col sep=comma,
columns/Year/.style={string type},
columns/Gini index for household incomes /.style={string type},
%draw the line among head rows
every head row/.style={
before row = \toprule,
after row = \midrule
},
every last row/.style={after row=\bottomrule}
]{BOI_Gini_income_household.csv}
Code: Select all
%CSV file
Year,Gini index for household incomes
2010,0.351
2008,0.353
2006,0.349
2004,0.353
2002,0.359
2000,0.36
1998,0.374
1995,0.362
1993,0.366
1991,0.325
1989,0.334