Learn R Programming

neonUtilities (version 3.0.0)

schemaFromVar: Create an arrow schema from a NEON variables file.

Description

Use the field names and data types in a NEON variables file to create an arrow schema.

Usage

schemaFromVar(variables, tab, package)

Value

An arrow schema for the relevant data table.

Arguments

variables

A data frame containing a NEON variables file, or a url pointing to a NEON variables file.

tab

The name of the table to generate a schema from.

package

Should the schema be created for the basic or expanded package?

Author

Claire Lunch clunch@battelleecology.org

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007