PrepperPrepper Open Data Bank

PR_ECS21_01 PR_ECS16_01

Summary

This dataset is a view that combines item data from the “2016 Economic Census Activity Survey by Industry” section of the Statistical Table [PR_ST] of the All Statistics Survey, with the prefecture statistical master [PR_ST_MST], prefecture survey master [PR_TB_MST], and prefecture master table [PR_MST].

Sample Data

Please select the table you wish to view from the data dictionary in the snowflake marketplace.

Click here to view sample data from Japanese Prefecture Data

Data Fields

  • 2021
  • 2016
E_NAME
ESTATDB_STATS_FULL_ID
STATS_YEAR
STATS_VALUE
STATS_UNIT
ESTATDB_STATS_FULL_NAME
ESTATDB_RESEARCH_TABLE_ID
STATS_TAB01_CODE
STATS_TAB01_NAME
STATS_CAT01_CODE
STATS_CAT01_NAME
STATS_CAT02_CODE
STATS_CAT02_NAME
STATS_CAT03_CODE
STATS_CAT03_NAME
STATS_CAT04_CODE
STATS_CAT04_NAME
ESTATDB_TABLE_NAME
PREF_CODE
PREF_NAME
E_NAME
ESTATDB_STATS_FULL_ID
PREF_CODE
STATS_YEAR
STATS_VALUE
STATS_UNIT
ESTATDB_STATS_FULL_NAME
ESTATDB_RESEARCH_TABLE_ID
STATS_TAB01_CODE
STATS_TAB01_NAME
STATS_CAT01_CODE
STATS_CAT01_NAME
STATS_CAT02_CODE
STATS_CAT02_NAME
STATS_CAT03_CODE
STATS_CAT03_NAME
ESTATDB_TABLE_NAME
PREF_NAME

Special Notes

Issue:

There are records where ESTATDB statistic name [ESTATDB_STATS_FULL_NAME] is the same, but the statistics value [STATS_VALUE] is different.

Reason for difference:

This is because the ESTATDB table name [ESTATDB_TABLE_NAME] is different.

Details:

  • This is an example for table number 3-3 and table number 4-3-1.
ESTATDB_STATS_FULL_IDESTATDB_STATS_FULL_NAMESTATS_VALUEPREF_NAMEESTATDB_TABLE_NAME
0112020009|202001|0|0|00|0人口|国籍総数|総数|総数|総数5,224,614北海道3-3男女,年齢(5歳階級),出生の月,国籍総数か日本人別人口-全国,都道府県,市区町村
0112020010|202001|0|0|0|00人口|国籍総数|総数|総数|総数4,609,750北海道4-3-1男女,年齢(5歳階級),配偶関係,国籍総数か日本人別人口(15歳以上)-全国,都道府県,市区町村

※This is an example from another view, but the same issue occurs in this view.

Example:

Although ESTATDB_Statistic_Name [ESTATDB_STATS_FULL_NAME] is the same, the statistic value [STATS_VALUE] is different.

The reason for the difference in the statistic value is that Table 3-3 is the total population, including those under 15 years old, while Table 4-3-1 is the total population of those 15 years old and above.

Note:

In this case, if you only specify ESTATDB_Statistic_Name [ESTATDB_STATS_FULL_NAME], the result will be the sum of the statistics values of two tables.

Solution:

When specifying ESTATDB_Statistic_Name [ESTATDB_STATS_FULL_NAME] to output the statistic value, please specify ESTATDB_Statistic_Code [ESTATDB_STATS_FULL_ID] or ESTATDB_Table_Name [ESTATDB_TABLE_NAME] together.