unique_identifier {normfluodbf}R Documentation

Title: A function to append a unique identifier attribute to any data frame within the normfluodbf package.

Description

The function in the context of normfluodbf creates an attribute called Cycle_Number and appends this attribute to the cleaned or wrangled data frame derived from the dirty DBF file.

Usage

unique_identifier(df)

Arguments

df

A data frame with 1:n number of rows.

Value

A data frame with the Cycle_Number attribute appended to the end of the data frame.

Note

The function operates in a closed system, meaning it is primarily designed to work with this package ONLY. Other use cases are simply a coincidence.

Author(s)

Tingwei Adeck

See Also

normfluodat(), norm_tidy_dbf(), normfluordbf(), generic_identifier()

Examples

test_df <- as.data.frame(c(seq(40)))
colnames(test_df) <- "test"
unique_identifier(test_df)

[Package normfluodbf version 1.5.2 Index]