Series collection
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 5,680
- max:
- 6,745
- avg:
- 6,187.857
- σ:
- 363.14
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 6,980
- max:
- 8,090
- avg:
- 7,523.333
- σ:
- 386.724
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 0.14
- max:
- 0.17
- avg:
- 0.155
- σ:
- 0.015
- from
- 1965=NA
- to
- 1993=NA
- min:
- 0
- max:
- 0
- avg:
- 0
- σ:
- 0
- from
- 1965=NA
- to
- 1993=NA
- min:
- 1,000
- max:
- 45,000
- avg:
- 24,082
- σ:
- 9,974.377
- from
- 1965=NA
- to
- 1993=NA
- min:
- 3,500
- max:
- 50,000
- avg:
- 30,002.222
- σ:
- 11,211.261
- from
- 1965=NA
- to
- 1993=NA
- min:
- 5,000
- max:
- 55,000
- avg:
- 35,537.778
- σ:
- 12,301.4
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 41,060
- max:
- 47,560
- avg:
- 44,236.667
- σ:
- 2,261.686
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 295,000
- max:
- 341,670
- avg:
- 318,183.333
- σ:
- 15,923.928
- from
- 1965=NA
- to
- 1993=NA
- min:
- 0.05
- max:
- 0.15
- avg:
- 0.09
- σ:
- 0.035
- from
- 1965-01-01=NA
- to
- 1993-01-01=NA
- min:
- 0.03
- max:
- 0.06
- avg:
- 0.045
- σ:
- 0.015
- from
- 1965=NA
- to
- 1993=NA
- min:
- 0.02
- max:
- 0.05
- avg:
- 0.03
- σ:
- 0.012
Series code | 1985-01-01 | 1986-01-01 | 1987-01-01 | 1988-01-01 | 1989-01-01 | 1990-01-01 | 1991-01-01 | 1992-01-01 |
---|---|---|---|---|---|---|---|---|
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_seuil_2] | 5680 | 5820 | - | 5970 | 6170 | 6370 | 6560 | 6745 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_seuil_4] | - | 6980 | - | 7160 | 7400 | 7640 | 7870 | 8090 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_taux_en_impot] | 0.17 | 0.14 | - | - | - | - | - | - |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_5] | - | 41060 | - | 42120 | 43510 | 44910 | 46260 | 47560 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_superieur_revenu_imposable_par_part] | - | 295000 | 304740 | 312660 | - | 322670 | 332360 | 341670 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_3] | 0.03 | 0.06 | - | - | - | - | - | - |
Series code | 1966 | 1967 | 1968 | 1973 | 1984 | 1985 | 1986 | 1988 | 1989 | 1990 | 1991 | 1992 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_1] | 0 | - | - | NA | 0 | - | - | - | - | - | - | - |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_2] | 45000 | - | 1000 | NA | 21520 | 22730 | 23280 | 23890 | 24680 | 25480 | 26250 | 26990 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_3] | 50000 | - | 3500 | NA | - | 28410 | 29090 | 29850 | 30840 | 31830 | 32790 | 33710 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_4] | 55000 | - | 5000 | NA | - | 34090 | 34910 | 35820 | 37010 | 38200 | 39350 | 40460 |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_1] | 0.05 | 0.1 | 0.15 | NA | 0.05 | 0.08 | 0.11 | - | - | - | - | - |
[impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_5] | 0.02 | 0.05 | 0.02 | NA | - | - | 0.03 | - | - | - | - | - |
This Python snippet uses the DBnomics Python client to download the series of your cart and plot each of them with a line chart.
This is a starting point that you can customize. Plotly is used here, however any other chart library can be used.
You can start by copying it to a Jupyter Notebook , for example.
If you add series to your cart, you will need to copy-paste the new lines of the source code.
import plotly.express as px
import pandas as pd
from dbnomics import fetch_series
dfs = []
# Formule de calcul - Seuil 2 des minorations exceptionnelles d'impôt
df1 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_seuil_2")
df1["series_id"] = df1[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df1)
# display(df1)
display(px.line(df1, x="period", y="value", title=df1.series_id[0]))
# Formule de calcul - Seuil 4 des minorations exceptionnelles d'impôt
df2 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_seuil_4")
df2["series_id"] = df2[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df2)
# display(df2)
display(px.line(df2, x="period", y="value", title=df2.series_id[0]))
# Formule de calcul - taux (en % de l'impôt) des minorations exceptionnelles d'impôt
df3 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.formule_calcul_taux_en_impot")
df3["series_id"] = df3[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df3)
# display(df3)
display(px.line(df3, x="period", y="value", title=df3.series_id[0]))
# Seuil d'impôt 1 des minorations exceptionnelles d'impôt
df4 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_1")
df4["series_id"] = df4[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df4)
# display(df4)
display(px.line(df4, x="period", y="value", title=df4.series_id[0]))
# Seuil d'impôt 2 des minorations exceptionnelles d'impôt
df5 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_2")
df5["series_id"] = df5[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df5)
# display(df5)
display(px.line(df5, x="period", y="value", title=df5.series_id[0]))
# Seuil d'impôt 3 des minorations exceptionnelles d'impôt
df6 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_3")
df6["series_id"] = df6[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df6)
# display(df6)
display(px.line(df6, x="period", y="value", title=df6.series_id[0]))
# Seuil d'impôt 4 des minorations exceptionnelles d'impôt
df7 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_4")
df7["series_id"] = df7[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df7)
# display(df7)
display(px.line(df7, x="period", y="value", title=df7.series_id[0]))
# Seuil d'impôt 5 des minorations exceptionnelles d'impôt
df8 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_impot_5")
df8["series_id"] = df8[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df8)
# display(df8)
display(px.line(df8, x="period", y="value", title=df8.series_id[0]))
# Seuil superieur (revenu imposable par part) des minorations exceptionnelles d'impôt
df9 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.seuil_superieur_revenu_imposable_par_part")
df9["series_id"] = df9[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df9)
# display(df9)
display(px.line(df9, x="period", y="value", title=df9.series_id[0]))
# Taux 1 des minorations exceptionnelles d'impôt
df10 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_1")
df10["series_id"] = df10[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df10)
# display(df10)
display(px.line(df10, x="period", y="value", title=df10.series_id[0]))
# Taux 3 des minorations exceptionnelles d'impôt
df11 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_3")
df11["series_id"] = df11[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df11)
# display(df11)
display(px.line(df11, x="period", y="value", title=df11.series_id[0]))
# Taux 5 des minorations exceptionnelles d'impôt
df12 = fetch_series("IPP/taxbenefit_tables/impot_revenu.contributions_exceptionnelles.minorations_exceptionnelles.taux_5")
df12["series_id"] = df12[["provider_code", "dataset_code", "series_code"]].agg('/'.join, axis=1)
dfs.append(df12)
# display(df12)
display(px.line(df12, x="period", y="value", title=df12.series_id[0]))
df_all = pd.concat(dfs)
fig = px.line(df_all, x="period", y="value", color="series_code", title="All the cart")
fig.update_layout(legend={"xanchor": "right", "yanchor": "bottom"})
fig.show()