col_conversion: col_conversion

col_conversionR Documentation

col_conversion

Description

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

Usage

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 April 30, 2023, 8:42 p.m.