Comma Separated Values (CSV)

target-csv (singer-io variant)🥈

CSV loader

The target-csv loader sends data into Comma Separated Values (CSV) after it was pulled from a source using an extractor

Alternate Implementations

Getting Started

Prerequisites

If you haven't already, follow the initial steps of the Getting Started guide:

  1. Install Meltano
  2. Create your Meltano project

Installation and configuration

  1. Add the target-csv loader to your project using
    meltano add
    :
  2. meltano add loader target-csv --variant singer-io
  3. Configure the target-csv settings using
    meltano config
    :
  4. meltano config target-csv set --interactive

Next steps

If you run into any issues, learn how to get help.

Capabilities

This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!

Settings

The target-csv settings that are known to Meltano are documented below. To quickly find the setting you're looking for, click on any setting name from the list:

You can also list these settings using

meltano config
with the list subcommand:

meltano config target-csv list

You can override these settings or specify additional ones in your meltano.yml by adding the settings key.

Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.

(destination_path)

  • Environment variable: TARGET_CSV_DESTINATION_PATH
  • Default Value: output

Sets the destination path the CSV files are written to, relative to the project root. The directory needs to exist already, it will not be created automatically. To write CSV files to the project root, set an empty string ("").


Configure this setting directly using the following Meltano command:

meltano config target-csv set destination_path [value]

(delimiter)

  • Environment variable: TARGET_CSV_DELIMITER
  • Default Value: ,

A one-character string used to separate fields. It defaults to a comma (,).


Configure this setting directly using the following Meltano command:

meltano config target-csv set delimiter [value]

(quotechar)

  • Environment variable: TARGET_CSV_QUOTECHAR
  • Default Value: '

A one-character string used to quote fields containing special characters, such as the delimiter or quotechar, or which contain new-line characters. It defaults to single quote (').


Configure this setting directly using the following Meltano command:

meltano config target-csv set quotechar [value]

Something missing?

This page is generated from a YAML file that you can contribute changes to.

Edit it on GitHub!

Looking for help?

If you're having trouble getting the target-csv loader to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the
#plugins-general
channel.

Install

meltano add loader target-csv --variant singer-io

Maintenance Status

  • Maintenance Status

Repo

https://github.com/singer-io/target-csv
  • Stars
  • Forks
  • Last Commit Date
  • Open Issues
  • Open PRs
  • Contributors
  • License

Maintainer

  • Stitch Data

Meltano Stats

  • Total Executions (Last 3 Months)
  • Projects (Last 3 Months)

PyPI Stats

  • PyPI Downloads
  • PyPI Package Version

Keywords

  • file