tofiqquadri / ngx-csv-parser

CSV Parser for Angular by Developers Hive
https://tofiqquadri.com/hire/connect
MIT License
25 stars 52 forks source link

tsv file support? #9

Closed naiiytom closed 3 years ago

naiiytom commented 3 years ago

Hi,

i do wanna know if the tsv file is supported? if no, then would you consider support it in the near future? or else, could you show me the example?

Thanks

tofiqquadri commented 3 years ago

Mail me some sample files at @.*** I'll add a support to it. 

Sent from Yahoo Mail on Android

On Thu, 11 Mar 2021 at 9:31 pm, @.***> wrote:

Hi,

i do wanna know if the tsv file is supported? if no, then would you consider support it in the near future?

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

naiiytom commented 3 years ago

The contents may look like this,

custid  sex is.employed income  marital.stat    health.ins  housing.type    recent.move num.vehicles    age state.of.res
2068    F   NA  11300   Married TRUE    Homeowner free and clear    FALSE   2   49  Michigan
2848    M   TRUE    4500    Never Married   FALSE   Rented  TRUE    3   22  Georgia
5641    M   TRUE    20000   Never Married   FALSE   Occupied with no rent   FALSE   0   22  New Mexico
6369    F   TRUE    12000   Never Married   TRUE    Rented  TRUE    1   31  Florida
8322    F   TRUE    180000  Never Married   TRUE    Homeowner with mortgage/loan    FALSE   1   40  New York

I have tried using delimiter: '\t' but couldn't load the data.

tofiqquadri commented 3 years ago

Send the actual file to tofiqquadri@developershive.com

naiiytom commented 3 years ago

the mail was sent on friday, please check it out

tofiqquadri commented 3 years ago

@naiiytom I checked and the file is different from CSV therefore it makes no sense to support a different file type under a CSV parsing library. I'll try to make a general-purpose library for more extensions that can support Angular & React both soon.

naiiytom commented 3 years ago

alright, thank you @tofiqquadri