Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
mzettersten committed Jan 21, 2025
1 parent 01b643b commit 4dbef1f
Showing 75 changed files with 151 additions and 1,817 deletions.
26 changes: 1 addition & 25 deletions TODO.html
Original file line number Diff line number Diff line change
@@ -165,21 +165,7 @@
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Schedule</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="notebooks/schedule.html">Week by week schedule</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/project_2023.html">Project info</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Installation instructions</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="notebooks/programming_environment_osx.html">Instructions for MacOS</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/programming_environment_windows.html">Installation and setup for Windows</a></li>








</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">References</span></p>
<ul class="nav bd-sidenav">
@@ -223,18 +209,8 @@
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">In class activities</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference external" href="https://cogs219.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/python_basics.html">Python basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_print_pyramids.html">The first thinking exercise</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_file_writing.html">Primer on writing files</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_list_manip_vowels_1.html">Working with strings in lists</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_dictionaries.html">A few dictionary activities</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_trial_generation.html">Some more trial generation practice</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/activity_debugging.html">Debugging practice 1</a></li>
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/playing_around_gss.html">Basic Examples of GSS data wrangling</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/more_gss_practice.html">More dataviz practice with GSS</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/nltk_demo.html">NLTK demo</a></li>
<li class="toctree-l1"><a class="reference internal" href="notebooks/scraping.html">Webscraping demo and practice</a></li>
</ul>

