R/build_tags.R

build_tags <- function(x) {
   if (is.data.frame(x)) {
      x
   } else if (is.vector(x)) {
      data.frame(tagName = names(x), tagValue = as.character(x))
   }
}
kos59125/soracomr documentation built on May 20, 2019, 1:08 p.m.