Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
I have a question on datacleaning part. Could you please expiain more specifically about the process of inputing tsv files? Is it like cantril_data_cleaning file1 file2 file3? If it is, can i use the real file name like gdp-vs-happiness.tsv rather than $1,$2.etc.Thanks!
I have a question on datacleaning part. Could you please expiain more specifically about the process of inputing tsv files? Is it like cantril_data_cleaning file1 file2 file3? If it is, can i use the real file name like gdp-vs-happiness.tsv rather than $1,$2.etc.Thanks!
Hi,
The specification says that the 3 files can appear in any order, so no, explicit names cannot be used (assuming I understood your question correctly).
Should we consider the other form of the input files as a valid input?
Like: cantril_data_cleaning gdp.tsv homicide.tsv life.tsv
Are we supposed to identify the content in the file or just exit the program due to the unexpected file name?
Should we consider the other form of the input files as a valid input?
Like: cantril_data_cleaning gdp.tsv homicide.tsv life.tsv
Are we supposed to identify the content in the file or just exit the program due to the unexpected file name?
Thanks
Hi Zexu,
The file names are not relevant, and can change. Rather the content of each file can be judged by words appearing in the header line. The program needs 1 of each of the 3 types of data-file: one GDP, one homicide rate, one life expectancy.