Skip to content

Commit

Permalink
Text
Browse files Browse the repository at this point in the history
  • Loading branch information
ModelEarth committed Dec 28, 2023
1 parent 96d7582 commit c154a1f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 13 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ Pre-processed data for local industry levels (including employment, establishmen
<!--https://github.com/modelearth/community-data/tree/master/-->Processed data resides in [community-data/us/state](us/state)

<!-- https://github.com/modelearth/community-data/tree/master/ -->
Subfolders are generated by [us_econ.ipynb](process/python/bea) from the following US Census&nbsp;API:<br>
https://api.census.gov/data/{year}/cbp?get={columns_to_select}&for=county:*&in=state:{fips:02d}

Here are [the steps](process/python/bea) we used to generate subfolders with [us_econ.ipynb](process/python/bea) from the US Census&nbsp;API.

TO DO: Generate folders above with a GitHub Action - [Github&nbsp;Actions&nbsp;samples](https://model.earth/community/projects/#pipeline)

Prior to GitHub Actions, another approach was the [Public Tree Map Pipeline](https://github.com/Public-Tree-Map/public-tree-map-data-pipeline).
Expand Down
17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
position: absolute;
left: 60px;
bottom: 40px;
height: 220px;
height: 136px;
width: 420px;
background-color: rgba(35, 35, 35, .85);
padding: 60px;
padding-top: 50px;
padding-top: 25px;
padding-bottom: 40px;
color:#fff;
line-height: 2.6em;
Expand Down Expand Up @@ -110,10 +110,9 @@
<img src="img/hero/woman-table-computer.jpg" style="opacity:0;width:100%">
</div>

<div class="storybox hideMobile local" style="display:none">
<b>Welcome to our Map Framework</b><br>
This box is only visible locally.<br>
The class "local" displays it.
<div class="storybox hideMobile local">
<b>Localsite Map Framework</b><br>
County Business Patterns (CBP)
</div>
</div>

Expand Down Expand Up @@ -181,9 +180,11 @@ <h2>Get Involved</h2>

<br><br>

<!--
<div class="lazy bgimg bgimg-notfixed" data-src="img/hero/postit-board.jpg" style="top:auto; bottom:0px; opacity:.85; line-height: 0px">
<img src="img/hero/postit-board.jpg" style="opacity:0; width:100%; bottom:0px;">
</div>
<img src="img/hero/postit-board.jpg" style="opacity:0; width:100%; bottom:0px;">
</div>
-->

<div id="footer"></div>

Expand Down
4 changes: 2 additions & 2 deletions process/python/bea/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Community Data (us_econ)

Online at our [Google Colab](https://colab.research.google.com/drive/1gXlpE6Hmc60RRsbYXuJ4QRoKyfnv2wzC) - not tested
Also online at our [Google Colab](https://colab.research.google.com/drive/1gXlpE6Hmc60RRsbYXuJ4QRoKyfnv2wzC) - not tested

Open Jupyter Notebook in a browser with the command:

Expand All @@ -22,7 +22,7 @@ The last block of this notebook contains the code for generating the state-wide

## Usage

Resulting data is used with Environmentally-Enable Input-Output widgets within Model.earth and Neighborhood.org. We're developing a framework for global analysis and we encourage your participation integrating datasets and pulling visualizations into your other projects.
Resulting data is used within the [industry comparison](/localsite/info/) page to load industries for counties.

### Data Includes

Expand Down
27 changes: 27 additions & 0 deletions process/python/bea/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Process BEA</title>
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1">

<script type="text/javascript" src="https://model.earth/localsite/js/localsite.js?showheader=true"></script>

<script>
loadMarkdown("README.md", "readmeDiv", "_parent");
</script>

<style>
</style>
</head>

<body>

<div class="content contentpadding" style="padding-top:50px;">
<div id="readmeDiv"></div>
</div>

</body>
</html>

0 comments on commit c154a1f

Please sign in to comment.