Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
knaaptime committed Nov 22, 2024
1 parent 16b79b1 commit 7656398
Show file tree
Hide file tree
Showing 15 changed files with 297 additions and 1,247 deletions.
8 changes: 7 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@
"charliermarsh.ruff",
"GitHub.copilot",
"njpwerner.autodocstring",
"streetsidesoftware.code-spell-checker"
"streetsidesoftware.code-spell-checker",
"reditorsupport.r",
"mathematic.vscode-pdf",
"quarto.quarto",
"shd101wyy.markdown-preview-enhanced",
"notzaki.pandocciter"

]
}
},
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ paper/.quarto
paper/site_libs
paper/index_files
notebooks/.ipynb_checkpoints
output/_tex/
output/site_libs
output/*
pixi.lock
14 changes: 7 additions & 7 deletions notebooks/demo_py.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,12 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 37,
"id": "5fbc2087-d677-4a8b-bec6-cfdbde8561c6",
"metadata": {},
"outputs": [],
"source": [
"m.save(\"../data/sdmap.html\")"
"m.save(\"../data/_fig_sdmap.html\")"
]
},
{
Expand Down Expand Up @@ -769,21 +769,21 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 40,
"id": "30f329a7-3a4f-4e59-99e8-4083b4cd6232",
"metadata": {},
"outputs": [],
"source": [
"table = sd[['n_total_pop', 'median_household_income']].head(10)\n",
"table.columns = table.columns.str.replace(\"_\",\"-\")\n",
"\n",
"table.to_html(\"../paper/_table_sd_table.html\")\n",
"table.to_latex(\"../paper/_table_sd_table.md\", longtable=True)"
"table.to_html(\"../paper/_table_sd_table.html\", index=False)\n",
"table.to_latex(\"../paper/_table_sd_table.md\", longtable=True, caption='Blockgroups in San Diego')"
]
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 39,
"id": "ec7637c1-8512-4d35-837f-9742cdd9be95",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -881,7 +881,7 @@
"9 1151.0 79725.0"
]
},
"execution_count": 24,
"execution_count": 39,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
495 changes: 61 additions & 434 deletions notebooks/demo_r.ipynb

Large diffs are not rendered by default.

Binary file removed output/_fig_sdmap.png
Binary file not shown.
Loading

0 comments on commit 7656398

Please sign in to comment.