clean.collunits | R Documentation |
Function that removes duplicate objects such as sites, datasets, or collection units.
## S3 method for class 'collunits'
clean(x, verbose = TRUE, ...)
x |
sites, datasets, collunits that may have duplicates. |
verbose |
parameter to prints out progress bar |
... |
Additional parameters associated with the call. |
cleaned collunits
Simon Goring goring@wisc.edu
clean_cols <- get_sites(sitename = "L%", limit = 1) %>%
collunits()
more_cols <- get_sites(sitename = "La%", limit = 1) %>%
collunits()
long_set <- c(clean_cols, more_cols)
length(long_set)
# By removing duplicates we get a smaller object.
length(clean(long_set))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.