getSchema: get schema from data.frame

Description Usage Arguments Value Examples

Description

it's only for help purpose. You still need to convert the result to "list" function call and you would probably do it by hand :( In some cases you can use that as a snapshot and don't write it down... but it wouldn't be a good practice (you should always know the schema beforehand)

Usage

1

Arguments

df

data.frame

Value

list of colnames and their correspondent types

Examples

1

fcyprowski/schemar documentation built on July 15, 2020, 1:03 p.m.