-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8db5bdf
commit f406f81
Showing
13 changed files
with
64 additions
and
75 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 +1 @@ | ||
57b2985b | ||
b7c14b93 |
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
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
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
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 +1 @@ | ||
Sitemap: https://arilamstein.github.io/census-examples-website/sitemap.xml | ||
Sitemap: https://RConsortium.github.io/Census-Examples-Website/sitemap.xml |
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
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,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 <- get_decennial(\n geography = \"state\",\n variables = \"P1_001N\",\n year = 2020) %>%\n mutate(year = 2020, variable = \"population\")\n\npop2020\n\n# A tibble: 52 × 5\n GEOID NAME variable value year\n <chr> <chr> <chr> <dbl> <dbl>\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 <chr> <chr> <chr> <dbl> <dbl>\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\nTest 12pm" | ||
}, | ||
{ | ||
"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" | ||
} | ||
] |
12 changes: 12 additions & 0 deletions
12
site_libs/bootstrap/bootstrap-1322888c997fad56b0b4d776d35cf542.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...uarto-html/quarto-syntax-highlighting.css → ...ting-29e2c20b02301cfff04dc8050bf30c7e.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,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/school.html</loc> | ||
<lastmod>2024-11-22T19:54:19.397Z</lastmod> | ||
<loc>https://RConsortium.github.io/Census-Examples-Website/tidycensus.html</loc> | ||
<lastmod>2024-11-22T20:00:11.731Z</lastmod> | ||
</url> | ||
<url> | ||
<loc>https://arilamstein.github.io/census-examples-website/tidycensus.html</loc> | ||
<lastmod>2024-11-22T19:54:19.397Z</lastmod> | ||
<loc>https://RConsortium.github.io/Census-Examples-Website/index.html</loc> | ||
<lastmod>2024-11-22T20:00:40.589Z</lastmod> | ||
</url> | ||
<url> | ||
<loc>https://arilamstein.github.io/census-examples-website/choroplethr.html</loc> | ||
<lastmod>2024-11-22T19:54:19.397Z</lastmod> | ||
<loc>https://RConsortium.github.io/Census-Examples-Website/choroplethr.html</loc> | ||
<lastmod>2024-11-22T20:00:11.730Z</lastmod> | ||
</url> | ||
<url> | ||
<loc>https://arilamstein.github.io/census-examples-website/about.html</loc> | ||
<lastmod>2024-11-22T19:54:19.397Z</lastmod> | ||
<loc>https://RConsortium.github.io/Census-Examples-Website/school.html</loc> | ||
<lastmod>2024-11-22T20:00:11.730Z</lastmod> | ||
</url> | ||
<url> | ||
<loc>https://arilamstein.github.io/census-examples-website/index.html</loc> | ||
<lastmod>2024-11-22T19:54:19.397Z</lastmod> | ||
<loc>https://RConsortium.github.io/Census-Examples-Website/about.html</loc> | ||
<lastmod>2024-11-22T20:00:11.729Z</lastmod> | ||
</url> | ||
</urlset> |
Oops, something went wrong.