Difference between revisions of "W2653 CSV File Processing"

From Coder Merlin
Line 11: Line 11:


== Experiment ==
== Experiment ==
Create a new directory in your ~/projects folder, named project-2651.  Then, download this file [[Media:Example-metars.csv|Example-metars.csv]] to that directory.
<syntaxhighlight lang="bash">
cd ~/projects
mkdir project-2651
cd project-2651
wget https://wiki.codermerlin.com/mediawiki/images/1/15/Example-metars.csv
</syntaxhighlight>
View the file in emacs:
<syntaxhighlight lang="bash">
emacs Example-metars.csv
</syntaxhighlight>
Carefully review the file.  Remember that the "\" character as the ''last'' character in a line in emacs is a '''line-continuation''' character.  (For reference, you may read [https://www.gnu.org/software/emacs/manual/html_node/emacs/Continuation-Lines.html Continuation-Lines].)  You'll probably find it much easier to read most lines if you maximize the width of your window.


== References ==
== References ==


== Key Concepts ==
== Key Concepts ==

Revision as of 20:18, 26 March 2019

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

DRAFT ICON

CSV File Processing[edit]

This tutorial will provide an introduction about processing CSV files.

Research[edit]

Experiment[edit]

Create a new directory in your ~/projects folder, named project-2651. Then, download this file Example-metars.csv to that directory.

cd ~/projects
mkdir project-2651
cd project-2651
wget https://wiki.codermerlin.com/mediawiki/images/1/15/Example-metars.csv

View the file in emacs:

emacs Example-metars.csv

Carefully review the file. Remember that the "\" character as the last character in a line in emacs is a line-continuation character. (For reference, you may read Continuation-Lines.) You'll probably find it much easier to read most lines if you maximize the width of your window.

References[edit]

Key Concepts[edit]