Skip to content

Commit c686371

Browse files
committed
Change view_annotations_dictionary() name
1 parent c9cb7ff commit c686371

6 files changed

+12
-12
lines changed

NAMESPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
export(annotation_dictionary)
34
export(calc_geo_extent_bounding_box_m2)
45
export(calc_length_of_survey_years)
56
export(calc_number_of_years_sampled)
@@ -29,7 +30,6 @@ export(read_data)
2930
export(save_data)
3031
export(search_data)
3132
export(validate_data)
32-
export(view_annotation_dictionary)
3333
export(write_tables)
3434
import(dplyr)
3535
import(ggplot2)

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Release new plotting functions for taxonomic and geographic exploration.
55
* Allow multiple input types to the new `data` parameter of "use" functions (supercedes `dataset`), thereby simplifying and accelerating exploratory manipulation and plotting.
66
* Reformat dataset object returned by `read_data()`. Generally, this simplifies dataset indexing and usage within iteration contexts. It removes a layer of nesting and places the dataset id at the same level as metadata, tables, and validation_issues.
7-
* Release new `view_annotation_dictionary f`unction. This feature will allow ecocomDP creators to view the semantic annotations for existing ecocomDP datasets. Annotation dictionary is published as an EDI data package to apply occasional updates.
7+
* Release new `annotation_dictionary()` function. This feature will allow ecocomDP creators to view the semantic annotations for existing ecocomDP datasets. Annotation dictionary is published as an EDI data package to apply occasional updates.
88
* Release new `validate_mapped_id()` function. Ensures values listed under /variable_mapping/mapped_id resolve without error
99
* Release new Model Overview vignette. The model overview vignette consists of the authoritative set of table descriptions, relationships, and requirements for the ecocomDP model and a visualization of table contents and relationships.
1010
* Release new Shared Practices Vignette. This document delineates the practices that all creators of ecocomDP formatted datasets should adopt in order for the community to build a cohesive and interoperable collection. It contains detailed descriptions of practices, definitions of concepts, and solutions to many common issues.

R/view_annotation_dictionary.R R/annotation_dictionary.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
#'
1212
#' @examples
1313
#' \dontrun{
14-
#' view_annotation_dictionary()
14+
#' View(annotation_dictionary())
1515
#' }
1616
#'
17-
view_annotation_dictionary <- function(){
17+
annotation_dictionary <- function(){
1818

1919
ping_edi() # Warn if EDI is down
2020

@@ -39,5 +39,5 @@ view_annotation_dictionary <- function(){
3939
file = paste0(tempdir(), "/annotation_dictionary_table.rda"),
4040
version = 3)
4141
}
42-
utils::View(ecocomDP_annotation_dictionary)
42+
return(ecocomDP_annotation_dictionary)
4343
}

_pkgdown.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ reference:
4545
- calc_length_of_survey_years
4646
- calc_number_of_years_sampled
4747
- calc_std_dev_interval_betw_years
48-
- view_annotation_dictionary
48+
- annotation_dictionary
4949
- title: Example data
5050
desc: Example data
5151
contents:

man/view_annotation_dictionary.Rd man/annotation_dictionary.Rd

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/shared_practices_create.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ knitr::include_graphics('./LevelOfSurvey_final_long2.png')
327327
Value added information is anything that an ecocomDP creator intentionally adds to the L1 dataset to improve its findability, accessibility, interoperability, or reusability (see [FAIR Principles](https://www.go-fair.org/fair-principles/)). This information does not come from the L0 dataset directly, but instead is derived from it. Since the rule of thumb regarding L1 dataset creation is to rearrange but not alter the L0 dataset, supplementing a dataset with value added information must be done carefully and within the constraints of the following rules:
328328

329329
* Taxonomic coverage - Resolve taxa to a supported authority system and list in the taxon table *only* when the L0 dataset itself does not resolve taxa to an authority system. See [taxon](#taxon) for more details on resolving taxa to a supported authority.
330-
* Annotations - Select annotations for variable_name values in the variable_mapping table. Additionally, include annotations of dataset features in the metadata. Only use annotations from the supported ontologies (see [Ontologies and Vocabularies](#ontologies) section) and always opt to use annotations that have been used in existing ecocomDP datasets (see `view_annotation_dictionary()` function).
330+
* Annotations - Select annotations for variable_name values in the variable_mapping table. Additionally, include annotations of dataset features in the metadata. Only use annotations from the supported ontologies (see [Ontologies and Vocabularies](#ontologies) section) and always opt to use annotations that have been used in existing ecocomDP datasets (see `annotation_dictionary()` function).
331331

332332
# Ontologies and Vocabularies {#ontologies}
333333
#### Natural observation vs. experiment/manipulation

0 commit comments

Comments
 (0)