Icon

_​knime_​csv_​import_​meta_​workflow

Import CSV - This workflow will act as a meta workflow trying to answer questions about importing data from CSV and Text files
Import CSV - This workflow will act as a meta workflow trying to answer questions about importing data from CSV and Text filesOne of the most frequently asked questions is the one how to import data from CSV and Text files under various circumsatnces. Often these files are messy with unbalanced quotes and column separators thatwould also appear in the data. Best advise would be to avoid CSV at all and resort to formats the would preserve the column types and formats like Parquet, ORC, ARFF or even H2 or SQLite - but often this isnot possibleThe (new) CSV Reader should be the first stophttps://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.io.filehandling.csv.reader.CSVTableReaderNodeFactory=> please also note that you can configure a lot of settings like "Support changing file schemas" if your CSV structure does change or force data typeshttps://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.io.filehandling.csv.reader.CSVTableReaderNodeFactory#relatedworkflowsnodesuse R to read and write custom CSV files and read them back with different nodeshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_csv_read_write=> also on the right side a collection of several nodes to import CSV and TXT filesForce all columns to be read as strings (use KNIME nodes only)https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_csv_import_force_all_string_pure_knimeDemonstrates how to import several CSV files with the new CSV reader from sub folders at oncehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_csv_import_multiple_csv_types-------------Often if everything else fails R's "Readr" package might still be able to help youuse R library(readr) to read (messy) CSV file into KNIMEhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_read_single_csv_file=> also export files to ARFF, Parquet and SQLite (with and without R) to preserve column typesimport 'dirty' CSV files with the help of R's readrhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_import_csv_r_readrForce R’s readr to import all columns of a messy CSV file as strings - allow changing table structureshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_import_csv_messy_loop_force_all_stringImport CSV with non-printable UNICODE charactershttps://forum.knime.com/t/csv-writer-problem/28064/9?u=mlauber71https://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_forum_28064_r_import_csv_r_readr_strange_charaters-------------CSV's can be used to append data to an existing file without having to reload it againDownload data from a database in chunks and append them to an CSV filehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_write_csv_loop_chunks/m_001_write_csv_loop_chunks-------------You can also move CSV files aroundcopy files to two target folders using local URI strings - the basic versionhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_move_csv_files_basiccopy files to two target folders using local URI stringshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_move_csv_files-------------And you often combine CSV files with other formats like MS Access, Excel and Big Data systemsExport huge MS sql table to csv without fetching all records togetherhttps://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_example_huge_db_to_csv/m_001_write_csv_41CSV files from subfolders to xlsx sheetshttps://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_example_csv_to_excel/m_001_importKNIME and Hive - load multiple CSV files at once via external tablehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_bigdata_hive_csv_loader/m_001_import_hive_csv Import CSV - This workflow will act as a meta workflow trying to answer questions about importing data from CSV and Text filesOne of the most frequently asked questions is the one how to import data from CSV and Text files under various circumsatnces. Often these files are messy with unbalanced quotes and column separators thatwould also appear in the data. Best advise would be to avoid CSV at all and resort to formats the would preserve the column types and formats like Parquet, ORC, ARFF or even H2 or SQLite - but often this isnot possibleThe (new) CSV Reader should be the first stophttps://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.io.filehandling.csv.reader.CSVTableReaderNodeFactory=> please also note that you can configure a lot of settings like "Support changing file schemas" if your CSV structure does change or force data typeshttps://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.io.filehandling.csv.reader.CSVTableReaderNodeFactory#relatedworkflowsnodesuse R to read and write custom CSV files and read them back with different nodeshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_csv_read_write=> also on the right side a collection of several nodes to import CSV and TXT filesForce all columns to be read as strings (use KNIME nodes only)https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_csv_import_force_all_string_pure_knimeDemonstrates how to import several CSV files with the new CSV reader from sub folders at oncehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_csv_import_multiple_csv_types-------------Often if everything else fails R's "Readr" package might still be able to help youuse R library(readr) to read (messy) CSV file into KNIMEhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_read_single_csv_file=> also export files to ARFF, Parquet and SQLite (with and without R) to preserve column typesimport 'dirty' CSV files with the help of R's readrhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_import_csv_r_readrForce R’s readr to import all columns of a messy CSV file as strings - allow changing table structureshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_r_import_csv_messy_loop_force_all_stringImport CSV with non-printable UNICODE charactershttps://forum.knime.com/t/csv-writer-problem/28064/9?u=mlauber71https://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_forum_28064_r_import_csv_r_readr_strange_charaters-------------CSV's can be used to append data to an existing file without having to reload it againDownload data from a database in chunks and append them to an CSV filehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_write_csv_loop_chunks/m_001_write_csv_loop_chunks-------------You can also move CSV files aroundcopy files to two target folders using local URI strings - the basic versionhttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_move_csv_files_basiccopy files to two target folders using local URI stringshttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_move_csv_files-------------And you often combine CSV files with other formats like MS Access, Excel and Big Data systemsExport huge MS sql table to csv without fetching all records togetherhttps://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_example_huge_db_to_csv/m_001_write_csv_41CSV files from subfolders to xlsx sheetshttps://hub.knime.com/mlauber71/spaces/Public/latest/forum/kn_example_csv_to_excel/m_001_importKNIME and Hive - load multiple CSV files at once via external tablehttps://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_bigdata_hive_csv_loader/m_001_import_hive_csv

Nodes

  • No nodes found

Extensions

  • No modules found

Links