access: SAND access and assignment functions

Description Usage Arguments Details

Description

Functions for accessing elements of a SAND object, accessing and casting sand classes, and viewing documentation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
is.sand(x)

as.sand(x)

desc(x)

meta(x)

type(x)

desc(x) <- value

meta(x) <- value

type(x) <- value

field_info(x, field)

Arguments

x

anything

value

object on right side of assignment

field

a column name from the dataset

Details

as.sand is particularly noteworthy. Any data frame can be case as a sand object. Then it can be written into a SAND format data directory with the write_sand function. This will automatically generate default COLUMN.tsv and TYPE.tsv files. So this is the starting point for building a new SAND project.


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