scripts.occupation_charts

Create charts to evaluate all inhabit tables over time.

Functions

create_charts(ip, plot_year, ms_year, ...)

get_chart_vars(ip, ms_year, t_year, s_year, ...)

get_inh_all(inh_path, ms_year, t_year, s_year)

plot_all_scenarios(dfs, s_year, ms_year, ...)

plot_all_yrs(df_all, avg_disagg, disagg, ...)

Plots the average value of "avg_disagg" by "disagg" for all years.

plot_line(df_incr, df_decr, df_d, ...)

Return: Plots a line graph with - x-axis: years - y-axis: main variable (weighted) - lines

plot_mor(ip, incr_decr)

underoccup(ip, inh_all, disagg, start_year, ...)

Calculate the underoccupation over the years for different disaggregations

underoccup_col(ip, df, average_disagg)