Learn R Programming

normfluodbf (version 1.5.2)

unique_identifier: 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)

Value

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

Arguments

df

A data frame with 1:n number of rows.

Author

Tingwei Adeck

See Also

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

Examples

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

Run the code above in your browser using DataLab