Series collection
- from
- 1977-01-01=0
- to
- 1977-01-01=0
- min:
- 0
- max:
- 0
- avg:
- 0
- σ:
- 0
- from
- 1977=3,400
- to
- 2023=2,746
- min:
- 1,590
- max:
- 10,260
- avg:
- 5,005.238
- σ:
- 3,218.662
- from
- 1977=21,000
- to
- 2023=17,200
- min:
- 9,790
- max:
- 63,200
- avg:
- 30,594.651
- σ:
- 19,770.631
- from
- 1977=1,700
- to
- 2023=1,373
- min:
- 795
- max:
- 5,130
- avg:
- 2,502.619
- σ:
- 1,609.331
- from
- 1977=34,000
- to
- 2023=27,670
- min:
- 15,820
- max:
- 102,100
- avg:
- 49,426.047
- σ:
- 31,988.632
- from
- 1977-01-01=0
- to
- 1977-01-01=0
- min:
- 0
- max:
- 0
- avg:
- 0
- σ:
- 0
- from
- 1974=6,000
- to
- 2023=6,674
- min:
- 3,824
- max:
- 30,330
- avg:
- 12,550
- σ:
- 8,269.74
Series code | 1974 | 1975 | 1976 | 1977 | 1978 | 1979 | 1980 | 1981 | 1982 | 1983 | 1984 | 1985 | 1986 | 1987 | 1988 | 1989 | 1990 | 1991 | 1992 | 1993 | 1994 | 1995 | 1996 | 1997 | 1998 | 1999 | 2000 | 2001 | 2002 | 2003 | 2004 | 2005 | 2006 | 2007 | 2008 | 2009 | 2010 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.0.amount] | - | - | - | 3400 | 3720 | 4080 | 4630 | 5260 | NA | - | 6960 | 7360 | 7540 | 7800 | 8020 | NA | 8580 | 8860 | 9120 | 9300 | 9440 | 9620 | 9820 | 9940 | 10040 | 10100 | 10260 | 1590 | 1618 | 1646 | 1674 | 1706 | 2172 | 2202 | 2266 | 2276 | 2312 | - | 2332 | 2344 | 2348 | 2352 | 2376 | 2416 | 2442 | 2448 | 2484 | 2620 | 2746 |
[impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.1.threshold] | - | - | - | 21000 | 23000 | 25200 | 28600 | 32500 | NA | - | 43100 | 45600 | 46800 | 48400 | 49700 | NA | 53100 | 54800 | 56400 | 57000 | 58400 | 59500 | 60700 | 61400 | 61900 | 62300 | 63200 | 9790 | 9960 | 10130 | 10310 | 10500 | 13370 | 13550 | 13950 | 14010 | 14220 | 14510 | 14630 | 14710 | 14730 | 14750 | 14900 | 15140 | 15300 | 15340 | 15560 | 16410 | 17200 |
[impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.1.amount] | - | - | - | 1700 | 1860 | 2040 | 2315 | 2630 | NA | - | 3480 | 3680 | 3770 | 3900 | 4010 | NA | 4290 | 4430 | 4560 | 4650 | 4720 | 4810 | 4910 | 4970 | 5020 | 5050 | 5130 | 795 | 809 | 823 | 837 | 853 | 1086 | 1101 | 1133 | 1138 | 1156 | - | 1166 | 1172 | 1174 | 1176 | 1188 | 1208 | 1221 | 1224 | 1242 | 1310 | 1373 |
[impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.2.threshold] | - | - | - | 34000 | 37200 | 40800 | 46300 | 52600 | NA | - | 69600 | 73600 | 75400 | 78000 | 80200 | NA | 85800 | 88600 | 91200 | 93000 | 94400 | 96200 | 98100 | 99200 | 100100 | 100600 | 102100 | 15820 | 16090 | 16370 | 16650 | 16950 | 21570 | 21860 | 22500 | 22590 | 22930 | 23390 | 23580 | 23700 | 23730 | 23760 | 24000 | 24390 | 24640 | 24690 | 25040 | 26400 | 27670 |
[impot_revenu.calcul_revenus_imposables.abat_rni.enfant_marie] | 6000 | 6700 | 7300 | 7900 | 8600 | 9500 | 10800 | 12500 | 13000 | 14230 | 15330 | 16190 | 18570 | 19600 | 20110 | 20780 | 21450 | 22100 | 22730 | 27120 | 27500 | 27990 | 30000 | 30330 | 20370 | 20480 | 23360 | 3824 | 4137 | 4338 | 4410 | 4489 | 5495 | 5568 | 5729 | 5753 | 5698 | - | - | 5726 | 5732 | 5738 | 5795 | 5888 | 5947 | 5959 | 6042 | 6368 | 6674 |
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 = []
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, threshold 0
df1 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.0.threshold")
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]))
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, amount 0
df2 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.0.amount")
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]))
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, threshold 1
df3 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.1.threshold")
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]))
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, amount 1
df4 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.1.amount")
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]))
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, threshold 2
df5 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.2.threshold")
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]))
# Abattement de l'impôt sur le revenu accordé sous conditions de ressources pour les contribuables de plus de 65 ou invalides, amount 2
df6 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.contribuable_age_invalide.2.amount")
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]))
# Abattement de l'impôt sur le revenu pour les enfants à charge mariés/pacsés ou chargés de famille par personne rattachée (case N)
df7 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_revenus_imposables.abat_rni.enfant_marie")
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]))
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()