</div>
51 changes: 30 additions & 21 deletions _sources/notebooks/python_basics.ipynb
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"source": [
"# Python essentials to get you started\n",
"\n",
"This notebook is designed to familiarize you with some basic programming constructs before the start of actual instruction. If you've coded before, this will show you how stuff you already know are implemented in the Python programming language. If you've never coded before, you'll probably be a bit confused. Don't worry! The class hasn't started yet!"
"This notebook is designed to familiarize you with some basic programming constructs. If you've coded before, this will show you how stuff you already know are implemented in the Python programming language."
]
},
{
@@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
@@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 3,
"metadata": {},
"outputs": [
{
@@ -80,7 +80,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 4,
"metadata": {},
"outputs": [
{
@@ -137,7 +137,7 @@
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m/Users/glupyan/gitRepos/psych750.github.io/notebooks/python_basics.ipynb Cell 10\u001b[0m in \u001b[0;36m<cell line: 2>\u001b[0;34m()\u001b[0m\n\u001b[1;32m <a href='vscode-notebook-cell:/Users/glupyan/gitRepos/psych750.github.io/notebooks/python_basics.ipynb#X12sZmlsZQ%3D%3D?line=0'>1</a>\u001b[0m \u001b[39mprint\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39mAdding 3 to var_2 gets us \u001b[39m\u001b[39m\"\u001b[39m, var_2\u001b[39m+\u001b[39m\u001b[39m3\u001b[39m)\n\u001b[0;32m----> <a href='vscode-notebook-cell:/Users/glupyan/gitRepos/psych750.github.io/notebooks/python_basics.ipynb#X12sZmlsZQ%3D%3D?line=1'>2</a>\u001b[0m \u001b[39mprint\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39mAdding 3 to var_3 gets us \u001b[39m\u001b[39m\"\u001b[39m, var_3\u001b[39m+\u001b[39;49m\u001b[39m3\u001b[39;49m)\n",
"Cell \u001b[0;32mIn[5], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mAdding 3 to var_2 gets us \u001b[39m\u001b[38;5;124m\"\u001b[39m, var_2\u001b[38;5;241m+\u001b[39m\u001b[38;5;241m3\u001b[39m)\n\u001b[0;32m----> 2\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mAdding 3 to var_3 gets us \u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[43mvar_3\u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[38;5;241;43m3\u001b[39;49m)\n",
"\u001b[0;31mTypeError\u001b[0m: can only concatenate str (not \"int\") to str"
]
}
@@ -169,7 +169,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 6,
"metadata": {
"tags": [
"hide-output"
@@ -206,7 +206,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 7,
"metadata": {
"tags": [
"hide-output"
@@ -252,7 +252,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
@@ -268,7 +268,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 10,
"metadata": {},
"outputs": [
{
@@ -300,7 +300,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 11,
"metadata": {},
"outputs": [
{
@@ -341,7 +341,7 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 12,
"metadata": {},
"outputs": [
{
@@ -368,7 +368,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 13,
"metadata": {},
"outputs": [
{
@@ -396,7 +396,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 14,
"metadata": {
"scrolled": true
},
@@ -441,7 +441,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 15,
"metadata": {},
"outputs": [
{
@@ -479,7 +479,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 16,
"metadata": {},
"outputs": [
{
@@ -501,7 +501,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 17,
"metadata": {},
"outputs": [
{
@@ -527,8 +527,10 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
":::{tip}\n",
"If all you need to do is to execute some command a certain number of times, there's a Python convention to use `_` as a throwaway index variable, for example, let's generate 5 random integers between 1-10:\n",
@@ -843,7 +845,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 18,
"metadata": {
"tags": [
"hide-output"
@@ -865,12 +867,19 @@
"print(print==True)\n",
"print(print==False)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"celltoolbar": "Edit Metadata",
"kernelspec": {
"display_name": "Python 3.8.13 ('psych750')",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@@ -884,7 +893,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.13"
},
"vscode": {
"interpreter": {
@@ -893,5 +902,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
Binary file removed knitted_Rmd/.DS_Store
Binary file not shown.
Binary file removed knitted_Rmd/intro_to_tidyverse_files/.DS_Store
Binary file not shown.
Binary file not shown.
26 changes: 1 addition & 25 deletions notebooks/Exercise0-test.html
Original file line number Diff line number Diff line change
@@ -165,21 +165,7 @@
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Schedule</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="schedule.html">Week by week schedule</a></li>
<li class="toctree-l1"><a class="reference internal" href="project_2023.html">Project info</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Installation instructions</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="programming_environment_osx.html">Instructions for MacOS</a></li>
<li class="toctree-l1"><a class="reference internal" href="programming_environment_windows.html">Installation and setup for Windows</a></li>








</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">References</span></p>
<ul class="nav bd-sidenav">
@@ -223,18 +209,8 @@
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">In class activities</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference external" href="https://cogs219.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference internal" href="python_basics.html">Python basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_print_pyramids.html">The first thinking exercise</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_file_writing.html">Primer on writing files</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_list_manip_vowels_1.html">Working with strings in lists</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_dictionaries.html">A few dictionary activities</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_trial_generation.html">Some more trial generation practice</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_debugging.html">Debugging practice 1</a></li>
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/playing_around_gss.html">Basic Examples of GSS data wrangling</a></li>
<li class="toctree-l1"><a class="reference internal" href="more_gss_practice.html">More dataviz practice with GSS</a></li>
<li class="toctree-l1"><a class="reference internal" href="nltk_demo.html">NLTK demo</a></li>
<li class="toctree-l1"><a class="reference internal" href="scraping.html">Webscraping demo and practice</a></li>
</ul>

</div>
26 changes: 1 addition & 25 deletions notebooks/Exercise1-square.html
Original file line number Diff line number Diff line change
@@ -165,21 +165,7 @@
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Schedule</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="schedule.html">Week by week schedule</a></li>
<li class="toctree-l1"><a class="reference internal" href="project_2023.html">Project info</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Installation instructions</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="programming_environment_osx.html">Instructions for MacOS</a></li>
<li class="toctree-l1"><a class="reference internal" href="programming_environment_windows.html">Installation and setup for Windows</a></li>








</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">References</span></p>
<ul class="nav bd-sidenav">
@@ -223,18 +209,8 @@
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">In class activities</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference external" href="https://cogs219.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference internal" href="python_basics.html">Python basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_print_pyramids.html">The first thinking exercise</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_file_writing.html">Primer on writing files</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_list_manip_vowels_1.html">Working with strings in lists</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_dictionaries.html">A few dictionary activities</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_trial_generation.html">Some more trial generation practice</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_debugging.html">Debugging practice 1</a></li>
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/playing_around_gss.html">Basic Examples of GSS data wrangling</a></li>
<li class="toctree-l1"><a class="reference internal" href="more_gss_practice.html">More dataviz practice with GSS</a></li>
<li class="toctree-l1"><a class="reference internal" href="nltk_demo.html">NLTK demo</a></li>
<li class="toctree-l1"><a class="reference internal" href="scraping.html">Webscraping demo and practice</a></li>
</ul>

</div>
26 changes: 1 addition & 25 deletions notebooks/Exercise10-nltk.html
Original file line number Diff line number Diff line change
@@ -165,21 +165,7 @@
<div class="bd-toc-item navbar-nav active">
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Schedule</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="schedule.html">Week by week schedule</a></li>
<li class="toctree-l1"><a class="reference internal" href="project_2023.html">Project info</a></li>
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">Installation instructions</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference internal" href="programming_environment_osx.html">Instructions for MacOS</a></li>
<li class="toctree-l1"><a class="reference internal" href="programming_environment_windows.html">Installation and setup for Windows</a></li>








</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">References</span></p>
<ul class="nav bd-sidenav">
@@ -223,18 +209,8 @@
</ul>
<p aria-level="2" class="caption" role="heading"><span class="caption-text">In class activities</span></p>
<ul class="nav bd-sidenav">
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference external" href="https://cogs219.github.io/knitted_Rmd/intro_to_tidyverse.html">Introduction to Tidyverse</a></li>
<li class="toctree-l1"><a class="reference internal" href="python_basics.html">Python basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_print_pyramids.html">The first thinking exercise</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_file_writing.html">Primer on writing files</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_list_manip_vowels_1.html">Working with strings in lists</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_dictionaries.html">A few dictionary activities</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_trial_generation.html">Some more trial generation practice</a></li>
<li class="toctree-l1"><a class="reference internal" href="activity_debugging.html">Debugging practice 1</a></li>
<li class="toctree-l1"><a class="reference external" href="https://psych750.github.io/knitted_Rmd/playing_around_gss.html">Basic Examples of GSS data wrangling</a></li>
<li class="toctree-l1"><a class="reference internal" href="more_gss_practice.html">More dataviz practice with GSS</a></li>
<li class="toctree-l1"><a class="reference internal" href="nltk_demo.html">NLTK demo</a></li>
<li class="toctree-l1"><a class="reference internal" href="scraping.html">Webscraping demo and practice</a></li>
</ul>

</div>
Loading

0 comments on commit 4dbef1f

Please sign in to comment.