Page 1 of 1

import data with the delimiter |

Posted: Thu Mar 13, 2014 7:10 am
by bonnuck
Dear Sir/Madam,

which is the command for import data from a file.csv that has the character | as delimeter? If I import the data manually, from file-import-import from file, I have no problem, but if I try from a program it doesn't work.

For example:

import(custom=|) c:\test.csv @freq u 1

eviews doesn't consider the delimiter.

thanks

Re: import data with the delimiter |

Posted: Thu Mar 13, 2014 8:11 am
by EViews Gareth
Probably:

Code: Select all

import c:\test.csv custom="|" @freq u 1

Re: import data with the delimiter |

Posted: Thu Mar 13, 2014 8:21 am
by bonnuck
Yes, also without quotes --> import c:\test.csv custom="|" @freq u 1
thanks a lot

Re: import data with the delimiter |

Posted: Wed Feb 28, 2024 11:54 am
by fmramos
Hey there! And what if I have two different 'custom' delimiters: "T" (yes, the letter "T"), and ":"? HTML/JSON files...

Tks for any help. Best, Fabio

Re: import data with the delimiter |

Posted: Wed Feb 28, 2024 12:09 pm
by EViews Gareth
I think you're out of luck.

Re: import data with the delimiter |

Posted: Wed Feb 28, 2024 12:41 pm
by fmramos
Np, lol