bdImportData_hdf5: Import data from url or a file

View source: R/ImportData_hdf5.R

bdImportData_hdf5R Documentation

Import data from url or a file

Description

This function download data from an url and decompress data (if needed), then imports the file to hdf5 data file

Usage

bdImportData_hdf5(
  inFile,
  destFile,
  destGroup,
  destDataset,
  header = TRUE,
  rownames = FALSE,
  overwrite = FALSE,
  sep = NULL
)

Arguments

inFile

string file name or url with data to import

destFile

file name and path to store imported data

destGroup

group name to store the dataset

destDataset

dataset name to store the input file in hdf5

header

(optional) either a logical value indicating whether the column names of x are to be written along with x, or a character vector of column names to be written. See the section on ‘CSV files’ for the meaning of col.names = NA.

rownames

(optional) either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.

overwrite

(optional) either a logical value indicating whether the output file can be overwritten or not.

sep

(optional), by default = "\t". The field separator string. Values within each row of x are separated by this string.

Value

none value returned, data are stored in a dataset inside an hdf5 data file.

Examples

   print ("Example in vignette")
   

BigDataStatMeth documentation built on March 30, 2022, 1:07 a.m.