Series collection
- from
- 1991=NA
- to
- 1998=NA
- min:
- 25,000
- max:
- 25,000
- avg:
- 25,000
- σ:
- 0
- from
- 1991-01-01=NA
- to
- 2015-01-01=50,000
- min:
- 5,717
- max:
- 50,000
- avg:
- 28,304.25
- σ:
- 16,840.515
- from
- 1991=NA
- to
- 2019-08-10=0.25
- min:
- 0.18
- max:
- 0.25
- avg:
- 0.227
- σ:
- 0.033
- from
- 2001=6,000
- to
- 2012=50,000
- min:
- 6,000
- max:
- 50,000
- avg:
- 25,333.333
- σ:
- 18,354.533
- from
- 2009-01-01=50,000
- to
- 2012-01-01=NA
- min:
- 50,000
- max:
- 50,000
- avg:
- 50,000
- σ:
- 0
- from
- 1994-01-01=0.25
- to
- 2012-01-01=0.18
- min:
- 0.18
- max:
- 0.25
- avg:
- 0.217
- σ:
- 0.029
- from
- 2012-01-01=0.18
- to
- 2012-01-01=0.18
- min:
- 0.18
- max:
- 0.18
- avg:
- 0.18
- σ:
- 0
- from
- 2011-01-01=0.22
- to
- 2011-01-01=0.22
- min:
- 0.22
- max:
- 0.22
- avg:
- 0.22
- σ:
- 0
- from
- 1994-01-01=0.25
- to
- 1994-01-01=0.25
- min:
- 0.25
- max:
- 0.25
- avg:
- 0.25
- σ:
- 0
Series code | 1992 | 2001 | 2002 | 2012 | 2015 | 2019-08-10 |
---|---|---|---|---|---|---|
[impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.plafond_1] | 25000 | - | - | - | - | - |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.taux] | 0.25 | - | - | - | 0.18 | 0.25 |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.seuil] | - | 6000 | 20000 | 50000 | - | - |
Series code | 1994-01-01 | 1995-01-01 | 2001-01-01 | 2002-01-01 | 2009-01-01 | 2011-01-01 | 2012-01-01 | 2015-01-01 |
---|---|---|---|---|---|---|---|---|
[impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.plafond_2] | - | 37500 | 5717 | 20000 | - | - | - | 50000 |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.seuil_tpe] | - | - | - | - | 50000 | - | NA | - |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux] | 0.25 | - | - | - | - | 0.22 | 0.18 | - |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux18] | - | - | - | - | - | - | 0.18 | - |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux22] | - | - | - | - | - | 0.22 | - | - |
[impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux25] | 0.25 | - | - | - | - | - | - | - |
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 = []
# Plafond 1 de la réduction d'impôt pour emprunts contractés pour la reprise d'une PME
df1 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.plafond_1")
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]))
# Plafond 2 de la réduction d'impôt pour emprunts contractés pour la reprise d'une PME
df2 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.plafond_2")
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]))
# Taux de la réduction d'impôt pour emprunts contractés pour la reprise d'une PME
df3 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.emprunts_contractes_reprise_pme.taux")
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]))
# Plafond des versements, pour une personne célibataire, veuve, ou divorcé, ouvrant droit à la réduction d'impôt sur le revenu (IR) sur les souscriptions en numéraire au capital initial ou aux augmentations de capital de sociétés
df4 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.seuil")
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]))
# Plafond des versements, pour une personne célibataire, veuve, ou divorcé, ouvrant droit à la réduction d'impôt sur le revenu (IR) sur les souscriptions en numéraire au capital initial ou aux augmentations de capital de Très Petites Entreprises
df5 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.seuil_tpe")
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]))
# Taux de la réduction d'impôt sur le revenu (IR) sur les versements effectués au titre de souscriptions en numéraire au capital initial ou aux augmentations de capital de sociétés
df6 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux")
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]))
# Taux de la réduction d'impôt sur le revenu (IR) sur les versements effectués au titre de souscriptions en numéraire au capital initial ou aux augmentations de capital de sociétés, dans sa version depuis 2012 (case 7CI)
df7 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux18")
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]))
# Taux de la réduction d'impôt sur le revenu (IR) sur les versements effectués au titre de souscriptions en numéraire au capital initial ou aux augmentations de capital de sociétés, dans sa version entre 2011 et 2012
df8 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux22")
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]))
# Taux de la réduction d'impôt sur le revenu (IR) sur versements de souscriptions au capital d'entreprises solidaires d'utilité publique (ESUS), entre le 28 juin 2024 et le 31 décembre 2025 (case 7CH)
df9 = fetch_series("IPP/taxbenefit_tables/impot_revenu.calcul_reductions_impots.souscriptions.pme.souscription_capital.taux25")
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]))
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()