location_table: Create locations table

Description Usage Arguments Value Examples

View source: R/location_table.R

Description

This function takes as input a standardised and long (as opposed to wide formated) dataset and makes the locations table for it, mirroring the structure of the NaTRON locations table.

Usage

1
location_table(data, conn, username)

Arguments

data

A dataset (long, standardised) that you wish to import into NaTron

conn

A connection object with NaTRON (see ?natron_connect)

username

Your NaTron user name. This name will appear in the modifiedBy if this value is missing.

Value

Returns the complete location table as a dataframe consistent with the NaTRON formatting.

Examples

1
2
3
4
5
6
7
## Not run: 
data("setesdal")
myConnection <- natron_connect(myUserName)
myLocationTable <- location_table(setesdal, myConnection)
View(myLocationTable)

## End(Not run)

NTNU-VM/natronbatchupload documentation built on Oct. 12, 2019, 5:49 a.m.