read_sand: Read an unnested SAND directory

Description Usage Arguments Value See Also Examples

Description

Read an unnested SAND directory

Usage

1
2
3
read_sand(x = getwd(), data_has_header = TRUE, meta_has_header = TRUE,
  type_has_header = TRUE, col_types = NULL, rdata = read_data,
  rdesc = read_desc, rmeta = read_meta, rtype = read_type)

Arguments

x

directory name, defaults to working directory

data_has_header

whether data file has headers

meta_has_header

whether COLUMN file has headers

type_has_header

whether TYPE file has headers

col_types

data types for each column (see details)

rdata

main data file reader

rdesc

description file reader

rmeta

metadata file reader

rtype

type file reader

Value

a sand object

See Also

Other io: open_sand_db, write_sand, write_to_db

Examples

1
2
diamonds_dir <- system.file('extdata', 'diamonds', package='sandr')
x <- read_sand(diamonds_dir)

arendsee/sandr documentation built on May 10, 2019, 1:25 p.m.