Icon

Split File and Save into Subfolders

Split File and Save into Subfolders
Challenge 2: Split File and Save into SubfoldersA pharmaceutical company used to keep its sales data in a CSV file. They ask for your help to split the datainto monthly CSV files and to save them into different subfolders, where each subfolder corresponds to ayear. As an example, the data for January 2015 should be stored in a file named 2015/January.csv. In yoursolution, remember to save the files and subfolders in the workflow data folder. read data about saleschange date colto date typeexttract year and monthgroop order year and monthcreate variable to pathfilter columnswrite the filesjoin year and monthto the pathchange the path to path typeNode 12 CSV Reader String to Date&Time Extract Date&TimeFields Group Loop Start Table Rowto Variable Column Filter CSV Writer String Manipulation String to Path Variable Loop End Challenge 2: Split File and Save into SubfoldersA pharmaceutical company used to keep its sales data in a CSV file. They ask for your help to split the datainto monthly CSV files and to save them into different subfolders, where each subfolder corresponds to ayear. As an example, the data for January 2015 should be stored in a file named 2015/January.csv. In yoursolution, remember to save the files and subfolders in the workflow data folder. read data about saleschange date colto date typeexttract year and monthgroop order year and monthcreate variable to pathfilter columnswrite the filesjoin year and monthto the pathchange the path to path typeNode 12CSV Reader String to Date&Time Extract Date&TimeFields Group Loop Start Table Rowto Variable Column Filter CSV Writer String Manipulation String to Path Variable Loop End

Nodes

Extensions

Links