CSV files and the CSV Lint plug-in for Notepad++, view, edit, sort and convert text data more easily
New Section
This section provides an introduction to using Notepad++ with the CSV Lint plug-in.
Using Notepad++ with CSV Lint Plug-in
- In this video I'll show you how to use Notepad++ with the CSV Lint plug-in.
- You can download Notepad++ from their website.
- To install the CSV Lint plug-in, go to the Plug-ins menu and select Plug-ins Admin. Search for "csv lint" and install it.
- After restarting Notepad++, the CSV Lint plug-in will be available in the Plugins menu and toolbar.
Syntax Highlighting
- The CSV Lint plug-in can add syntax highlighting to make data files easier to read.
- Different colors are assigned to each column in larger data files, improving readability.
- Color presets can be customized in the plug-in settings or through style configuration in Notepad++.
Column Meta Data
- The CSV Lint window displays metadata of the active text file, including column data types detected by the plug-in or read from a schema.ini file.
- Validation of data based on column meta data is available, with errors listed in a separate textbox for easy identification and navigation.
Conclusion
The transcript provides an overview of using Notepad++ with the CSV Lint plug-in, covering installation, syntax highlighting, and validation based on column meta data.
Reformatting Data and Splitting Columns New Section
In this section, the speaker discusses how to reformat date values and split columns in a data file using a specific tool.
Reformatting Date Values
- To reformat date values from US format (month, day, year) to ISO format (year, month, day), follow these steps:
- Press the "Reformat" button.
- Check the Datetime format and select the desired format.
- Press OK to apply the changes.
- Now all date values will be in the year-month-day format.
Splitting Columns
- To split a column into two separate columns:
- Press the "Split Column" button.
- Select the column you want to split.
- Choose "Split on character" and enter a slash as the delimiter.
- Optionally, check "Remove original column" if you only want the resulting two new columns.
- Press OK to perform the split operation.
- The original column will still be present along with two new columns created by splitting on the specified character.
Handling Invalid Date Values
- If a column containing dates also includes invalid text values:
- Use the "Split Column" button again.
- Select the column with visit dates.
- Choose "Split valid and invalid values".
- Check "Remove original column" if desired.
- Press OK to create two new columns: one with valid date values and another with text values.
Additional Features of CSV Lint Plug-in
- The CSV Lint plug-in offers more features:
- The "Analyze data report" provides summary information per column, which can help detect issues like mixed data types or unexpected coded values that are out of range.
- The plug-in also allows converting the entire dataset to a database insert script, which is useful for importing data into a database.
Conclusion
- The speaker concludes by asking if there are any additional features viewers would like to see added to the plug-in.
- For more information, refer to the provided link.