diff --git a/DESCRIPTION b/DESCRIPTION
index 160efde..32eb50e 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -27,7 +27,6 @@ Remotes:
Imports:
httr,
readr,
- sf,
utils,
EML,
magrittr,
@@ -46,15 +45,16 @@ Imports:
curl,
mockr,
rlang,
- ISOcodes,
- gdata
Suggests:
arcticdatautils,
stargazer,
knitr,
rmarkdown,
testthat (>= 3.0.0),
- QCkit
+ QCkit,
+ ISOcodes,
+ gdata,
+ sf
Config/testthat/edition: 3
URL: https://github.com/nationalparkservice/EMLeditor
VignetteBuilder: knitr
diff --git a/NEWS.md b/NEWS.md
index fb87788..d7efc95 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,3 +1,9 @@
+# EMLeditor v0.1.7 (under development)
+## 2024-10-23
+ * updates and fixes to documentation including spelling, grammar, and clarity
+ * remove non-exported functions from documentation
+ * move several packages from Imports to Suggests (ISOcodes, sf, gdata)
+
# EMLeditor v0.1.6
## 2024-09-17
* Update `set_content_units` to have correct east and west GPS coordinates for bounding boxes.
diff --git a/R/utils.R b/R/utils.R
index 3ef7f5f..a9fe7da 100644
--- a/R/utils.R
+++ b/R/utils.R
@@ -49,6 +49,7 @@ globalVariables(c("UnitCode",
#' @param eml_object is an R object imported (typically from an EML-formatted .xml file) using EmL::read_eml( Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. Site built with pkgdown 2.1.1. Site built with pkgdown 2.1.0. .get_unit_polygon gets the polygon for a given park unit. The "polygon" pulled is a convexhull, the polygon is provided as in Well Known Text (WKT) format. well known text (wkt) convex hull of an NPS park unit. retrieves a geoJSON string for a polygon of a park unit from NPS Rest services. Note: This is not the official boundary (erm... ok then what is it?!?). Prompts for, gets, and returns binary user input (1 or 2) Factor. 1 or 2. Does not prompt for user input. Takes any user input supplied and returns it. character, typically 1, 2, or 3 but could be any character string. .set_for_by_nps adds an element to additionalMetadata with For or By NPS set to TRUE and a second element agencyOriginated set to "NPS" with the understanding that all data products created for or by the NPS have NPS as the originating agency. eml_object .set_npspublisher injects static NPS-specific publisher info into eml documents. Calls the sub-function set.forOrByNPS, which adds an additionalMetadata element with for or by NPS = TRUE. eml_object checks to see if the publisher element exists, and if not injects NPS-specific info into EML such as publisher, publication location, and ROR id - the types of things that will be the same for all NPS data or non-data publications and do not require user input. This function will be embedded in all set. and write. class functions (and get. functions?). .set_version adds the current version of EMLeditor to the EML document. eml_object .set_version adds the current version of EMLeditor to the metadata, specifically in the "additionalMetadata" elementPage not found (404)
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html
index 7d2b330..7b6f452 100644
--- a/docs/LICENSE-text.html
+++ b/docs/LICENSE-text.html
@@ -87,7 +87,7 @@ License
diff --git a/docs/LICENSE.html b/docs/LICENSE.html
index 6dd5efe..c9618a6 100644
--- a/docs/LICENSE.html
+++ b/docs/LICENSE.html
@@ -118,7 +118,7 @@ Statement of Purpose
-
A text editor
-
Upload your data package
-
additional_info
-
Write your edits to .xml
-
View all functions
-
All vignettes
diff --git a/docs/authors.html b/docs/authors.html
index 068f09a..d8073bb 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -118,7 +118,7 @@ Citation
diff --git a/docs/index.html b/docs/index.html
index d9647ad..7b96d59 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -192,7 +192,7 @@ Dev status
diff --git a/docs/news/index.html b/docs/news/index.html
index 2a8132c..4c6de01 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -69,6 +69,15 @@ Changelog
Source: NEWS.md
+
EMLeditor v0.1.6
2024-02-29
2024-02-22
set_missing_data()
which allows users to add missing data codes and missing data code definitions to metadata..get_user_input()
and .get_user_input3()
. Refactored all set_ class functions to use these sub-functions rather than readLines() to get user input..get_user_input()
and .get_user_input3()
. Refactored all set_ class functions to use these sub-functions rather than readLines() to get user input.Author
diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png
deleted file mode 100644
index 17a3580..0000000
Binary files a/docs/reference/Rplot001.png and /dev/null differ
diff --git a/docs/reference/check_eml.html b/docs/reference/check_eml.html
index 3bdd793..9eb515c 100644
--- a/docs/reference/check_eml.html
+++ b/docs/reference/check_eml.html
@@ -110,7 +110,7 @@ Examples
diff --git a/docs/reference/dot-get_unit_polygon.html b/docs/reference/dot-get_unit_polygon.html
deleted file mode 100644
index 29392c0..0000000
--- a/docs/reference/dot-get_unit_polygon.html
+++ /dev/null
@@ -1,128 +0,0 @@
-
-.get_unit_polygon(unit_code)
Value
- Details
- Examples
- if (FALSE) { # \dontrun{
-poly <- .get_unit_polygon("BICY")
-} # }
-
.get_user_input()
Value
- Examples
- if (FALSE) { # \dontrun{
-var1 <- .get_user_input()
-} # }
-
.get_user_input3()
Value
- Examples
- if (FALSE) { # \dontrun{
-var1 <- .get_user_input3()
-} # }
-
.set_for_by_nps(eml_object)
Arguments
-
-
-Value
- Examples
- if (FALSE) { # \dontrun{
-.set_for_by_nps(eml_object)
-} # }
-
.set_npspublisher(eml_object)
Arguments
-
-
-Value
- Details
- Examples
- if (FALSE) { # \dontrun{
-.set_npspublisher(eml_object)
-} # }
-
.set_version(eml_object)
Arguments
-
-
-Value
- Details
- Examples
- if (FALSE) { # \dontrun{
-.set_version(eml_object)
-} # }
-
Examples
diff --git a/docs/reference/get_additional_info.html b/docs/reference/get_additional_info.html
index 6a24818..b749e1c 100644
--- a/docs/reference/get_additional_info.html
+++ b/docs/reference/get_additional_info.html
@@ -110,7 +110,7 @@ Examples
diff --git a/docs/reference/get_author_list.html b/docs/reference/get_author_list.html
index a045cbc..15df561 100644
--- a/docs/reference/get_author_list.html
+++ b/docs/reference/get_author_list.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_begin_date.html b/docs/reference/get_begin_date.html
index 7fc91e1..429bf5f 100644
--- a/docs/reference/get_begin_date.html
+++ b/docs/reference/get_begin_date.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_citation.html b/docs/reference/get_citation.html
index a3b05b2..e856a8f 100644
--- a/docs/reference/get_citation.html
+++ b/docs/reference/get_citation.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_content_units.html b/docs/reference/get_content_units.html
index 4b405bf..97b53ec 100644
--- a/docs/reference/get_content_units.html
+++ b/docs/reference/get_content_units.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_cui.html b/docs/reference/get_cui.html
index 3d2c337..d1c22ef 100644
--- a/docs/reference/get_cui.html
+++ b/docs/reference/get_cui.html
@@ -116,7 +116,7 @@ Examples
diff --git a/docs/reference/get_cui_code.html b/docs/reference/get_cui_code.html
index 60a24d9..1b95620 100644
--- a/docs/reference/get_cui_code.html
+++ b/docs/reference/get_cui_code.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_cui_marking.html b/docs/reference/get_cui_marking.html
index 86633e0..e9b8212 100644
--- a/docs/reference/get_cui_marking.html
+++ b/docs/reference/get_cui_marking.html
@@ -115,7 +115,7 @@ Examples
diff --git a/docs/reference/get_doi.html b/docs/reference/get_doi.html
index ea6745d..aa17149 100644
--- a/docs/reference/get_doi.html
+++ b/docs/reference/get_doi.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_drr_doi.html b/docs/reference/get_drr_doi.html
index c18fe5c..06f937e 100644
--- a/docs/reference/get_drr_doi.html
+++ b/docs/reference/get_drr_doi.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_drr_title.html b/docs/reference/get_drr_title.html
index f4441ef..8c040df 100644
--- a/docs/reference/get_drr_title.html
+++ b/docs/reference/get_drr_title.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_ds_id.html b/docs/reference/get_ds_id.html
index 5e9b0ff..11d6457 100644
--- a/docs/reference/get_ds_id.html
+++ b/docs/reference/get_ds_id.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_end_date.html b/docs/reference/get_end_date.html
index d32b419..28bf264 100644
--- a/docs/reference/get_end_date.html
+++ b/docs/reference/get_end_date.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_file_info.html b/docs/reference/get_file_info.html
index 0f5eef8..ffb0105 100644
--- a/docs/reference/get_file_info.html
+++ b/docs/reference/get_file_info.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_lit.html b/docs/reference/get_lit.html
index df22560..c832f9e 100644
--- a/docs/reference/get_lit.html
+++ b/docs/reference/get_lit.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/get_methods.html b/docs/reference/get_methods.html
index 688840f..8281388 100644
--- a/docs/reference/get_methods.html
+++ b/docs/reference/get_methods.html
@@ -112,7 +112,7 @@ Examples
diff --git a/docs/reference/get_producing_units.html b/docs/reference/get_producing_units.html
index 6147923..f485d13 100644
--- a/docs/reference/get_producing_units.html
+++ b/docs/reference/get_producing_units.html
@@ -110,7 +110,7 @@ Examples
diff --git a/docs/reference/get_publisher.html b/docs/reference/get_publisher.html
index c403d6b..7e22be7 100644
--- a/docs/reference/get_publisher.html
+++ b/docs/reference/get_publisher.html
@@ -110,7 +110,7 @@ Examples
diff --git a/docs/reference/get_title.html b/docs/reference/get_title.html
index 4bd2af0..41aebf8 100644
--- a/docs/reference/get_title.html
+++ b/docs/reference/get_title.html
@@ -114,7 +114,7 @@ Examples
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 662a9ee..d5b3fd3 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -76,30 +76,6 @@ All functions
check_eml()
Run checks on EML
Get Park Unit Polygon
Get Binary User Input
Get open ended user input
Set "For or By" NPS
inject NPS Publisher info into metadata
Add/update EMLeditor version