13 Fiscal Data Analysis
Interfaces implemented in this chapter are listed below; uncovered indicators are noted under “To be added” at the end.
Fiscal revenue
Interface: macro_china_czsr
Source URL: http://data.eastmoney.com/cjsj/czsr.html
Description: China fiscal revenue; monthly data from 200801 to present
Limits: Returns all historical data in a single call
Input
| Name | Type | Description |
|---|---|---|
| - | - | - |
Output
| Name | Type | Description |
|---|---|---|
| Month | object | - |
| Current month | float64 | Unit: 100 million yuan |
| Current month-YoY | float64 | Unit: % |
| Current month-MoM | float64 | Unit: % |
| Cumulative | float64 | Unit: 100 million yuan |
| Cumulative-YoY | float64 | Unit: % |
Example
import meshare as ms
macro_china_czsr_df = ms.macro_china_czsr()
print(macro_china_czsr_df)
Sample data
Month Current month Current month-YoY Current month-MoM Cumulative Cumulative-YoY
0 Jan 2008 7396.64 42.352305 135.212710 7396.64 42.4
1 Feb 2008 4158.75 36.552139 -43.775147 11555.39 40.2
2 Mar 2008 4415.95 24.671449 6.184551 15971.34 35.5
3 Apr 2008 6824.88 17.016465 54.550663 22796.22 29.4
4 May 2008 6268.15 52.602556 -8.157360 29064.37 33.8
.. ... ... ... ... ... ...
201 May 2025 16007.00 0.131365 -21.638028 96623.00 -0.3
202 Jun 2025 18943.00 -0.305247 18.341975 115566.00 -0.3
203 Jul 2025 20273.00 2.648101 7.021063 135839.00 0.1
204 Aug 2025 12359.00 2.030876 -39.037143 148198.00 0.3
205 Sep 2025 15678.00 2.584571 26.854924 163876.00 0.5
[206 rows x 6 columns]
National tax revenue
Interface: macro_china_national_tax_receipts
Source URL: http://data.eastmoney.com/cjsj/nationaltaxreceipts.aspx
Description: China national tax revenue; data from Q1 2005 to present
Limits: Returns all historical data in a single call
Input
| Name | Type | Description |
|---|---|---|
| - | - | - |
Output
| Name | Type | Description |
|---|---|---|
| Quarter | object | Date |
| Total tax revenue | float64 | Unit: 100 million yuan |
| YoY | float64 | Unit: % |
| QoQ | float64 | - |
Example
import meshare as ms
macro_china_national_tax_receipts_df = ms.macro_china_national_tax_receipts()
print(macro_china_national_tax_receipts_df)
Sample data
Quarter Total tax revenue YoY QoQ
0 2022 Q1–Q3 124365.00 -11.6 0.171811
1 2022 Q1–Q2 85564.00 -14.8 -0.368718
2 2022 Q1 52452.00 7.7 0.637641
3 2021 Q1–Q4 172731.00 11.9 -0.204070
4 2021 Q1–Q3 140702.00 18.4 -0.222216
.. ... ... ... ...
64 2006 Q1–Q2 18484.80 22.0 0.142837
65 2006 Q1 8626.32 19.0 NaN
66 2005 Q1–Q3 21855.35 15.9 -0.151249
67 2005 Q1–Q2 15149.73 13.4 0.089860
68 2005 Q1 7249.16 10.7 NaN
To be added
Government funds, land-transfer fees, and special-purpose / special treasury bond issuance progress are not yet wrapped.