Quickly read and write a CSV file, usually as a part of staging or loading a larger object. This assumes that all files follow the comservatory specification.
quickReadCsv(
  path,
  expected.columns,
  expected.nrows,
  compression,
  row.names,
  parallel = TRUE
)
quickWriteCsv(
  df,
  path,
  ...,
  row.names = FALSE,
  compression = "gzip",
  validate = TRUE
)String containing a path to a CSV to read/write.
Named character vector specifying the type of each column in the CSV (excluding the first column containing row names, if row.names=TRUE).
Integer scalar specifying the expected number of rows in the CSV.
String specifying the compression that was/will be used.
This should be either "none", "gzip".
For .quickReadCsv, a logical scalar indicating whether the CSV contains row names.
For .quickWriteCsv, a logical scalar indicating whether to save the row names of df.
Whether reading and parsing should be performed concurrently.
A DFrame or data.frame object, containing only atomic columns.
Further arguments to pass to write.csv.
Whether to double-check that the generated CSV complies with the comservatory specification.
For .quickReadCsv, a DFrame containing the contents of path.
For .quickWriteCsv, df is written to path and a NULL is invisibly returned.