国家统计局月度规模以上工业企业主要经济指标,含营业收入、利润总额、资产、负债等指标的当期值、上年同期值和同比增速,按总量、登记注册类型、大中型、大中型国有控股和行业分,保留历史修订版本
SELECT date, report_date, item_group, item_code, item_name, indicator_code, indicator_nameFROM cn_macro_industrial_enterprise_monthlyWHERE date >= '2026-11-03'ORDER BY dateLIMIT 10012 个字段
本表记录国家统计局发布的月度规模以上工业企业主要经济指标,一个月的一个主体的一个指标一行。
主体共 82 个,包括全部规模以上工业企业、按登记注册类型分、大中型、大中型国有控股和按行业分;指标共 29 个,包括营业收入、利润总额、资产总计、负债合计、企业单位数、亏损企业单位数等。
每行有当期值、上年同期值和同比增速。保留历史修订版本:同一月份的数据被修订后新增一行,旧行保留,可以按 date 取任意时点当时已知的值。
{{data_start_date}};数据最新月份:{{data_end_date}}金额、个数、人数存统计局公布的原值,单位见 unit 字段;增速存小数(0.048 表示增长 4.8%),官方是保留 1 位小数的百分数。
| 关键字 | 释意 |
|---|---|
| date | 公布日期,即该版本数据的公布日期 |
| report_date | 报告期,取月末日,如 2026-10-31 表示 2026 年 10 月 |
| item_code | 主体代码,整张表唯一 |
| indicator_code | 指标代码,整张表唯一 |
| 字段 | 释意 |
|---|---|
| date | 公布日期,只有日期;月份被修订后新增一行,date 为修订数据的公布日期 |
| report_date | 报告期,取月末日;累计指标为年初至该月,1 月不单独发布,2 月为 1—2 月 |
| item_group | 主体分组,见第四节 |
| item_code | 主体代码,整张表唯一 |
| item_name | 主体名称,国家统计局口径;同一个主体改过名的,各时期用各自的名称,曾用名见第四节 |
| indicator_code | 指标代码,整张表唯一 |
| indicator_name | 指标名称 |
| unit | value 和 value_previous_year 的计量单位,每个指标固定一个:亿元、个、万人 |
| basis | value 的口径:period_end 为本月末的存量,如资产总计;year_to_date 为年初至本月的累计,如利润总额 |
| value | 当期值,口径见 basis,单位见 unit |
| value_previous_year | 上年同期值,口径和单位同 value |
| year_over_year_growth | 同比增速,0.048 表示增长 4.8%;存量指标为本月末比上年同期,累计指标为累计值比上年同期累计值 |
共 82 个主体,分 6 组。同一个主体在不同时期的名称可能不同(国家统计局调整分类或改名),名称差别只是个别字、范围没有变化的归并到同一个代码,曾用名列在名称之后;范围有变化的分开记,不强行连成一条序列。
| item_group | 含义 | 主体数 | 起始月份 |
|---|---|---|---|
| total | 全部规模以上工业企业 | 1 | 1999-02 |
| large_medium | 大中型工业企业 | 1 | 2001-02 |
| large_medium_soe | 大中型国有控股工业企业 | 1 | 2001-02 |
| registration | 按登记注册类型分(2023 年及以前) | 8 | 1999-02 |
| registration_2024 | 按登记注册类型分(2024 年起) | 4 | 2024-02 |
| industry | 按行业分 | 67 | 2001-02 |
_2024 后缀。集体企业和股份合作企业只到 2018 年 12 月。industry_13 是农副食品加工业;各版本分类里范围不同的行业记为 industry_legacy_*。2001—2002 年与新版同名的行业按同一个行业处理,没有逐个核对范围。mining、manufacturing、utilities 从 2018 年起发布。total。| item_group | item_code | 名称 | 曾用名 | 起始月份 | 截止月份 |
|---|---|---|---|---|---|
| total | total | 全部规模以上工业企业 | — | 1999-02 | 至今 |
| large_medium | large_medium | 大中型工业企业 | — | 2001-02 | 至今 |
| large_medium_soe | large_medium_state_holding | 大中型国有控股工业企业 | — | 2001-02 | 至今 |
| registration | state_holding | 国有控股工业企业 | — | 1999-02 | 2023-12 |
| registration | collective | 集体工业企业 | — | 2001-02 | 2018-12 |
| registration | cooperative | 股份合作工业企业 | — | 2001-02 | 2018-12 |
| registration | foreign_hmt | 外商及港澳台投资工业企业 | — | 2001-02 | 2023-12 |
| registration | other | 其它工业企业 | — | 2001-02 | 2023-12 |
| registration | private | 私营工业企业 | — | 2001-02 | 2023-12 |
| registration | shareholding | 股份制工业企业 | — | 2001-02 | 2023-12 |
| registration | state_owned | 国有工业企业 | — | 2001-02 | 2023-12 |
| registration_2024 | foreign_hmt_2024 | 外商及港澳台投资工业企业 | — | 2024-02 | 至今 |
| registration_2024 | private_2024 | 私营工业企业 | — | 2024-02 | 至今 |
| registration_2024 | shareholding_2024 | 股份制工业企业 | — | 2024-02 | 至今 |
| registration_2024 | state_holding_2024 | 国有控股工业企业 | — | 2024-02 | 至今 |
| industry | industry_06 | 煤炭开采和洗选业 | — | 2001-02 | 至今 |
| industry | industry_07 | 石油和天然气开采业 | — | 2001-02 | 至今 |
| industry | industry_08 | 黑色金属矿采选业 | — | 2001-02 | 至今 |
| industry | industry_09 | 有色金属矿采选业 | — | 2001-02 | 至今 |
| industry | industry_10 | 非金属矿采选业 | — | 2001-02 | 至今 |
| industry | industry_14 | 食品制造业 | — | 2001-02 | 至今 |
| industry | industry_17 | 纺织业 | — | 2001-02 | 至今 |
| industry | industry_21 | 家具制造业 | — | 2001-02 | 至今 |
| industry | industry_22 | 造纸和纸制品业 | — | 2001-02 | 至今 |
| industry | industry_23 | 印刷和记录媒介复制业 | 印刷业和记录媒介的复制 | 2001-02 | 至今 |
| industry | industry_26 | 化学原料和化学制品制造业 | — | 2001-02 | 至今 |
| industry | industry_27 | 医药制造业 | — | 2001-02 | 至今 |
| industry | industry_28 | 化学纤维制造业 | — | 2001-02 | 至今 |
| industry | industry_30 | 非金属矿物制品业 | — | 2001-02 | 至今 |
| industry | industry_31 | 黑色金属冶炼和压延加工业 | — | 2001-02 | 至今 |
| industry | industry_32 | 有色金属冶炼和压延加工业 | — | 2001-02 | 至今 |
| industry | industry_33 | 金属制品业 | — | 2001-02 | 至今 |
| industry | industry_35 | 专用设备制造业 | — | 2001-02 | 至今 |
| industry | industry_38 | 电气机械和器材制造业 | — | 2001-02 | 至今 |
| industry | industry_41 | 其他制造业 | — | 2001-02 | 至今 |
| industry | industry_legacy_apparel_fiber | 服装及其他纤维制品制造业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_beverages | 饮料制造业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_culture_sports | 文教体育用品制造业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_electronics_communication | 电子及通信设备制造业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_food_processing | 食品加工业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_gas_supply | 煤气生产和供应业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_general_machinery | 普通机械制造业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_instruments_office | 仪器仪表及文化、办公用机械制造业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_leather_down | 皮革、毛皮、羽绒及其制品业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_logging | 木材及竹材采运业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_other_mining | 其他矿采选业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_petroleum_coking | 石油加工及炼焦业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_plastics | 塑料制品业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_power_steam_hot_water | 电力、蒸汽、热水的生产和供应业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_rubber | 橡胶制品业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_tap_water | 自来水的生产和供应业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_tobacco_processing | 烟草加工业 | — | 2001-02 | 2002-12 |
| industry | industry_legacy_transport_equipment | 交通运输设备制造业 | — | 2001-02 | 2011-12 |
| industry | industry_legacy_wood_bamboo | 木材加工及竹、藤、棕、草制品业 | — | 2001-02 | 2002-12 |
| industry | industry_12 | 其他采矿业 | — | 2003-02 | 至今 |
| industry | industry_13 | 农副食品加工业 | — | 2003-02 | 至今 |
| industry | industry_16 | 烟草制品业 | — | 2003-02 | 至今 |
| industry | industry_20 | 木材加工和木、竹、藤、棕、草制品业 | — | 2003-02 | 至今 |
| industry | industry_25 | 石油、煤炭及其他燃料加工业 | 石油加工、炼焦和核燃料加工业 | 2003-02 | 至今 |
| industry | industry_34 | 通用设备制造业 | — | 2003-02 | 至今 |
| industry | industry_39 | 计算机、通信和其他电子设备制造业 | 通信设备、计算机及其他电子设备制造业 | 2003-02 | 至今 |
| industry | industry_44 | 电力、热力生产和供应业 | — | 2003-02 | 至今 |
| industry | industry_45 | 燃气生产和供应业 | — | 2003-02 | 至今 |
| industry | industry_46 | 水的生产和供应业 | — | 2003-02 | 至今 |
| industry | industry_legacy_apparel_footwear | 纺织服装、鞋、帽制造业 | — | 2003-02 | 2011-12 |
| industry | industry_legacy_crafts_other | 工艺品及其他制造业 | — | 2003-02 | 2011-12 |
| industry | industry_legacy_leather | 皮革、毛皮、羽毛(绒)及其制品业 | — | 2003-02 | 2011-12 |
| industry | industry_legacy_waste_recycling | 废弃资源和废旧材料回收加工业 | — | 2003-02 | 2011-12 |
| industry | industry_11 | 开采专业及辅助性活动 | 开采辅助活动 | 2012-02 | 至今 |
| industry | industry_15 | 酒、饮料和精制茶制造业 | — | 2012-02 | 至今 |
| industry | industry_18 | 纺织服装、服饰业 | — | 2012-02 | 至今 |
| industry | industry_19 | 皮革、毛皮、羽毛及其制品和制鞋业 | — | 2012-02 | 至今 |
| industry | industry_24 | 文教、工美、体育和娱乐用品制造业 | — | 2012-02 | 至今 |
| industry | industry_29 | 橡胶和塑料制品业 | — | 2012-02 | 至今 |
| industry | industry_36 | 汽车制造业 | — | 2012-02 | 至今 |
| industry | industry_37 | 铁路、船舶、航空航天和其他运输设备制造业 | — | 2012-02 | 至今 |
| industry | industry_40 | 仪器仪表制造业 | — | 2012-02 | 至今 |
| industry | industry_42 | 废弃资源综合利用业 | — | 2012-02 | 至今 |
| industry | industry_43 | 金属制品、机械和设备修理业 | — | 2012-02 | 至今 |
| industry | manufacturing | 制造业 | — | 2018-02 | 至今 |
| industry | mining | 采矿业 | — | 2018-02 | 至今 |
| industry | utilities | 电力、热力、燃气及水生产和供应业 | — | 2018-02 | 至今 |
共 29 个指标。会计科目名称在 2012 年、2019 年前后有调整,名称不同的分成不同的指标,不强行连成一条序列,如主营业务收入(到 2019 年)与营业收入(2019 年起)、销售费用与营业费用、利息支出与利息费用与利息净支出。 下表的起止月份是所有主体合起来的范围,各主体的截止月份可能不同。
| indicator_code | 名称 | 单位 | basis | 起始月份 | 截止月份 |
|---|---|---|---|---|---|
| enterprise_count | 企业单位数 | 个 | period_end | 1999-02 | 至今 |
| total_assets | 资产总计 | 亿元 | period_end | 1999-02 | 至今 |
| accounts_receivable | 应收账款 | 亿元 | period_end | 2001-02 | 至今 |
| current_assets | 流动资产合计 | 亿元 | period_end | 2001-02 | 至今 |
| finished_goods_inventory | 产成品存货 | 亿元 | period_end | 2001-02 | 至今 |
| loss_enterprise_count | 亏损企业单位数 | 个 | period_end | 2001-02 | 至今 |
| total_liabilities | 负债合计 | 亿元 | period_end | 2001-02 | 至今 |
| inventory | 存货 | 亿元 | period_end | 2010-02 | 至今 |
| notes_and_accounts_receivable | 应收票据及应收账款 | 亿元 | period_end | 2010-02 | 2019-12 |
| owners_equity | 所有者权益合计 | 亿元 | period_end | 2020-02 | 至今 |
| main_business_revenue | 主营业务收入 | 亿元 | year_to_date | 1999-02 | 2020-05 |
| main_business_tax_surcharge | 主营业务税金及附加 | 亿元 | year_to_date | 1999-02 | 2015-12 |
| total_profit | 利润总额 | 亿元 | year_to_date | 1999-02 | 至今 |
| administrative_expense | 管理费用 | 亿元 | year_to_date | 2001-02 | 至今 |
| current_assets_average | 流动资产平均余额 | 亿元 | year_to_date | 2001-02 | 2011-12 |
| financial_expense | 财务费用 | 亿元 | year_to_date | 2001-02 | 至今 |
| interest_expense | 利息支出 | 亿元 | year_to_date | 2001-02 | 2018-12 |
| loss_enterprise_loss | 亏损企业亏损总额 | 亿元 | year_to_date | 2001-02 | 至今 |
| main_business_cost | 主营业务成本 | 亿元 | year_to_date | 2001-02 | 2019-12 |
| net_interest_expense | 利息净支出 | 亿元 | year_to_date | 2001-02 | 2011-12 |
| operating_expense | 营业费用 | 亿元 | year_to_date | 2001-02 | 2011-12 |
| selling_expense | 销售费用 | 亿元 | year_to_date | 2001-02 | 至今 |
| vat_payable | 应交增值税 | 亿元 | year_to_date | 2001-02 | 2015-12 |
| investment_income | 投资收益 | 亿元 | year_to_date | 2012-02 | 至今 |
| operating_cost | 营业成本 | 亿元 | year_to_date | 2012-02 | 至今 |
| operating_profit | 营业利润 | 亿元 | year_to_date | 2012-02 | 至今 |
| operating_revenue | 营业收入 | 亿元 | year_to_date | 2016-04 | 至今 |
| interest_charge | 利息费用 | 亿元 | year_to_date | 2019-02 | 2019-12 |
| average_employees | 平均用工人数 | 万人 | year_to_date | 2020-02 | 至今 |
value 可能为空而增速有值(极少数),上年同期值或增速也可能为空。官方个别发布值的增速与当期值、上年同期值对不上(上年同期值不小于 100 的行里 5 行),表内保留官方发布值,没有重算。date 过滤可以只取回测当天已经公布的数据,见下面的示例。from bigquant import dai
# 全部规模以上工业企业利润总额累计值和同比增速, 各月份的最新版本sql = """SELECT report_date, value, year_over_year_growthFROM cn_macro_industrial_enterprise_monthlyWHERE item_code = 'total' AND indicator_code = 'total_profit' AND report_date >= '2020-01-01'QUALIFY row_number() OVER (PARTITION BY report_date, item_code, indicator_code ORDER BY date DESC) = 1ORDER BY report_date"""国家统计局的数据接口不提供公布时间,也没有单独为工业企业主要经济指标发公告:这些指标与"全国规模以上工业企业利润"在同一天公布,本表取利润公告的发布日期。
公告的发布日期来自公告表 cn_macro_announcement,各数据表按标题挑出自己的公告;报告期结束不满 60 天、公告表里还没有对应公告的周期暂不写入,等公告表更新后下次运行再写入。
date 按以下规则确定,只记日期,不晚于抓取当天:
date 记抓取当天。上线前的历史只保留一个版本,取值是上线时的最新值。
数据源页面的更新记录里,增量和历史写入的说明是一句话:[增量] 或 [历史] 开头,写明本次写入的报告期范围和行数。
修复用于改正已入库的数据:只处理指定日期所在的月份,被改正的行沿用原来的公布日期 date,按主键覆盖旧值,不新增版本;更新记录里的说明是调用方传入的 update_note 原文。
本表是全新设计,与旧表 cn_macro_industrial_enterprises、cn_macro_industrial_enterprises_by_industry 不兼容:旧表是宽表,date 取月初,没有公布日期和修订版本。
本表把总量、登记注册类型、大中型、大中型国有控股和行业合成一张长表,用 item_code 区分主体,用 indicator_code 区分指标。本表还没有与旧表逐值比对。
SELECT date, report_date, item_group, item_code, item_name, indicator_code, indicator_nameFROM cn_macro_industrial_enterprise_monthlyWHERE date >= '2026-11-03'ORDER BY dateLIMIT 100