Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Nov 22, 2024
1 parent 0607e1c commit 8db5bdf
Show file tree
Hide file tree
Showing 12 changed files with 68 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
60e0a513
57b2985b
9 changes: 6 additions & 3 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.37">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -35,10 +35,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-29e2c20b02301cfff04dc8050bf30c7e.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -232,6 +232,8 @@ <h1 class="title">About</h1>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -342,6 +344,7 @@ <h1 class="title">About</h1>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
9 changes: 6 additions & 3 deletions choroplethr.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.37">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -69,10 +69,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-29e2c20b02301cfff04dc8050bf30c7e.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -312,6 +312,8 @@ <h1 class="title">Choroplethr</h1>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -422,6 +424,7 @@ <h1 class="title">Choroplethr</h1>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.37">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -35,10 +35,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-29e2c20b02301cfff04dc8050bf30c7e.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -233,6 +233,8 @@ <h1 class="title">R Census Examples</h1>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -343,6 +345,7 @@ <h1 class="title">R Census Examples</h1>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
9 changes: 6 additions & 3 deletions school.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.37">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -35,10 +35,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-29e2c20b02301cfff04dc8050bf30c7e.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -231,6 +231,8 @@ <h1 class="title">CPS School Enrollment Supplement</h1>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -341,6 +343,7 @@ <h1 class="title">CPS School Enrollment Supplement</h1>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down
28 changes: 14 additions & 14 deletions search.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
[
{
"objectID": "school.html",
"href": "school.html",
"title": "CPS School Enrollment Supplement",
"section": "",
"text": "Here is how you can access the CPS School Enrollment Supplement in R:"
},
{
"objectID": "tidycensus.html",
"href": "tidycensus.html",
"title": "tidycensus Examples",
"section": "",
"text": "Here’s an example of getting State Population Estimates from the 2020 Decennial Census using the tidycensus package:\n\nlibrary(dplyr)\nlibrary(tidycensus)\n\npop2020 &lt;- get_decennial(\n geography = \"state\",\n variables = \"P1_001N\",\n year = 2020) %&gt;%\n mutate(year = 2020, variable = \"population\")\n\npop2020\n\n# A tibble: 52 × 5\n GEOID NAME variable value year\n &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt;\n 1 42 Pennsylvania population 13002700 2020\n 2 06 California population 39538223 2020\n 3 54 West Virginia population 1793716 2020\n 4 49 Utah population 3271616 2020\n 5 36 New York population 20201249 2020\n 6 11 District of Columbia population 689545 2020\n 7 02 Alaska population 733391 2020\n 8 12 Florida population 21538187 2020\n 9 45 South Carolina population 5118425 2020\n10 38 North Dakota population 779094 2020\n# ℹ 42 more rows\n\n\nHere is how you can see the states with the largest population:\n\narrange(pop2020, desc(value))\n\n# A tibble: 52 × 5\n GEOID NAME variable value year\n &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt;\n 1 06 California population 39538223 2020\n 2 48 Texas population 29145505 2020\n 3 12 Florida population 21538187 2020\n 4 36 New York population 20201249 2020\n 5 42 Pennsylvania population 13002700 2020\n 6 17 Illinois population 12812508 2020\n 7 39 Ohio population 11799448 2020\n 8 13 Georgia population 10711908 2020\n 9 37 North Carolina population 10439388 2020\n10 26 Michigan population 10077331 2020\n# ℹ 42 more rows"
},
{
"objectID": "index.html",
"href": "index.html",
"title": "R Census Examples",
"section": "",
"text": "This site contains examples of how to use various R packages that work with US Census Data.\nIt’s built using Quarto. To learn more about Quarto websites visit https://quarto.org/docs/websites.\nTest of publishing to github pages via github actions: https://quarto.org/docs/publishing/github-pages.html"
},
{
"objectID": "choroplethr.html",
"href": "choroplethr.html",
"title": "Choroplethr",
"section": "",
"text": "choroplethr was designed to make it as easy as possible to do exploratory data analysis of demographic data using choropleth (i.e. color-coded) maps.\nAs an example, let’s use choroplethr to explore the built-in dataset ?df_pop_county, which has 2012 county-level population estimates. We will create the map using ?county_choropleth.\n\nlibrary(choroplethr)\nlibrary(choroplethrMaps)\n\ndata(df_pop_county)\ncounty_choropleth(df_pop_county)\n\n\n\n\n\n\n\n\nchoroplethr defaults to using 7 quantiles. This means that there are 7 unique colors, and an equal number of counties are assigned to each color.\nIf you use two quantiles, you can see which counties have above or blow the median population:\n\nlibrary(choroplethr)\nlibrary(choroplethrMaps)\n\ndata(df_pop_county)\ncounty_choropleth(df_pop_county, num_colors=2)\n\n\n\n\n\n\n\n\nUsing a continuous scale for the colors makes it easy to detect outliers. You can do that by setting num_colors=1:\n\nlibrary(choroplethr)\nlibrary(choroplethrMaps)\n\ndata(df_pop_county)\ncounty_choropleth(df_pop_county, num_colors=1)\n\n\n\n\n\n\n\n\nTo learn more take the free class Mapmaking in R with Choroplethr"
},
{
"objectID": "school.html",
"href": "school.html",
"title": "CPS School Enrollment Supplement",
"section": "",
"text": "Here is how you can access the CPS School Enrollment Supplement in R:"
},
{
"objectID": "about.html",
"href": "about.html",
"title": "About",
"section": "",
"text": "This site is intended as a companion to A Guide to Working with Census Data in R.\nIt was created by the R Consortium Census Working Group (do we have a link?)."
},
{
"objectID": "index.html",
"href": "index.html",
"title": "R Census Examples",
"section": "",
"text": "This site contains examples of how to use various R packages that work with US Census Data.\nIt’s built using Quarto. To learn more about Quarto websites visit https://quarto.org/docs/websites.\nTest of publishing to github pages via github actions: https://quarto.org/docs/publishing/github-pages.html"
}
]

