client.files.get_preprocess_csv

A method of the Files endpoint.

get_preprocess_csv(id: int) Response

Get a Preprocess CSV

API URL: GET /files/preprocess/csv/{id}

import civis
client = civis.APIClient()
response = client.files.get_preprocess_csv(...)
Parameters:
idint
Returns:
civis.Response
  • idint

    The ID of the job created.

  • file_idint

    The ID of the file.

  • in_placebool

    If true, the file is cleaned in place. If false, a new file ID is created. Defaults to true.

  • detect_table_columnsbool

    If true, detect the table columns in the file including the sql types. If false, skip table column detection.Defaults to false.

  • force_character_set_conversionbool

    If true, the file will always be converted to UTF-8 and any character that cannot be converted will be discarded. If false, the character set conversion will only run if the detected character set is not compatible with UTF-8 (e.g., UTF-8, ASCII).

  • include_headerbool

    A boolean value indicating whether or not the first row of the file is a header row. If not provided, will attempt to auto-detect whether a header row is present.

  • column_delimiterstr

    The column delimiter for the file. One of “comma”, “tab”, or “pipe”. If not provided, the column delimiter will be auto-detected.

  • hiddenbool

    The hidden status of the item.