View source: R/senates_grab_sample_data_1.R
hsGetAllGsData1 | R Documentation |
get Senate's grab sample data (type 1) from all csv files in a directory and return it in a "all-in-one-table" data frame
hsGetAllGsData1(
csvdir,
sep = ";",
dateFormat = "%d.%m.%Y",
dec = ",",
data.block.number = NA,
csvFiles = dir(csvdir, "*.csv", full.names = TRUE)
)
csvdir |
absolute path to directory in which csv files to be read are located. |
sep |
separator in csv file, e.g. ";" or "," |
dateFormat |
date format specifier describing the format in which dates
are represented in the csv file. Use placeholders , |
dec |
decimal character: "." or "," |
data.block.number |
passed to |
csvFiles |
vector of full paths to csv files to be read. All files must contain data for the same monitoring points, in the same order! Default: all csv files in csvdir |
hsGetGsData1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.