col_conversion: col_conversion

Description Usage Arguments

Description

Simple helper functions to transform colnames and get around NSE issues with R.

Usage

1
2
3
4
5
6
7
8
9
sidora_col_name_to_col_name(sidora_col_name)

col_name_to_sidora_col_name(entity_type, col_name)

sidora_col_name_to_name(sidora_col_name)

col_name_to_name(entity_type, col_name)

add_prefix_to_colnames(x, prefix)

Arguments

sidora_col_name

character. A sidora table column name that includes the entity_type (e.g. site.Full_Site_Id, batch.Id, etc.)

entity_type

character. An entity type (e.g. site, sample, individual etc.)

col_name

character. A pandora table column name (e.g. Full_Site_Id, Id, etc.)

x

character

prefix

character


sidora-tools/sidora.core documentation built on Aug. 31, 2020, 4:36 p.m.