-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit and spellcheck * set.version now dynamically writes current packageVersion() * set.version now dynamically writes packageVersion() to EML * replace 1:length() with seq_along() to better handle edge cases (e.g. where the vector is empty) * 1:length to seq_along to deal with edge cases in for loops - specifically empty vectors * add set.Title. fix spelling on set.DRRdoi * fix spelling for get.DRRdoi * minor spelling changes and updates to documentation * initial commit * add set.title via document() * update set.parkUnits: now includes id=UnitConnections; includes required child tags with dummy bounding coordinates set to 0. * update set.parkUnits documentation * update set.parkUnits .Rd via devtools::document() * update set.DRRdoi to create required child elements for EML validation. * update set.DRRdoi documentation via devtools::document() * limit CUI argument options in set.CUI to one of 6 accepted CUI codes. * update set.Version to work result in schema-valid EML. I think. * update set.CUI to generate schema-valid EML. I hope. * update set.version documentation * set.NPSpublisher now yields schema-valid EML (I hope) * update documentation via devtools::document() * set.parkUnits now accepts a list of strings as park units, generates a separate geographic coverage element for each unit, auto-populates the corresponding bounding boxes for each unit. * add get.UnitPolygon * add get.unitPolygon (from IMDQC: could use remotes IF IMDQC was confirmed to work) * get.UnitPolygon to get.unitPolygon in set.parkUnits * update get.parkUnits to handle multiple separate <geographicCoverage> elements. * fix set.version. AGAIN. * turn set.version back on after bug fix * add get.unitPolygon from utils.R * initial commit * update via devtools::document() * fix reference to eml_validate * fix set.CUI: now works no matter whether additionalMetadata elements already exist. Cannot overwrite existing CUI, just stops. * fix set.version to work no matter the number of additionalMetadata elements (0, 1, 2 ... N) * minor spelling fix in documentation * set.Publisher now checks just eml$dataset$publisher and replaces it with desired info. Leaves other instances of $publisher alone. * add license file * add mit license; add Imports httr, readr, sf * initial commit * update edit.DOI documentation * update set.NPSpublisher documentation * change edit.DOI to new.DOI * edit.DOI to new.DOI; add NPSONLY as a CUIcode to set.CUI * minor edits during package checking/debug * remove alaised functions during debug * deleted: changed function name to new.DOI * removed aliased functions during debug * minor documentation changes during debug * initial commit * minor changes in documentation to reflect new CUIcode * add set.forByNPS * add set.forByNPS function; make set.NPSpublisher call the set.forByNPS subfunction. * update documentation to include subfunction set.forByNPS * initial commit * change set.byOrForNPS to set.forByNPS * update set.byOrForNPS to set.forByNPS * update set.forByNPS * update documentation via devtools::document() * version 0.0.0.9000 to v0.0.1.0 * version incrimented to 0.0.1.0. Info about "by or for NPS" added.
- Loading branch information
Showing
32 changed files
with
547 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
^EMLeditor\.Rproj$ | ||
^\.Rproj\.user$ | ||
^README\.Rmd$ | ||
^LICENSE\.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
Package: EMLeditor | ||
Title: View and Edit EML | ||
Version: 0.0.0.9000 | ||
Version: 0.0.1.0 | ||
Authors@R: | ||
person("Robert", "Baker", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0001-7591-5035")) | ||
Description: This package will be of most use to the U.S. National Park Service data scientists and managers seeking to generate EML-formatted metadata for datapackages. EML-formatted .xml files are typically constructed using EDI's EMLassemblyline package and then imported as an R-object using the EML package. EMLeditor allows the user to view the contents of the R object and add aspects of metadata crucial for publication in the U.S. National Park Service DataStore repository. For instance, a user can view and edit a DOI, a link to a DRR, Park Unit connections, information about Confidential Unclassified Information (CUI), and more. EMLeditor allows the user to write a mockup of a README.txt to preview what the README automatically generated by DataStore upon upload will look like. | ||
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a | ||
license | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.1 | ||
|
@@ -20,3 +19,7 @@ Depends: | |
lubridate, | ||
reader | ||
Remotes: NCEAS/arcticdatautils | ||
Imports: | ||
httr, | ||
readr, | ||
sf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
YEAR: 2022 | ||
COPYRIGHT HOLDER: EMLeditor authors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# MIT License | ||
|
||
Copyright (c) 2022 EMLeditor authors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.