Skip to content
Snippets Groups Projects
Commit f842af4a authored by Claudio Zandonella's avatar Claudio Zandonella
Browse files

add quarto report

- automatically created in the report folder with plots and tables
parent 7be8a879
Branches main
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ from justclust.paths.bolzano import (
selclfile,
)
from justclust.plots import reporting
import justclust.quarto as qmd
# %%
# read and filter/select data
......@@ -237,4 +238,10 @@ for clname in sel_clsts:
preprocs=pre,
)
qmd.create_qmd_report(
city = 'bolzano',
clname= clname,
cdir = report_dir / clname
)
# %%
......@@ -174,6 +174,44 @@ conv = {
"%Single": "Families with one component [%]",
}
# %%
# define subset of columns according to categories
selected_col = {
'col_aq':[
'area very-low AQ-risk [%]',
'area low AQ-risk [%]',
'area medium-low AQ-risk [%]',
'area medium-high AQ-risk [%]',
'area high AQ-risk [%]',
'area very-high AQ-risk [%]'
],
'col_carbon':[
"Carbon emission building [ton CO2/m²]",
"Carbon absorption vegetation [kg CO2/m²]"
],
'col_char':[
"Protected area [%]",
"Accessibility urban green areas (<5 min) [%]",
"Walkability Index",
"Soil sealing between 2022 and 2018 [%]",
"Surface urban heat island"
],
'col_socio':[
"Age Index",
"Foreign population [%]",
"Families with children [%]",
"Families with one component [%]"
]
}
# %%
# Define function to read files
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment