Learn R Programming

beastier (version 2.5.2)

has_unique_ids: Determine if the XML text has unique parameter IDs

Description

Determine if the XML text has unique parameter IDs

Usage

has_unique_ids(text)

Value

TRUE if all parameter IDs are unique, FALSE otherwise

Arguments

text

the XML as text

Author

Richèl J.C. Bilderbeek

See Also

to obtain the duplicate parameter IDs, use get_duplicate_param_ids

Examples

Run this code
check_empty_beaustier_folders()

line_1 <- ""
line_2 <- ""
# Unique IDs
has_unique_ids(c(line_1, line_2))
# No unique ID
has_unique_ids(c(line_1, line_1))

check_empty_beaustier_folders()

Run the code above in your browser using DataLab