NCEAS / datateam-training

Training and reference materials for ADC and SASAP data team members
https://nceas.github.io/datateam-training/training/
Apache License 2.0
7 stars 22 forks source link

Clarifying how to edit/grab existing attributes from the web in the reference section #198

Closed angelchen7 closed 3 years ago

angelchen7 commented 4 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