Skip to content

Commit

Permalink
lifecycle deprecated; point to EMLeditor and NPSdataverse
Browse files Browse the repository at this point in the history
  • Loading branch information
RobLBaker committed Dec 13, 2023
1 parent b3830da commit fcc5830
Showing 1 changed file with 37 additions and 36 deletions.
73 changes: 37 additions & 36 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,8 @@
</style>

<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"/>
<link href="site_libs/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"/>
<script src="site_libs/headroom-0.9.4/headroom.min.js"></script>
<script src="site_libs/autocomplete-0.37.1/autocomplete.min.js"></script>
<script src="site_libs/fuse-6.4.1/fuse.min.js"></script>
Expand Down Expand Up @@ -829,9 +829,21 @@ <h3>${suggestion.title}</h3>
display: none !important;
}

hr.section-separator {
border: none;
border-top: 1px solid rgba(0, 0, 0, 0.1);
margin: 0px;
}


d-byline {
border-top: none;
}

d-article {
padding-top: 2.5rem;
padding-bottom: 30px;
border-top: none;
}

d-appendix {
Expand Down Expand Up @@ -928,6 +940,11 @@ <h3>${suggestion.title}</h3>
font-size: 14px;
}

/* tweak for Pandoc numbered line within distill */
d-article pre.numberSource code > span {
left: -2em;
}

d-article pre {
font-size: 14px;
}
Expand Down Expand Up @@ -1687,6 +1704,12 @@ <h3>${suggestion.title}</h3>
// create d-title
$('.d-title').changeElementType('d-title');

// separator
var separator = '<hr class="section-separator" style="clear: both"/>';
// prepend separator above appendix
$('.d-byline').before(separator);
$('.d-article').before(separator);

// create d-byline
var byline = $('<d-byline></d-byline>');
$('.d-byline').replaceWith(byline);
Expand Down Expand Up @@ -1764,8 +1787,9 @@ <h3>${suggestion.title}</h3>
$('.distill-force-highlighting-css').parent().remove();

// remove empty line numbers inserted by pandoc when using a
// custom syntax highlighting theme
$('code.sourceCode a:empty').remove();
// custom syntax highlighting theme, except when numbering line
// in code chunk
$('pre:not(.numberLines) code.sourceCode a:empty').remove();

