forked from nationalparkservice/EMLeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
408 lines (386 loc) · 36.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE html>
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Changelog • EMLeditor</title><!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script><!-- Bootstrap --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous"><script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script><!-- bootstrap-toc --><link rel="stylesheet" href="../bootstrap-toc.css"><script src="../bootstrap-toc.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet"><script src="../pkgdown.js"></script><meta property="og:title" content="Changelog"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--></head><body data-spy="scroll" data-target="#toc">
<div class="container template-news">
<header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../index.html">EMLeditor</a>
<span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="">0.1.6</span>
</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"><li>
<a href="../reference/index.html">Reference</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Articles
<span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu"><li>
<a href="../articles/a01_prereqs.html">Pre-Requisites</a>
</li>
<li>
<a href="../articles/a02_EML_creation_script.html">EML Creation Script</a>
</li>
<li>
<a href="../articles/a03_Template_edits.html">Editing .txt Files</a>
</li>
<li>
<a href="../articles/a04_Editing_fixing_eml.html">Editing or fixing EML Files</a>
</li>
<li>
<a href="../articles/a05_advanced_functionality.html">Advanced Functionality</a>
</li>
</ul></li>
<li>
<a href="../news/index.html">Changelog</a>
</li>
</ul><ul class="nav navbar-nav navbar-right"><li>
<a href="https://github.com/nationalparkservice/EMLeditor/" class="external-link">
<span class="fab fa-github fa-lg"></span>
</a>
</li>
</ul></div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
</header><div class="row">
<div class="col-md-9 contents">
<div class="page-header">
<h1 data-toc-skip>Changelog <small></small></h1>
<small>Source: <a href="https://github.com/nationalparkservice/EMLeditor/blob/HEAD/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.6" id="emleditor-v016">EMLeditor v0.1.6<a class="anchor" aria-label="anchor" href="#emleditor-v016"></a></h2>
<div class="section level3">
<h3 id="id_2024-0-1-6">2024-09-17<a class="anchor" aria-label="anchor" href="#id_2024-0-1-6"></a></h3>
<ul><li>Update <code>set_content_units</code> to have correct east and west GPS coordinates for bounding boxes. ## 2024-08-29</li>
<li>Update readme: add R-CMD-CHECK badge; use pak to install instead of devtools</li>
<li>Update licenseName field on restricted references to read, “Unlicensed (not for public dissemination)”</li>
<li>add github actions: build check</li>
<li>add <code>set_project</code> to the EMLscript template (.Rmd) and the github.io documentation pages.</li>
<li>update <code>set_project</code> so that it adds projects instead of replacing them.</li>
<li>update <code>set_project</code> to use cli errors/warnings</li>
<li>add minimal unit test for <code>set_project</code> ## 2024-08-21</li>
<li>add id tag to projects to help DataStore identify DataStore projects vs. other projects. ## 2024-08-20</li>
<li>add helper.R file with a test_path function to facilitate unit tests</li>
<li>update unit test code to run both interactively and during build checks</li>
<li>add yaml file to conduct github actions: build test ## 2024-07-10</li>
<li>add in the new function <code><a href="../reference/set_project.html">set_project()</a></code> and attempt to update existing function, <code><a href="../reference/set_protocol.html">set_protocol()</a></code>.</li>
<li>update license from MIT to CC0. ## 2024-07-02</li>
<li>updated all API requests to user v6 API instead of v7. ## 2024-07-01</li>
<li>Updated <code>.get_park_polygon()</code> to use the latest version of the API rather than a legacy version. ## 2024-06-26</li>
<li>Added new function, <code><a href="../reference/set_new_creator.html">set_new_creator()</a></code> which can add one or more creators to EML. ## 2024-05-01</li>
<li>Fix documentation: typo/formatting for the description of <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> in the EML Creation Script github.io page. ## 2024-04-29</li>
<li>Bug fix for <code><a href="../reference/set_cui.html">set_cui()</a></code> deprecation message: now points to the correct updated function (<code><a href="../reference/set_cui_code.html">set_cui_code()</a></code>).</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-6-1">2024-04-08<a class="anchor" aria-label="anchor" href="#id_2024-0-1-6-1"></a></h3>
<ul><li>Bug fix for <code><a href="../reference/set_doi.html">set_doi()</a></code>, which was not always updating dataTable URLs.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.5" id="emleditor-v015-little-bighorn">EMLeditor v0.1.5 “Little Bighorn”<a class="anchor" aria-label="anchor" href="#emleditor-v015-little-bighorn"></a></h2>
<div class="section level3">
<h3 id="id_2024-0-1-5">2024-04-01<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5"></a></h3>
<ul><li>Fix bug in <code><a href="../reference/set_creator_orcids.html">set_creator_orcids()</a></code>: no longer adds <a href="https://orcid.org/NA" class="external-link uri">https://orcid.org/NA</a> for creators without an orcid.</li>
<li>Added checks in <code><a href="../reference/set_creator_orcids.html">set_creator_orcids()</a></code> such that users must specify NA (not “NA”) and to check that the length of the orcid list supplied matches the length of the authors in metadata (excluding organizational authors).</li>
<li>Updated <code><a href="../reference/set_creator_orcids.html">set_creator_orcids()</a></code> documentation to specify that the function can also be used to remove orcids from authors.</li>
<li>Updated the EML creation script to reference <code><a href="../reference/set_cui_code.html">set_cui_code()</a></code> as opposed to the (now deprecated) <code><a href="../reference/set_cui.html">set_cui()</a></code>.</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-5-1">2024-04-01<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5-1"></a></h3>
<ul><li>Fix bug in <code><a href="../reference/set_cui_code.html">set_cui_code()</a></code> that was detecting both CUI code and CUI marking.</li>
<li>Fix bug in <code><a href="../reference/set_cui_marking.html">set_cui_marking()</a></code>.</li>
<li>Fix bug in <code><a href="../reference/set_creator_order.html">set_creator_order()</a></code>.</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-5-2">2024-03-12<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5-2"></a></h3>
<ul><li>make <code><a href="../reference/write_readme.html">write_readme()</a></code> a non-exported function.</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-5-3">2024-02-29<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5-3"></a></h3>
<ul><li>Add function <code><a href="../reference/get_cui_code.html">get_cui_code()</a></code>. Deprecate function <code><a href="../reference/get_cui.html">get_cui()</a></code>.</li>
<li>Add function <code><a href="../reference/get_cui_marking.html">get_cui_marking()</a></code>.</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-5-4">2024-02-22<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5-4"></a></h3>
<ul><li>Added function <code><a href="../reference/set_missing_data.html">set_missing_data()</a></code> which allows users to add missing data codes and missing data code definitions to metadata.</li>
<li>Added utility functions <code><a href="../reference/dot-get_user_input.html">.get_user_input()</a></code> and <code><a href="../reference/dot-get_user_input3.html">.get_user_input3()</a></code>. Refactored all set_ class functions to use these sub-functions rather than readLines() to get user input.</li>
</ul></div>
<div class="section level3">
<h3 id="id_2024-0-1-5-5">2024-02-13<a class="anchor" aria-label="anchor" href="#id_2024-0-1-5-5"></a></h3>
<ul><li>Deprecated <code><a href="../reference/set_cui.html">set_cui()</a></code> in favor of <code>set_cui_dissem()</code>, which does the exact same thing as <code><a href="../reference/set_cui.html">set_cui()</a></code> but the function name has been updated to distinguish the action of the function from the newly added <code><a href="../reference/set_cui_code.html">set_cui_code()</a></code> function.</li>
<li>Updated the publisher contact email in <code>set_npspublisher()</code> from <a href="mailto:irma@nps.gov" class="email">irma@nps.gov</a> to <a href="mailto:nrss_datastore@nps.gov" class="email">nrss_datastore@nps.gov</a> to reflect DataStore changes in the contact email address.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.4" id="emleditor-v014-mackinac-island">EMLeditor v0.1.4 “Mackinac Island”<a class="anchor" aria-label="anchor" href="#emleditor-v014-mackinac-island"></a></h2>
<div class="section level3">
<h3 id="id_2024-0-1-4">2024-01-18<a class="anchor" aria-label="anchor" href="#id_2024-0-1-4"></a></h3>
<ul><li>Added the function <code><a href="../reference/remove_datastore_files.html">remove_datastore_files()</a></code>, which can detach files from a DataStore Reference. In conjunction with <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> this allows a user to update and make changes to the files in a data package (for instance, in response to review of the data package) prior to activating the data package.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.3" id="emleditor-v013-single-pen">EMLeditor v0.1.3 “Single Pen”<a class="anchor" aria-label="anchor" href="#emleditor-v013-single-pen"></a></h2>
<div class="section level3">
<h3 id="id_2023-0-1-3">2023-11-07<a class="anchor" aria-label="anchor" href="#id_2023-0-1-3"></a></h3>
<ul><li>Updated EML template script to fix typos, remove the write_readme section, and add more explanation of the personnel.txt file.</li>
<li>Updated <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> to use the correct doi prefix when dev = TRUE and display the correct URL upon draft reference creation.</li>
<li>Ported over most of the documentation on the EML Creation Script from the NPS_EML_Script repo to all be held under this repo.</li>
<li>Updated documentation on making EML; updated the Readme to reflect the fact that all EML creation documentation/instructions are now included in the EMLeditor package</li>
<li>Removed the “Get Started” (EMLeditor.rmd) file as it was pretty redundant with the readme.md file.</li>
<li>Updated the template script in R studio to include package provenance for function calls.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.2" id="emleditor-v012-mukooda-trail">EMLeditor v0.1.2 “Mukooda Trail”<a class="anchor" aria-label="anchor" href="#emleditor-v012-mukooda-trail"></a></h2>
<div class="section level3">
<h3 id="id_06-october-0-1-2">06 October 2023<a class="anchor" aria-label="anchor" href="#id_06-october-0-1-2"></a></h3>
<ul><li>Updated <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> and <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> functions to allow them to work with IRMA dev for testing and training purposes.</li>
<li>Updated <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> to prevent file upload if the reference already has files associated with it.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.1" id="emleditor-v011-big-south-fork">EMLeditor v0.1.1 “Big South Fork”<a class="anchor" aria-label="anchor" href="#emleditor-v011-big-south-fork"></a></h2>
<div class="section level3">
<h3 id="id_29-august-0-1-1">29 August 2023<a class="anchor" aria-label="anchor" href="#id_29-august-0-1-1"></a></h3>
<p>Updated all rest API services from v4/v5 to v6. Units services remain at v2.</p>
</div>
<div class="section level3">
<h3 id="id_15-august-0-1-1">15 August 2023<a class="anchor" aria-label="anchor" href="#id_15-august-0-1-1"></a></h3>
<ul><li>Fix bugs in <code>get_authors()</code>
</li>
<li>Fix bugs in <code><a href="../reference/get_abstract.html">get_abstract()</a></code> ## 19 July 2023</li>
<li>Fix examples in <code><a href="../reference/set_creator_orgs.html">set_creator_orgs()</a></code>
</li>
<li>Add function <code><a href="../reference/set_methods.html">set_methods()</a></code> allows user to add or replace existing methods sections.</li>
<li>Add function <code><a href="../reference/get_methods.html">get_methods()</a></code> returns the methods section (as a list)</li>
<li>Add function <code>set_additiona_info()</code> allows the user to set or replace existing addtitionalInfo. AdditionalInfo becomes “Notes” on the DataStore landing page.</li>
<li>Add function <code><a href="../reference/get_additional_info.html">get_additional_info()</a></code> returns the additionalInfo (“notes”) from metadata.</li>
</ul></div>
<div class="section level3">
<h3 id="id_12-july-0-1-1">12 July 2023<a class="anchor" aria-label="anchor" href="#id_12-july-0-1-1"></a></h3>
<ul><li>Add global variable bindings</li>
<li>Fix how set_creator_orcids handles orcids; now takes a 19-char string as input and saves orcid as a 37-char string with “<a href="https://orcid.org/" class="external-link uri">https://orcid.org/</a>” prefix. ## 10 July 2023</li>
<li>Fixed minor typos in EML creation script. ## 30 June 2023</li>
<li>Added a “park_units” parameter to <code><a href="../reference/set_creator_orgs.html">set_creator_orgs()</a></code>. This takes a park unit (or list of park units) and uses the IRMA units service to populate the organizationName with the FullName of the park_unit specified. If you specify park_units, you cannot also specify “creator_orgs” - non-park unit organizations must be added as creators using a separate call to <code><a href="../reference/set_creator_orgs.html">set_creator_orgs()</a></code> (and the creators can subsequently be reorganized using <code><a href="../reference/set_creator_order.html">set_creator_order()</a></code>).</li>
</ul></div>
<div class="section level3">
<h3 id="id_22-june-0-1-1">22 June 2023<a class="anchor" aria-label="anchor" href="#id_22-june-0-1-1"></a></h3>
<ul><li>Bug fix for <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> - previously it only worked if you used <code><a href="../reference/set_cui.html">set_cui()</a></code>, exported to .xml and then re-imported to R. Now you can go straight from <code>set_cuio()</code> to <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code>.</li>
<li>Updated documentation: more information on additional functions available and how to use <code>upload_datapackage()</code> function</li>
<li>updated the EML script template: EMLassemblyline::make_eml now does not write a .xml by default but instead defaults to generating an R object that can subsequently be processed via EMLeditor functions.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.7" id="emleditor-v0107-clingmans-dome">EMLeditor v0.1.0.7 “Clingmans Dome”<a class="anchor" aria-label="anchor" href="#emleditor-v0107-clingmans-dome"></a></h2>
<div class="section level3">
<h3 id="id_16-june-0-1-0-7">16 June 2023<a class="anchor" aria-label="anchor" href="#id_16-june-0-1-0-7"></a></h3>
<ul><li>added the function <code><a href="../reference/set_creator_order.html">set_creator_order()</a></code>, which allows users to re-order the creators (authors on DataStore) as well as remove creators.</li>
</ul></div>
<div class="section level3">
<h3 id="id_14-june-0-1-0-7">14 June 2023<a class="anchor" aria-label="anchor" href="#id_14-june-0-1-0-7"></a></h3>
<ul><li>updates to the EML creation script; the make_eml() function stopped saving an EML object in R and was just writing a .xml to the working directory. Add the the arguments <code>return.obj = TRUE</code> and <code>write.file = FALSE</code> to get it to do the opposite: save an EML object to R for further processing and not write the .xml (so as not to create confusion later on)</li>
<li>added the function <code><a href="../reference/set_creator_orgs.html">set_creator_orgs()</a></code> which allows users to add organizations as creators (authors on DataStore). EMLassemblyline did not appear to support this functionality.</li>
</ul></div>
<div class="section level3">
<h3 id="id_13-june-0-1-0-7">13 June 2023<a class="anchor" aria-label="anchor" href="#id_13-june-0-1-0-7"></a></h3>
<ul><li>added the function <code><a href="../reference/set_creator_orcids.html">set_creator_orcids()</a></code> which allows users to add or edit ORCiDs for individuals (not organizations) listed as creators</li>
</ul></div>
<div class="section level3">
<h3 id="id_12-june-0-1-0-7">12 June 2023<a class="anchor" aria-label="anchor" href="#id_12-june-0-1-0-7"></a></h3>
<ul><li>updated error messages in <code><a href="../reference/get_author_list.html">get_author_list()</a></code> and <code><a href="../reference/get_citation.html">get_citation()</a></code> to be more informative, especially when surName is missing from the creator/individualName</li>
</ul></div>
<div class="section level3">
<h3 id="id_21-april-0-1-0-7">21 April 2023<a class="anchor" aria-label="anchor" href="#id_21-april-0-1-0-7"></a></h3>
<ul><li>updated <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> so that it does not prompt to use <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> if there is no previous doi. Fixed readline prompt cursor on the wrong line. Now generates draft references with blank fields instead of place-holder strings (except for the title).</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.6" id="emleditor-v0106-double-arch">EMLeditor v0.1.0.6 “Double Arch”<a class="anchor" aria-label="anchor" href="#emleditor-v0106-double-arch"></a></h2>
<div class="section level3">
<h3 id="id_19-april-0-1-0-6">19 April 2023<a class="anchor" aria-label="anchor" href="#id_19-april-0-1-0-6"></a></h3>
<ul><li>updated <code><a href="../reference/set_content_units.html">set_content_units()</a></code> to include the attribute “system = content unit link” as part of the geographicCoverage element for each geographicCoverage element that is also a park content unit link (the old text in the field, “NPS Content Unit Link:” will be retained).</li>
</ul></div>
<div class="section level3">
<h3 id="id_18-april-0-1-0-6">18 April 2023<a class="anchor" aria-label="anchor" href="#id_18-april-0-1-0-6"></a></h3>
<ul><li>updated <code><a href="../reference/set_data_urls.html">set_data_urls()</a></code>, <code><a href="../reference/set_doi.html">set_doi()</a></code>, and <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> to handle cases when there is only one dataTable (as well as multiple data tables).</li>
<li>updated <code><a href="../reference/set_cui.html">set_cui()</a></code> to handle cases when there is no previus additionalMetadata element in metadata.</li>
<li>updated <code><a href="../reference/set_cui.html">set_cui()</a></code> and <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> such that they can accept parameters in any case, not just upper (<code><a href="../reference/set_cui.html">set_cui()</a></code>) or lower (<code><a href="../reference/set_int_rights.html">set_int_rights()</a></code>).</li>
</ul></div>
<div class="section level3">
<h3 id="id_13-april-0-1-0-6">13 April 2023<a class="anchor" aria-label="anchor" href="#id_13-april-0-1-0-6"></a></h3>
<ul><li>added <code><a href="../reference/set_data_urls.html">set_data_urls()</a></code> function to update dataTable urls in metadata to correspond to the DOI in the metadata.</li>
<li>updated <code><a href="../reference/get_doi.html">get_doi()</a></code> to add a line return to error message.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.5" id="emleditor-v0105-congaree-boardwalk-loop">EMLeditor v0.1.0.5 “Congaree Boardwalk Loop”<a class="anchor" aria-label="anchor" href="#emleditor-v0105-congaree-boardwalk-loop"></a></h2>
<div class="section level3">
<h3 id="id_12-april-0-1-0-5">12 April 2023<a class="anchor" aria-label="anchor" href="#id_12-april-0-1-0-5"></a></h3>
<ul><li>
<code><a href="../reference/set_doi.html">set_doi()</a></code> and <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> will now automatically update the online urls listed in the metadata for each data file to correspond to the new location. Caution: metadata with a DOI generated prior to 12 April 2023 may have incorrect online URLs.</li>
<li>Attempt to add .Rmd template to Rstudio</li>
</ul></div>
<div class="section level3">
<h3 id="id_04-april-0-1-0-5">04 April 2023<a class="anchor" aria-label="anchor" href="#id_04-april-0-1-0-5"></a></h3>
<ul><li>
<code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> maximum file size increased to 32Mb (from 4Mb)</li>
</ul></div>
<div class="section level3">
<h3 id="id_24-march-0-1-0-5">24 March 2023<a class="anchor" aria-label="anchor" href="#id_24-march-0-1-0-5"></a></h3>
<ul><li>Added tryCatch to <code>.get_park_poygon()</code> to improve error handling for invalid park codes.</li>
<li>Improved <code><a href="../reference/set_content_units.html">set_content_units()</a></code> error handling to specifically test for invalid park codes prior to executing & report list of invalid park codes to user.</li>
<li>Fixed (yet another) bug in <code><a href="../reference/get_content_units.html">get_content_units()</a></code>.</li>
</ul></div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.4" id="emleditor-v0104-acadia">EMLeditor v0.1.0.4 “Acadia”<a class="anchor" aria-label="anchor" href="#emleditor-v0104-acadia"></a></h2>
<div class="section level3">
<h3 id="id_21-march-0-1-0-4">21 March 2023<a class="anchor" aria-label="anchor" href="#id_21-march-0-1-0-4"></a></h3>
<p>Summary</p>
<p>Added a new function <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> that will upload data package files to the appropriate draft reference on DataStore. Individual files must be < 4Mb.</p>
<div class="section level4">
<h4 id="major-changes-0-1-0-4">Major changes:<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-4"></a></h4>
<ul><li>Added <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> that will upload data package files to the appropriate draft reference on DataStore. The function is only compatible with .csv data files and requires a single EML metadata file ending in *_metadata.xml to all be present in a single folder/directory. The metadata file must have a DOI specified. <code><a href="../reference/upload_data_package.html">upload_data_package()</a></code> will extract the DOI from metadata and check to see if a corresponding reference exists on DataStore. If the reference exists, the function will upload each file in the data package (including the metadata file).</li>
</ul></div>
<div class="section level4">
<h4 id="minor-changes-0-1-0-4">Minor changes<a class="anchor" aria-label="anchor" href="#minor-changes-0-1-0-4"></a></h4>
<ul><li>Minor update to <code><a href="../reference/get_doi.html">get_doi()</a></code> points; if DOI doesn’t exist the function now refers users to both <code><a href="../reference/set_doi.html">set_doi()</a></code> and <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code>.</li>
<li>Minor updates to documentation for consistency and grammar.</li>
</ul></div>
</div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.3" id="emleditor-v0103-hall-of-mosses">EMLeditor v0.1.0.3 “Hall of Mosses”<a class="anchor" aria-label="anchor" href="#emleditor-v0103-hall-of-mosses"></a></h2>
<div class="section level3">
<h3 id="february-0-1-0-3">February 24, 2023<a class="anchor" aria-label="anchor" href="#february-0-1-0-3"></a></h3>
<p>Summary</p>
<p>Added a new function, <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> that will initiate a draft reference on DataStore and insert the DOI into metadata</p>
<div class="section level4">
<h4 id="major-changes-0-1-0-3">Major changes:<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-3"></a></h4>
<ul><li>Added a new function, <code>set_datasore_doi()</code> that will initiate a draft reference on DataStore and insert the DOI into metadata. It requires that the user be logged on to the VPN and that the metadata has a title for the data package. The function will warn the user if the metadata already contains a DOI and will ask it they really want to generate a new draft reference and new DOI.</li>
</ul></div>
<div class="section level4">
<h4 id="minor-changes-0-1-0-3">Minor changes<a class="anchor" aria-label="anchor" href="#minor-changes-0-1-0-3"></a></h4>
<ul><li>Updated documentation to reflect the new <code><a href="../reference/set_datastore_doi.html">set_datastore_doi()</a></code> function.</li>
<li>Updated the <code><a href="../reference/get_title.html">get_title()</a></code> and <code><a href="../reference/get_doi.html">get_doi()</a></code> functions to get just the data package title and just the data package DOI, respectively. They had been returning multiple titles and dois if the
<title>
and <alternateidentifier> fields were used multiple times in the metadata.</alternateidentifier></title></li>
</ul></div>
</div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.2" id="emleditor-v0102-devils-tower">EMLeditor v0.1.0.2 “Devils Tower”<a class="anchor" aria-label="anchor" href="#emleditor-v0102-devils-tower"></a></h2>
<div class="section level3">
<h3 id="february-0-1-0-2">February 09, 2023<a class="anchor" aria-label="anchor" href="#february-0-1-0-2"></a></h3>
<div class="section level4">
<h4 id="summary-0-1-0-2">Summary<a class="anchor" aria-label="anchor" href="#summary-0-1-0-2"></a></h4>
<p>Bug fixes, update <code><a href="../reference/set_cui.html">set_cui()</a></code> codes, flesh out <code>set_int_rights</code>. Update documentation.</p>
</div>
<div class="section level4">
<h4 id="major-changes-0-1-0-2">Major changes<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-2"></a></h4>
<ul><li>replaced PUBVER and PUBFUL codes with PUBLIC in <code><a href="../reference/set_cui.html">set_cui()</a></code>.</li>
<li>removed NPSONLY code from <code><a href="../reference/set_cui.html">set_cui()</a></code>.</li>
<li>major bug fixes to <code><a href="../reference/set_content_units.html">set_content_units()</a></code>.</li>
<li>updated <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> to also populate licenseName field.</li>
</ul></div>
<div class="section level4">
<h4 id="minor-changes-0-1-0-2">Minor changes<a class="anchor" aria-label="anchor" href="#minor-changes-0-1-0-2"></a></h4>
<ul><li>fixed minor typos in documentation</li>
<li>moved <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> from “additional functions” to “minimal workflow”</li>
</ul></div>
</div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.1" id="emleditor-v0101-whitebark-pine">EMLeditor v0.1.0.1 “Whitebark Pine”<a class="anchor" aria-label="anchor" href="#emleditor-v0101-whitebark-pine"></a></h2>
<div class="section level3">
<h3 id="january-0-1-0-1">January 24, 2023<a class="anchor" aria-label="anchor" href="#january-0-1-0-1"></a></h3>
<div class="section level4">
<h4 id="summary-0-1-0-1">Summary<a class="anchor" aria-label="anchor" href="#summary-0-1-0-1"></a></h4>
<p>Added <code><a href="../reference/check_eml.html">check_eml()</a></code> function.</p>
</div>
<div class="section level4">
<h4 id="major-changes-0-1-0-1">Major changes<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-1"></a></h4>
<p><code><a href="../reference/check_eml.html">check_eml()</a></code> function is a wrapper that calls <code><a href="https://nationalparkservice.github.io/DPchecker/reference/run_congruence_checks.html" class="external-link">DPchecker::run_congruence_checks()</a></code> with <code>check_metadata-only = TRUE</code>. To run all the metadata-specific tests that will be run during a congruence test.</p>
</div>
<div class="section level4">
<h4 id="minor-changes-0-1-0-1">Minor changes<a class="anchor" aria-label="anchor" href="#minor-changes-0-1-0-1"></a></h4>
<ul><li>specify ISO 639-2B in <code><a href="../reference/set_language.html">set_language()</a></code>
</li>
<li>added documentation for <code><a href="../reference/check_eml.html">check_eml()</a></code>
</li>
<li>Changed Non-NPS user section to more apt, “Custom Publisher/Producer”</li>
<li>added a “Additional Functions” section in addition to the Minimal Workflow that outlines functions like <code><a href="../reference/set_title.html">set_title()</a></code>, <code><a href="../reference/set_abstract.html">set_abstract()</a></code> and <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code>.</li>
<li>moved <code><a href="../reference/write_readme.html">write_readme()</a></code> and the new <code><a href="../reference/check_eml.html">check_eml()</a></code> to the file check_eml.R.</li>
</ul><hr></div>
</div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.1.0.0" id="emleditor-v0100-electric-peak">EMLeditor v0.1.0.0, “Electric Peak”<a class="anchor" aria-label="anchor" href="#emleditor-v0100-electric-peak"></a></h2>
<div class="section level3">
<h3 id="december-0-1-0-0">December 1, 2022<a class="anchor" aria-label="anchor" href="#december-0-1-0-0"></a></h3>
<div class="section level4">
<h4 id="summary-0-1-0-0">Summary<a class="anchor" aria-label="anchor" href="#summary-0-1-0-0"></a></h4>
<p>Added <code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> function.</p>
</div>
<div class="section level4">
<h4 id="major-changes-0-1-0-0">Major Changes<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-0"></a></h4>
<p><code><a href="../reference/set_int_rights.html">set_int_rights()</a></code> allows users to update the intellectual rights text supplied by 3rd party EML generators with one of 3 NPS-specific options. Enforces congruence between CUI and license.</p>
<hr></div>
</div>
<div class="section level3">
<h3 id="november-0-1-0-0">November, 2022<a class="anchor" aria-label="anchor" href="#november-0-1-0-0"></a></h3>
<div class="section level4">
<h4 id="summary-0-1-0-0-1">Summary<a class="anchor" aria-label="anchor" href="#summary-0-1-0-0-1"></a></h4>
<p>Updating to v0.1.0.0 “Electric Peak” is recommended for all users in order to take full advantage of metadata/DataStore integration included the most up-to-date locations and specifications for DataStore metadata elements.</p>
</div>
<div class="section level4">
<h4 id="major-changes-0-1-0-0-1">Major Changes<a class="anchor" aria-label="anchor" href="#major-changes-0-1-0-0-1"></a></h4>
<ol style="list-style-type: decimal"><li><p>The ability to switch “set_” class functions from a verbose (asks user for input, provides feedback) to silent (no feedback, no prompts) to enable scripting.</p></li>
<li><p>Inclusion of set_publisher function to customize the publisher and agencyOriginated options for non-NPS users, for NPS partners and contractors.</p></li>
</ol></div>
<div class="section level4">
<h4 id="enhancements-0-1-0-0">Enhancements<a class="anchor" aria-label="anchor" href="#enhancements-0-1-0-0"></a></h4>
<ol style="list-style-type: decimal"><li><p>CUI can now be overwritten as well as written</p></li>
<li><p>write_readme dynamically populates publisher information</p></li>
<li><p>Renamed functions and parameters to conform to tidyverse style guides</p></li>
<li><p>Removed redundant functions (set_doi)</p></li>
<li><p>Added ability to set DRR title and DOI</p></li>
<li><p>write_readme now defaults to printing to the screen (but can still save to a .txt file)</p></li>
<li><p>Update documentation to reflect changes</p></li>
</ol></div>
<div class="section level4">
<h4 id="bug-fixes-0-1-0-0">Bug Fixes<a class="anchor" aria-label="anchor" href="#bug-fixes-0-1-0-0"></a></h4>
<p>Let’s just leave this at “a lot”.</p>
<hr></div>
</div>
</div>
<div class="section level2">
<h2 class="page-header" data-toc-text="0.0.1.1" id="emleditor-0011">EMLeditor 0.0.1.1<a class="anchor" aria-label="anchor" href="#emleditor-0011"></a></h2>
<ul><li>Added a <code>NEWS.md</code> file to track changes to the package.</li>
</ul></div>
</div>
<div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
<nav id="toc" data-toggle="toc" class="sticky-top"><h2 data-toc-skip>Contents</h2>
</nav></div>
</div>
<footer><div class="copyright">
<p></p><p>Developed by Robert Baker, Judd Patterson.</p>
</div>
<div class="pkgdown">
<p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.1.</p>
</div>
</footer></div>
</body></html>