read_SenatesGrabSampleCSV_long: Read Senates' Grab Sample File

View source: R/senates_grab_sample_data_new.R

read_SenatesGrabSampleCSV_longR Documentation

Read Senates' Grab Sample File

Description

Read Senates' grab sample file ('long' format). For a format description see hsGetGsData1

Usage

read_SenatesGrabSampleCSV_long(
  csv,
  sep = kwb.utils::guessSeparator(csv),
  dateFormat,
  dec = ifelse(sep == ",", ".", ","),
  dbg = FALSE
)

Arguments

csv

path to CSV file

sep

column separator

dateFormat

date format string, passed to kwb.read:::.removeNonDataRows and kwb.read:::.convertDataTypes

dec

decimal character

dbg

logical. If TRUE, debug messages are shown.


KWB-R/kwb.read documentation built on Oct. 2, 2023, 10:40 a.m.