This function parses a site object, from site to
dataset level and returns a data.frame that contains the
site, collectionunit and dataset IDs for each element within the site.
getids(x, order = TRUE)
# S3 method for class 'sites'
getids(x, order = TRUE)
# S3 method for class 'site'
getids(x, order = TRUE)
# S3 method for class 'collunits'
getids(x, order = TRUE)
# S3 method for class 'collunit'
getids(x, order = TRUE)data.frame containing siteid, datasetid, and collunitid