This file was deleted.

12 changes: 12 additions & 0 deletions site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions site_libs/quarto-html/quarto.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
}

async function findAndActivateCategories() {
// Categories search with listing only use path without query
const currentPagePath = offsetAbsoluteUrl(
window.location.origin + window.location.pathname
);
const currentPagePath = offsetAbsoluteUrl(window.location.href);
const response = await fetch(offsetRelativeUrl("listings.json"));
if (response.status == 200) {
return response.json().then(function (listingPaths) {
Expand Down
18 changes: 9 additions & 9 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://arilamstein.github.io/census-examples-website/tidycensus.html</loc>
<lastmod>2024-11-22T19:37:15.293Z</lastmod>
<loc>https://arilamstein.github.io/census-examples-website/school.html</loc>
<lastmod>2024-11-22T19:54:19.397Z</lastmod>
</url>
<url>
<loc>https://arilamstein.github.io/census-examples-website/index.html</loc>
<lastmod>2024-11-22T19:46:25.951Z</lastmod>
<loc>https://arilamstein.github.io/census-examples-website/tidycensus.html</loc>
<lastmod>2024-11-22T19:54:19.397Z</lastmod>
</url>
<url>
<loc>https://arilamstein.github.io/census-examples-website/choroplethr.html</loc>
<lastmod>2024-11-22T19:37:15.293Z</lastmod>
<lastmod>2024-11-22T19:54:19.397Z</lastmod>
</url>
<url>
<loc>https://arilamstein.github.io/census-examples-website/school.html</loc>
<lastmod>2024-11-22T19:37:15.293Z</lastmod>
<loc>https://arilamstein.github.io/census-examples-website/about.html</loc>
<lastmod>2024-11-22T19:54:19.397Z</lastmod>
</url>
<url>
<loc>https://arilamstein.github.io/census-examples-website/about.html</loc>
<lastmod>2024-11-22T19:37:15.265Z</lastmod>
<loc>https://arilamstein.github.io/census-examples-website/index.html</loc>
<lastmod>2024-11-22T19:54:19.397Z</lastmod>
</url>
</urlset>
9 changes: 6 additions & 3 deletions tidycensus.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.6.37">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -69,10 +69,10 @@
<script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-29e2c20b02301cfff04dc8050bf30c7e.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap.min.css" rel="stylesheet" id="quarto-bootstrap" data-mode="light">
<script id="quarto-search-options" type="application/json">{
"location": "navbar",
"copy-button": false,
Expand Down Expand Up @@ -313,6 +313,8 @@ <h1 class="title">tidycensus Examples</h1>
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
Expand Down Expand Up @@ -423,6 +425,7 @@ <h1 class="title">tidycensus Examples</h1>
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
Expand Down

0 comments on commit 8db5bdf

Please sign in to comment.