Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions workflows/edit_eml/edit_attributelists.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ data <- read.csv(text=rawToChar(getObject(d1c_test@mn, data_pid)))

```{r, eval = FALSE}
# From data (recommended)
EML::shiny_attributes(data = data)
atts <- EML::shiny_attributes(data = data)

# From an existing attribute table
attributeList <- get_attributes(doc$dataset$dataTable[[i]]$attributeList)
EML::shiny_attributes(data = NULL, attributes = attributeList$attributes)
atts <- EML::shiny_attributes(data = NULL, attributes = attributeList$attributes)

# From scratch
atts <- EML::shiny_attributes()
Expand Down Expand Up @@ -171,7 +171,7 @@ factors <- rbind(data.frame(attributeName = 'Location', code = names(Location),
Once you have built your attributes, factors, and custom units, you can add them to EML objects. Attributes and factors are combined to form an `attributeList` using the following command:

```{r, eval = FALSE}
attributeList <- EML::set_attributes(attributes = attributes,
attributeList <- EML::set_attributes(attributes = atts$attributes,
factors = factors)
```

Expand Down
8 changes: 6 additions & 2 deletions workflows/edit_eml/edit_semantic_annotation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,15 @@ doc$dataset$dataTable[[3]]$attributeList$attribute[[6]]$annotation$valueURI <- l

On the far right of the table of `shiny_attributes` there are 4 columns: `id`, `propertyURI`, `propertyLabel`, `valueURI`, `valueLabel` that can be filled out.

### Annotating sensitive data
### Dataset annotations

In addition to attributes being assigned annotations, the overall dataset will also be annotated. The dataset will be given two categories of annotations: one for documenting how "sensitive" the data are, and one for documenting the overall academic discipline the dataset falls under.

#### Annotating sensitive data

Sensitive datasets that might cover protected characteristics (human subjects data, endangered species locations, etc) should be annotated using the data sensitivity ontology: https://bioportal.bioontology.org/ontologies/SENSO/?p=classes&conceptid=root.

#### Dataset Annotations
#### Academic discipline annotations

As a final step in the data processing pipeline, we will categorize the dataset. We are trying to categorize datasets so we can have a general idea of what kinds of data we have at the Arctic Data Center.

Expand Down