Skip to content

Commit

Permalink
re-rendered website again
Browse files Browse the repository at this point in the history
  • Loading branch information
lsinks committed Nov 3, 2023
1 parent c131bc6 commit 11893a5
Show file tree
Hide file tree
Showing 132 changed files with 1,240 additions and 37,980 deletions.

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions docs/listings.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,13 @@
"/posts/2023-03-21-tidytuesday-programming-languages/index.html",
"/posts/2023-03-14-tester-post/index.html"
]
},
{
"listing": "/portfolio.html",
"items": [
"/portfolio/Femtosecond_Laser_Spectroscopy/Femtosecond_Laser_Spectroscopy.html",
"/portfolio/Nanomaterials_USNano/Nanomaterials_USNano.html",
"/portfolio/Phosphorescence_Lifetime_Imaging/Phosphorescence_Lifetime_Imaging.html"
]
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/portfolio/Nanomaterials_USNano/Picture1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/portfolio/Nanomaterials_USNano/jetting.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/portfolio/Nanomaterials_USNano/nw_strip.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/portfolio/Nanomaterials_USNano/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions docs/posts-r-code.xml
Original file line number Diff line number Diff line change
Expand Up @@ -264,23 +264,23 @@ font-style: inherit;">"href"</span>)</span>
<dl class="code-annotation-container-grid">
<dt data-target-cell="annotated-cell-5" data-target-annotation="1">1</dt>
<dd>
<span data-code-cell="annotated-cell-5" data-code-lines="1" data-code-annotation="1">Select the elements we want out of the HTML using <code>rvest::html_nodes()</code>. The XPath code specifies that I want `a’ tags that are children of the table. Store it in link_nodes.</span>
<span data-code-lines="1" data-code-cell="annotated-cell-5" data-code-annotation="1">Select the elements we want out of the HTML using <code>rvest::html_nodes()</code>. The XPath code specifies that I want `a’ tags that are children of the table. Store it in link_nodes.</span>
</dd>
<dt data-target-cell="annotated-cell-5" data-target-annotation="2">2</dt>
<dd>
<span data-code-cell="annotated-cell-5" data-code-lines="2" data-code-annotation="2">An alternate method is to use the more standard CSS selectors, but again, we want the <code>&lt;a&gt;</code> elements that are children of the table. It is commented out here, but it produces identical results as 1.</span>
<span data-code-lines="2" data-code-cell="annotated-cell-5" data-code-annotation="2">An alternate method is to use the more standard CSS selectors, but again, we want the <code>&lt;a&gt;</code> elements that are children of the table. It is commented out here, but it produces identical results as 1.</span>
</dd>
<dt data-target-cell="annotated-cell-5" data-target-annotation="3">3</dt>
<dd>
<span data-code-cell="annotated-cell-5" data-code-lines="4" data-code-annotation="3">The link_node contains both the URL and the text. Here, I extract the text. There are <a href="https://rvest.tidyverse.org/reference/html_text.html">two methods in the rvest package</a>: <code>html_text()</code> is faster but might include formatting information relating to whitespace. <code>html_text2()</code> is slower but produces cleaner output.</span>
<span data-code-lines="4" data-code-cell="annotated-cell-5" data-code-annotation="3">The link_node contains both the URL and the text. Here, I extract the text. There are <a href="https://rvest.tidyverse.org/reference/html_text.html">two methods in the rvest package</a>: <code>html_text()</code> is faster but might include formatting information relating to whitespace. <code>html_text2()</code> is slower but produces cleaner output.</span>
</dd>
<dt data-target-cell="annotated-cell-5" data-target-annotation="4">4</dt>
<dd>
<span data-code-cell="annotated-cell-5" data-code-lines="5" data-code-annotation="4">Now, I store the text in a dataframe.</span>
<span data-code-lines="5" data-code-cell="annotated-cell-5" data-code-annotation="4">Now, I store the text in a dataframe.</span>
</dd>
<dt data-target-cell="annotated-cell-5" data-target-annotation="5">5</dt>
<dd>
<span data-code-cell="annotated-cell-5" data-code-lines="10" data-code-annotation="5">Now, I loop through the text dataframe and add on the matching URL that we extract from link_nodes using <code>html_attr("href")</code>. I had mentioned that the elements could contain attributes- attributes are additional features of the element and are expressed in the code as <code>attribute = value</code>. In this case, the format is something like <code>href= "https://sarpatriots.sar.org/patriot/display/335209"</code></span>
<span data-code-lines="10" data-code-cell="annotated-cell-5" data-code-annotation="5">Now, I loop through the text dataframe and add on the matching URL that we extract from link_nodes using <code>html_attr("href")</code>. I had mentioned that the elements could contain attributes- attributes are additional features of the element and are expressed in the code as <code>attribute = value</code>. In this case, the format is something like <code>href= "https://sarpatriots.sar.org/patriot/display/335209"</code></span>
</dd>
</dl>
</div>
Expand Down Expand Up @@ -8046,7 +8046,7 @@ Sinks, Louise E. 2023. <span>“TidyTuesday: Exploring Refugee Flow with A
Sankey Diagram.”</span> August 28, 2023. <a href="https://lsinks.github.io/posts/2023-08-28-TidyTuesday-Refugees/TidyTuesday34-refugees.html">https://lsinks.github.io/posts/2023-08-28-TidyTuesday-Refugees/TidyTuesday34-refugees.html</a>.
</div></div></section></div> ]]></description>
<category>R</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>R-code</category>
<category>code-along</category>
<category>data visualization</category>
Expand Down Expand Up @@ -11736,7 +11736,7 @@ August 15, 2023. <a href="https://lsinks.github.io/posts/2023-08-15-TidyTuesday-
<category>R</category>
<category>R-code</category>
<category>code-along</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>corrplot</category>
<guid>https://lsinks.github.io/posts/2023-08-15-TidyTuesday-Twofer/tidytuesday-twofer.html</guid>
<pubDate>Tue, 15 Aug 2023 04:00:00 GMT</pubDate>
Expand Down Expand Up @@ -38374,7 +38374,7 @@ Temperature.”</span> July 11, 2023. <a href="https://lsinks.github.io/posts/20
<category>R</category>
<category>R-code</category>
<category>code-along</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>tidy</category>
<category>gganimate</category>
<guid>https://lsinks.github.io/posts/2023-07-11-tidytuesday-temps/temperatures.html</guid>
Expand Down Expand Up @@ -39700,7 +39700,7 @@ Sinks, Louise E. 2023. <span>“TidyTuesday Week 27: Historical
Markers.”</span> July 4, 2023. <a href="https://lsinks.github.io/posts/2023-07-04-historic-markers/markers.html">https://lsinks.github.io/posts/2023-07-04-historic-markers/markers.html</a>.
</div></div></section></div> ]]></description>
<category>R</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>R-code</category>
<category>data visualization</category>
<category>sf</category>
Expand Down Expand Up @@ -43919,7 +43919,7 @@ Sinks, Louise E. 2023. <span>“Tidy Tuesday: US Populated Places.”</span>
June 27, 2023. <a href="https://lsinks.github.io/posts/2023-06-27-tidytuesday-US-populated-places/arlington-neighborhoods.html">https://lsinks.github.io/posts/2023-06-27-tidytuesday-US-populated-places/arlington-neighborhoods.html</a>.
</div></div></section></div> ]]></description>
<category>R</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>R-code</category>
<category>data visualization</category>
<category>openxlsx</category>
Expand Down Expand Up @@ -45528,7 +45528,7 @@ Sinks, Louise E. 2023. <span>“TidyTuesday Week 18: Portal
Project.”</span> May 2, 2023. <a href="https://lsinks.github.io/posts/2023-05-02-tidytuesday-portal-project/portal.html">https://lsinks.github.io/posts/2023-05-02-tidytuesday-portal-project/portal.html</a>.
</div></div></section></div> ]]></description>
<category>R</category>
<category>TidyTuesday</category>
<category>tidyTuesday</category>
<category>R-code</category>
<category>code-along</category>
<category>data visualization</category>
Expand Down
Loading

0 comments on commit 11893a5

Please sign in to comment.