Skip to content

Author

Yasutoshi Moteki

2 papers indexed here

We haven’t gathered this author’s papers yet. Follow them and we’ll fetch their work.

Not the right person? Other researchers publish under this name.

#generative ai Open access Aug 2026

Ten-Year Panel of Japanese Municipal Finance from the Local Government Financial Settlement Survey

This R script (make_kessan10_csv.R) converts the Local Government Financial Settlement Survey (市町村別決算状況調), published by the Ministry of Internal Affairs and Communications on its annual pages of local government financial status survey materials, into machine-readable CSV. The source workbooks are print-oriented Excel files with multi-row merged headers, issued as four separate files per fiscal year (overview and expenditure, for cities and for towns and villages). The script consolidates them into long-format panels carrying fiscal year and municipality type as columns, and also writes one file per fiscal year. The output of a run over ten fiscal years (FY2015–FY2024) is deposited alongside it: all 1,741 municipalities, with 33 overview indicators and 94 expenditure items classified by purpose, giving panels of 17,410 rows each. Every municipality and every year is checked for internal consistency: the components of each expenditure category sum to that category's total, and the sum of all categories matches the total expenditure reported in the overview table. All checks passed for all ten years. Amounts are in thousands of yen, as published; blank cells are left blank rather than filled with zero. The column structure of the source data does not change over the period covered. One definitional change affects the adjusted ratio of current expenditure to current revenue: for FY2020 and FY2021 the special bonds issued for deferred tax collection are removed from current general revenue as well. Four changes of municipality occurred: Tomiya and Nakagawa became cities in FY2016 and FY2018 respectively, each receiving a new municipality code; Sasayama was renamed Tamba-Sasayama in FY2019, and Aogashima was renamed in FY2018 in the written form of its name only, both keeping their codes. The code was written with generative AI: Claude (Anthropic) was used to write and revise it. The author has verified the output and takes responsibility for the content. Version 1.1 corrects the reading of the census population change column in the overview table, where a small negative rate written with the triangle sign used in Japanese official statistics was left blank instead of being read as a number. 56 cells across the ten years were affected; no other value changed.

Yasutoshi Moteki · 0 citations
#generative ai Open access Aug 2026

Ten-Year Panel of Japanese Municipal Finance from the Local Government Financial Settlement Survey

This R script (make_kessan10_csv.R) converts the Local Government Financial Settlement Survey (市町村別決算状況調), published by the Ministry of Internal Affairs and Communications on its annual pages of local government financial status survey materials, into machine-readable CSV. The source workbooks are print-oriented Excel files with multi-row merged headers, issued as four separate files per fiscal year (overview and expenditure, for cities and for towns and villages). The script consolidates them into long-format panels carrying fiscal year and municipality type as columns, and also writes one file per fiscal year. The output of a run over ten fiscal years (FY2015–FY2024) is deposited alongside it: all 1,741 municipalities, with 33 overview indicators and 94 expenditure items classified by purpose, giving panels of 17,410 rows each. Every municipality and every year is checked for internal consistency: the components of each expenditure category sum to that category's total, and the sum of all categories matches the total expenditure reported in the overview table. All checks passed for all ten years. Amounts are in thousands of yen, as published; blank cells are left blank rather than filled with zero. The column structure of the source data does not change over the period covered. One definitional change affects the adjusted ratio of current expenditure to current revenue: for FY2020 and FY2021 the special bonds issued for deferred tax collection are removed from current general revenue as well. Four changes of municipality occurred: Tomiya and Nakagawa became cities in FY2016 and FY2018 respectively, each receiving a new municipality code; Sasayama was renamed Tamba-Sasayama in FY2019, and Aogashima was renamed in FY2018 in the written form of its name only, both keeping their codes. The code was written with generative AI: Claude (Anthropic) was used to write and revise it. The author has verified the output and takes responsibility for the content. Version 1.1 corrects the reading of the census population change column in the overview table, where a small negative rate written with the triangle sign used in Japanese official statistics was left blank instead of being read as a number. 56 cells across the ten years were affected; no other value changed.

Yasutoshi Moteki · 1 citation