✨
ysv
  • ysv
  • Installation
  • Usage
  • Configuration format
  • Configuration Language
    • Basics
    • input
    • Constants
    • String transformations
    • Date & time
  • Technology Choices
Powered by GitBook
On this page

Was this helpful?

Configuration format

PreviousUsageNextBasics

Last updated 4 years ago

Was this helpful?

ysv uses standard YAML configuration file format. Here is , just in case.

version: 1

# The main section of config file starts. 
# It describes the columns of the OUTPUT CSV dataset
# you want ysv to generate.
columns:
  # first column of that file will be called `name`.
  name:
    # ysv will take the values for that column from 
    # PersonName column of the INPUT file.
    # (Column names are case sensitive!)
    - input: PersonName

    # Then, ysv will uppercase the value
    - uppercase

    # And, it will replace dashes with spaces.
    - replace:
      "-": " "

    # The result will go directly to the output dataset.

YAML is well standardized, human readable, supported by multiple text editors with lints and highlighting. It is also easy to generate by software means.

Via this format, ysv supports multiple transformations you can apply to your data.

cheat sheet