Skip to content

Commit

Permalink
deploy: 74fb607
Browse files Browse the repository at this point in the history
  • Loading branch information
sjbrandenberg committed Jul 23, 2024
1 parent 1b908cf commit 5b26150
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
9 changes: 9 additions & 0 deletions API_Example.html
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ <h2> Contents </h2>
</div>
<nav aria-label="Page">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#jupyter-notebooks">Jupyter Notebooks</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#real-time-traffic-data">Real-time traffic data</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">Learning outcomes</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcome-1">Learning Outcome 1</a></li>
Expand All @@ -381,6 +382,13 @@ <h2> Contents </h2>
<h1>Application Programming Interfaces<a class="headerlink" href="#application-programming-interfaces" title="Permalink to this heading">#</a></h1>
<p>2024 NHERI Computational Academy<br />
Scott J. Brandenberg</p>
<section id="jupyter-notebooks">
<h2>Jupyter Notebooks<a class="headerlink" href="#jupyter-notebooks" title="Permalink to this heading">#</a></h2>
<p>Complete Notebook<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/API_Example.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a><br />
Template<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/API_Example_Template.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a></p>
</section>
<section id="real-time-traffic-data">
<h2>Real-time traffic data<a class="headerlink" href="#real-time-traffic-data" title="Permalink to this heading">#</a></h2>
<p>On Day 1, Charlie Dey presented a nice example using Pandas and Matplotlib to visualize real-time traffic data in Austin, TX from <a class="reference external" href="https://data.austintexas.gov/Transportation-and-Mobility/Real-Time-Traffic-Incident-Reports/dx9v-zd7x/about_data">this link</a>. He first downloaded a CSV file from the website, then loaded that CSV file into a Pandas dataframe.</p>
Expand Down Expand Up @@ -1018,6 +1026,7 @@ <h2>Learning Outcome 4<a class="headerlink" href="#learning-outcome-4" title="Pe
</div>
<nav class="bd-toc-nav page-toc">
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#jupyter-notebooks">Jupyter Notebooks</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#real-time-traffic-data">Real-time traffic data</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcomes">Learning outcomes</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#learning-outcome-1">Learning Outcome 1</a></li>
Expand Down
6 changes: 3 additions & 3 deletions SQLite_Example.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ <h1>Creating a SQLite database<a class="headerlink" href="#creating-a-sqlite-dat
Scott J. Brandenberg <a class="reference external" href="mailto:sjbrandenberg&#37;&#52;&#48;g&#46;ucla&#46;edu">sjbrandenberg<span>&#64;</span>g<span>&#46;</span>ucla<span>&#46;</span>edu</a></p>
<section id="jupyter-notebooks">
<h2>Jupyter Notebooks<a class="headerlink" href="#jupyter-notebooks" title="Permalink to this heading">#</a></h2>
<p>Complete Notebook
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a>
Template
<p>Complete Notebook<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a><br />
Template<br />
<a class="reference external" href="https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example_Template.ipynb.ipynb"><img alt="Try on DesignSafe" src="https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg" /></a></p>
</section>
<section id="about-sqlite">
Expand Down
6 changes: 6 additions & 0 deletions _sources/API_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"2024 NHERI Computational Academy \n",
"Scott J. Brandenberg\n",
"\n",
"## Jupyter Notebooks \n",
"Complete Notebook \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/API_Example.ipynb.ipynb) \n",
"Template \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/API_Example_Template.ipynb.ipynb) \n",

"## Real-time traffic data\n",
"\n",
"On Day 1, Charlie Dey presented a nice example using Pandas and Matplotlib to visualize real-time traffic data in Austin, TX from [this link](https://data.austintexas.gov/Transportation-and-Mobility/Real-Time-Traffic-Incident-Reports/dx9v-zd7x/about_data). He first downloaded a CSV file from the website, then loaded that CSV file into a Pandas dataframe. \n",
Expand Down
8 changes: 4 additions & 4 deletions _sources/SQLite_Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"Scott J. Brandenberg <[email protected]> \n",
"\n",
"## Jupyter Notebooks \n",
"Complete Notebook \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb)\n",
"Template \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example_Template.ipynb.ipynb)\n",
"Complete Notebook \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example.ipynb.ipynb) \n",
"Template \n",
"[![Try on DesignSafe](https://raw.githubusercontent.com/geoelements/LearnMPM/main/DesignSafe-Badge.svg)](https://jupyter.designsafe-ci.org/user/name/notebooks/CommunityData/Training/2024-NHERI-AI-Academy/Day2/SQLite_Example_Template.ipynb.ipynb) \n",
"## About SQLite\n",
"\n",
"This script will create a SQLite database, which is a lightweight file-based SQL database engine. It comes installed with Python, so you don't need to install any special packages or set up a SQL server on your computer to use it. Details can be found here: https://www.sqlite.org/. There are, of course, other relational database management systems, like MySQL, Postgres, etc. However, to use these database engines, you either need to set up those databases on a server, or use software to make your computer simulate a server (e.g., XAMPP). So we'll use SQLite here.\n",
Expand Down
Loading

0 comments on commit 5b26150

Please sign in to comment.