Learn R Programming

iNZightTools (version 2.0.1)

read_meta: Read CSV with iNZight metadata

Description

This function will read a CSV file with iNZight metadata in the header. This allows plain text CSV files to be supplied with additional comments that describe the structure of the data to make import and data handling easier.

Usage

read_meta(file, preview = FALSE, column_types, ...)

Value

a data frame

Arguments

file

the plain text file with metadata

preview

logical, if TRUE only the first 10 rows are returned

column_types

optional column types

...

more arguments

Author

Tom Elliott

Details

The main example is to define factor levels for an integer variable in large data sets.