Closed angelchen7 closed 3 years ago
In this page here: https://nceas.github.io/datateam-training/reference/edit-attributelists.html, it would be helpful to add in a small section about how to edit an existing attribute table from the web.
For example, attributeList <- get_attributes(doc$dataset$dataTable[[1]]$attributeList) out <- shiny_attributes(data=NULL, attributes = attributeList$attributes) Attributes_Table <- read_csv("~/Attributes_Table.csv") new_attributeList <- set_attributes(attributes=Attributes_Table) doc$dataset$dataTable[[1]]$attributeList <- new_attributeList
In this page here: https://nceas.github.io/datateam-training/reference/edit-attributelists.html, it would be helpful to add in a small section about how to edit an existing attribute table from the web.
For example, attributeList <- get_attributes(doc$dataset$dataTable[[1]]$attributeList) out <- shiny_attributes(data=NULL, attributes = attributeList$attributes) Attributes_Table <- read_csv("~/Attributes_Table.csv") new_attributeList <- set_attributes(attributes=Attributes_Table) doc$dataset$dataTable[[1]]$attributeList <- new_attributeList