// load distill framework
load_distill_framework();
Expand All @@ -1791,12 +1815,13 @@ <h3>${suggestion.title}</h3>
// add orcid ids
$('.authors-affiliations').find('.author').each(function(i, el) {
var orcid_id = front_matter.authors[i].orcidID;
var author_name = front_matter.authors[i].author
if (orcid_id) {
var a = $('<a></a>');
a.attr('href', 'https://orcid.org/' + orcid_id);
var img = $('<img></img>');
img.addClass('orcid-id');
img.attr('alt', 'ORCID ID');
img.attr('alt', author_name ? 'ORCID ID for ' + author_name : 'ORCID ID');
img.attr('src','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGF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@ <h3>${suggestion.title}</h3>
</script>

<!--/radix_placeholder_distill-->
<script src="site_libs/header-attrs-2.20/header-attrs.js"></script>
<script src="site_libs/header-attrs-2.25/header-attrs.js"></script>
<script src="site_libs/popper-2.6.0/popper.min.js"></script>
<link href="site_libs/tippy-6.2.7/tippy.css" rel="stylesheet" />
<link href="site_libs/tippy-6.2.7/tippy-light-border.css" rel="stylesheet" />
Expand Down Expand Up @@ -2134,6 +2159,7 @@ <h3>${suggestion.title}</h3>

<div class="d-title">
<h1>NPS EML Scripting</h1>

<!--radix_placeholder_categories-->
<!--/radix_placeholder_categories-->
<p><p>Resources and Guides for using EMLassemblyline to create EML for National Park Service data packages</p></p>
Expand All @@ -2145,42 +2171,17 @@ <h1>NPS EML Scripting</h1>
<nav class="l-text toc figcaption" id="TOC">
<h3>Contents</h3>
<ul>
<li><a href="#overview">Overview</a></li>
<li><a href="#quickstart">Quickstart</a></li>
<li><a href="#comprehensive-guide">Comprehensive guide</a></li>
<li><a href="#additional-documentation">Additional Documentation</a></li>
<li><a href="#acknowledgements">Acknowledgements</a></li>
<li><a href="#this-repo-has-been-deprecated" id="toc-this-repo-has-been-deprecated">This repo has been deprecated</a></li>
</ul>
</nav>
</div>
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- badges: start -->
<p><a href="https://www.tidyverse.org/lifecycle/#experimental"><img src="https://img.shields.io/badge/lifecycle-experimental-orange.svg" alt="Lifecycle: experimental" /></a>
<p><a href="https://www.tidyverse.org/lifecycle/#deprecated"><img src="https://img.shields.io/badge/lifecycle-deprecated-red.svg" alt="Lifecycle: deprecated" /></a>
<!-- badges: end --></p>
<h1 id="overview">Overview</h1>
<p>Creating Ecological Metadata Language (EML) metadata for NPS data packages is a two-step process.</p>
<p>The first step is to generate an EML formatted .xml file. There are a number of tools for generating this initial file. This repo contains an R script, instructions, and an example of how to use EMLassemblyline to generate an initial EML metadata file while taking into consideration NPS data package specifications and requirements for uploading to DataStore.</p>
<p>No matter the method of generating the initial EML file, the second step is to add NPS-specific information to the EML metadata (for instance, the data pacakge DOI, links to the DRR, information about CUI, producing units and unit connections). Currently, the only tool for adding NPS-specific metadata is the <a href="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/nationalparkservice/EMLeditor">R/EMLeditor</a> package. Editing EML by hand is not advised.</p>
<p>This is an early version of this template. Please request enhancements and bug fixes through <a href="https://github.com/nationalparkservice/NPS_EML_Script/issues">Issues</a>.</p>
<p>You can also directly access the <a href="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/nationalparkservice/NPS_EML_Script">source files</a> for this webpage and the entire repo, as well as download the entire repo as <a href="https://github.com/nationalparkservice/NPS_EML_Script/zipball/master">zip file</a>.</p>
<h1 id="quickstart">Quickstart</h1>
<p>To jump right into creating EML, check out our <a href="quick_start.html">quickstart quide</a>.</p>
<h1 id="comprehensive-guide">Comprehensive guide</h1>
<p>For more details including:
* Prerequisites and installation instructions
* A step-by-step guide
* Example files and code as well as examples of results
* Detailed examples on how to edit templates
* Much, much more</p>
<p>Please see the <a href="comprehensive_guide.html">Comprehensive Guide</a> to using EMLassemblyline for NPS metadata creation.</p>
<h1 id="additional-documentation">Additional Documentation</h1>
<ol type="1">
<li>The original <a href="https://ediorg.github.io/EMLassemblyline/articles/edit_tmplts.html">EDI guidelines</a> for creating EML.</li>
<li>Additional <a href="https://eml.ecoinformatics.org/">information about EML</a>.</li>
<li>The official <a href="https://eml.ecoinformatics.org/schema/index.html">EML schema</a>.</li>
</ol>
<h1 id="acknowledgements">Acknowledgements</h1>
<p>EMLassemblyline and much of the excellent original documentation was developed by the Environmental Data Initiative. We have simply modified and annotated that documentation to make it more relevant to NPS.</p>
<h1 id="this-repo-has-been-deprecated">This repo has been deprecated</h1>
<p>The scripts and documentation in this repo are no longer being maintained and are very likely out of date.</p>
<p>The contents of this repo including the EML creation script and all documentation can now be found in the R package <a href="https://nationalparkservice.github.io/EMLeditor/">EMLeditor</a>, which is part of the <a href="https://nationalparkservice.github.io/NPSdataverse/">NPSdataverse</a>.</p>
<div class="sourceCode" id="cb1"><pre class="sourceCode r distill-force-highlighting-css"><code class="sourceCode r"></code></pre></div>
<!--radix_placeholder_article_footer-->
<!--/radix_placeholder_article_footer-->
Expand Down

0 comments on commit fcc5830

Please sign in to comment.