Questions in topic: "csv reader" https://knowledge.亚搏在线safe.com/questions/topics/single/56098.html The latest questions for the topic "csv reader" Filter option in CSV reader parameter in FME 2018.1 disappeared?How to filter at source? https://knowledge.亚搏在线safe.com/questions/88900/filter-option-in-csv-reader-parameter-in-fme-20181.html

Hi,

I'm working with a CSV of 7Millions + rows which takes ages to run,

As I am working and amending/ improving the 亚搏在线workflow I'd like to use a sample of the data.

I want to only use rows where there is a AVL_ID field starting 101 or 110 or 111...data is looking like numbers (7 digits) e.g.1011234

I'd like to only read and use the rows where the AVL_ID field are starting with 110.

1.2016 亚搏在线workflow and dataset

I started my 亚搏在线workflow in 2016,so opening my CSV reader parameters,I see aFilter option.I thought I could filter it at source but my data came with the fields in Numeric format so I can't use the Filter AVL_ID ^110* as described on this web page: - (under Schema Attributes > Filter by Field Value)http://docs.亚搏在线safe.com/fme/2016.0/html/FME_Desktop_Documentation/FME_ReadersWriters/csv/CSV_reader.htm

I tried AVL_ID >= 1100000 but it does not do anything.

see image below


2.2019 亚搏在线workflow - FME 2018.1 CSV reader

If I add a new CSV working on it now on FME upgraded to 2018.1...I get AVL_ID as string ...BUT no filter options.see image below

Has this functionality being taken away ?

What's the alternative?


Thanks
:-)

parameters csv reader 2018.1 filter features Thu,21 Mar 2019 15:03:55 GMT opowell
Create schema for CSV file https://knowledge.亚搏在线safe.com/questions/88544/create-schema-for-csv-file.html

22710_3_1903120700.csv


Hi,


I'm trying to read in a CSV file that has no header information.Additionally the data is spread around several columns rather than in a single line.


Looks like the first row is junk.

The second is the site name.

The third is the site number.

Fourth is pressure information

Fifth is the date and start time of the data

6 onwards is the data

How do I first create a schema that FME uses before it tries to open the file?I attach a file as an example.

Thank you.

schema mapping csv reader Fri,15 Mar 2019 14:06:19 GMT nedwaterman
转换一个CSV文件文本文件 https://knowledge.亚搏在线safe.com/questions/87053/transformation-a-csv-file-to-text-file.html

I have csv file and want to convert it in text file.

csv reader Mon,18 Feb 2019 18:17:36 GMT sajidalispacian
Reading specific rows in excel/csv https://knowledge.亚搏在线safe.com/questions/86049/reading-specific-rows-in-excelcsv.html

Hi All,

Hope you are doing good.

I have an excel sheet containing a set of data wherein i wish to read only a specific set of rows.Test Excel.xlsx

In my case,i wish to read the data below the string(in mass percent)in row 280 from 281 to 296 with 281 as the column names.The whole table is supposed to be read below the above mentioned string.These row numbers may change with different excel sheets.So i need a generalized solution.

Please help.Thanks.

csv reader row selection Tue,29 Jan 2019 14:06:28 GMT asabhinavgreats
How to read csv from a URL? https://knowledge.亚搏在线safe.com/questions/83588/how-to-read-csv-from-a-url.html

I want to read a csv from a URL,but I am failing to connect.

I add a Reader

Format: CSV (Comma Separated Value)

Dataset:http://www.bom.gov.au/fwo/IDQ60801/IDQ60801.94418.axf

under Parameters

Delimiter Character: ,

Field Names Line: 20

Data Start Line: 21


but I get the error

CSV reader: Failed to open file 'http://www.bom.gov.au/fwo/IDQ60801/IDQ60801.94418.axf' for reading.Please ensure that the file exists and you have sufficient privileges to read it

When I use chrome to visit the URL I succeed.The URL and resulting csv file definitely exist.

What I want is to read (and process) the csv file using FME

csv reader Fri,30 Nov 2018 01:37:57 GMT nicholas
CSV Reader: modify/set field names https://knowledge.亚搏在线safe.com/idea/80443/csv-reader-modifyset-field-names.html

In the CSV reader parameters dialog,whenAttribute Definitionhas been set to "Manual",I would very much like to be able to change the field names.Currently (FME 2018.1),I can only change the attribute types.

Especially whenField Names Linehas been set to "None",and all the attribute names are automatically set to "col<n>",this would come in handy.Now I need to use an AttributeRenamer/Manager to change the field names afterwards.

Why can't we do it in the Parameters Dialog?It'll save some clicks and it keeps the workspace tidier.

csv attribute csv reader csv2 csv file parameters naming field name Mon,15 Oct 2018 05:45:57 GMT sander
Updating CSV file each time a Workspace is run https://knowledge.亚搏在线safe.com/questions/79843/updating-csv-file-each-time-a-workspace-is-run.html

I have a workspace which reads a CSV (CSV Reader) file for a parameter which is used in a web service call.At the end of the workspace,the CSV file is updated (CSV Writer).This approach work OK on fme desktop;however,when it is run on FME server 2017,instead of updating the CSV file (same file as reader),it simply returns the CSV file as a download--leaving the original file unmodified.

Is there any way to ensure that the file which is consumed by the reader is updated by the writer?

Thanks

fmeserver files csv reader update writer and reader Thu,04 Oct 2018 19:50:34 GMT massimoscocco
How can i read csv file daily? https://knowledge.亚搏在线safe.com/questions/78497/how-can-i-read-csv-file-daily.html

Hello,I am a new FME user.im gonna store csv file in one folder daily.(ex.20180914.csv)

If it comes in daily,is there a way to read only today's csv file?

Thanks in advanced.

file path csv reader csv file parameters csv file imports .csv Fri,14 Sep 2018 14:40:22 GMT kiwi123123
CSV Reader pre-read processing https://knowledge.亚搏在线safe.com/questions/78252/csv-reader-pre-read-processing.html

Hi,is there a way to query a csv before it's read into a workspace,something akin to being able to run a sql script on the oracle reader?I have a csv with 2 million+ records but only want to read in 6000 or so with a specific attribute value.I know I could run a tester but would rather not read them into the workspace.

csv reader Tue,11 Sep 2018 14:11:34 GMT jake
How to convert CSV text to DWG text? https://knowledge.亚搏在线safe.com/questions/76193/how-to-convert-csv-text-to-dwg-text.html

I have CSV file with x/y coordinates,text,text size,text angle.How can I convert is to a DWG file with text not points?

csv reader Fri,10 Aug 2018 21:27:51 GMT gidolangen
CSV reader not able to read from network drive https://knowledge.亚搏在线safe.com/questions/73207/csv-reader-not-able-to-read-from-network-drive.html

The workspace works in workbench.I am just reading a csv file from a network drive and doing some transformation and outputting another csv file back into the network drive.

However when I publish it into fme server and run from there,I received an error

"CSV Reader: Failed to read the specified file(s) in the folder '\\xxxxxxxxxxxxxxx.csv'"

Anyone has any idea?

Inside workbench,the destination csv contains the hardcoded network directory.

Thanks

csv reader network Wed,27 Jun 2018 09:13:46 GMT chiaweijie1991
How to set column names for delimited text file with no header https://knowledge.亚搏在线safe.com/questions/71384/how-to-set-column-names-for-delimited-text-file-wi.html

I have a pipe-delimited text file for input

There is no header line of column names.Data starts on the first line.

How do I set column/attribute names?

I tried AttributeRenamer,but FME gives column names drawn from the first line of data.I receive a new input dataset each month,and the first line of data will change.I want to be able to assign column names based upon their order,not upon the first line of data.I need this process to be repeatable with a new input dataset.

csv reader Tue,29 May 2018 22:27:57 GMT nicholas
CSV file with SOH control character as separator https://knowledge.亚搏在线safe.com/questions/67330/csv-file-with-soh-control-character-as-separator.html

I have several CSV files exported from Hadoop so the separator is the SOH control character.What do I type as the separator for the CSV reader?I've tried the hex code (\x01) and copying/pasting the SOH character from Notepad++ but neither work.

Thanks,

亚伦

csv reader control character soh Mon,02 Apr 2018 20:34:41 GMT aaron
Allow more than one "Field Names Line" in CSV reader https://knowledge.亚搏在线safe.com/idea/58426/allow-more-than-one-field-names-line-in-csv-reader.html

When reading a CSV file with more than one line defining the attribute names,it would be useful to be able to indicate this in the CSV reader in FME.In addition,a mode of concatenating both in order to create one "field names line" would be useful.For example:

id x y id x y
input input input output output output

csv csv reader field name Wed,22 Nov 2017 16:04:27 GMT lmhemerijckx
Replace commas within quotes when using CSV Reader https://knowledge.亚搏在线safe.com/questions/57618/replace-commas-within-quotes-when-using-csv-reader.html

Hi I have a CSV file with X,Y coordinates.I am loading this to a point feature class.However the XY coordinates sometimes come in quotes and have a comma,e.g.

GLOUCESTERSHIRE,ST BRAIVELS COMMON,GL15 6SD,"355,280","203,644"

Any suggestions what's the best way to handle this when using the CSV reader.

csv reader Thu,09 Nov 2017 16:54:07 GMT sunsilk11