Package: kmi2122
KMI2122-dataset: A Collection of Korea Macroeconomic Indicators from 2021-2022 (Monthly, 24 Sequences)Installpip install kmi2122or simply download the raw dataset:curl -LO https://raw.githubusercontent.com/DSDanielPark/kmi2122-dataset/master/kmi2122_dataset/dataset.jsonUsageimportkmi2122_datasetaskdraw_dataset=kd.Dataset()# you can see raw dataset (dict)kmi=kd.KMI2122()df=kmi.get_df()# you can get a dataframe (pandas.DataFrame)column_dict=dict(kmi.column_info())# information of columns (dict)tutorial:https://github.com/DSDanielPark/kmi2122-dataset/blob/main/doc/tutorial.ipynbfile list:https://github.com/DSDanielPark/kmi2122-dataset/blob/main/doc/file_list.csvYou can check the list of KOSIS statistical files used to create the following dataframe at the above url.Stats24 monthly sequences from Jan, 2022 to Dec, 20232,593 Korean statistical columns from 57 tables in one dataframeDescriptionThis dataset merges monthly economic indicators provided by the Korean Statistical Information Service (KOSIS) into a single data frame. The data covers a total of 24 sequences from January 2021 to December 2022 and includes information in 24 columns.To solve the problem of encoding Korean characters and having many columns in one data frame, the column names were changed to table{int}_col{int}. This change is reflected in the data, making it easy to use, as demonstrated in the following example.This dataset provides valuable information for time series data analysis and modeling, enabling users to extract information on which indicators require more focus and predict values using several economic indicators. It is expected that this data and lagging techniques will enable the identification of the successors of economic indicators.ContentsThis dataset has a total of 2593 columns with 24 sequences (monthly from 2021.01 to 2022.12) as the number of columns.Those 2593 columns were extracted from 57 tables.Missing values do not exist.The published statistical data were original, and no separate preprocessing was performed.file_namedescription_in_eng0table0ELW Trading Volume1table1ELW Investor Trading Volume2table2ETF Trading Volume3table3ETF Investor Trading Volume4table4ETN Trading Volume5table5ETN Investor Trading Volume6table6KRX 1007table7KRX 3008table8KRX Dividend Yield9table9KRX Listed Stock Trading Volume10table10KRX Listed Stock Summary11table11KRX Listed Stock Investor Trading Volume12table12KRX Price to Book Ratio (PBR)13table13KRX Price to Earnings Ratio (PER)14table14KRX Major Price Index15table15KTOP 3016table16Composite Stock Price Index 2015100 10th17table17Composite Stock Price Index 2015100 Composition Index Time Series 10th18table18Expected Inflation Rate National Monthly19table19Production Diffusion Index20table20Consumer Price Index 202010021table21Consumer Price Index Including Self-Contained Housing 202010022table22Monthly Consumer Price Index Fluctuation Rate23table23Korea Exchange Securities Trading Volume and Trading Volume per Trade24table24Korea Exchange Securities Trading Volume25table25Korea Exchange Securities Industry Market Capitalization26table26Korea Exchange Securities Listed Company Dividend Status27table27Korea Exchange Securities Listed Company Revenue Status28table28Korea Exchange Securities Listed Stock Summary29table29Korea Exchange Securities Investor Trading Volume30table30Korea Exchange Securities Program Trading Trading Volume31table31Consumer Price Index Including Self-Contained Housing 202010032table32Consumer Price Index by Expenditure Purpose Including Items 202010033table33KOSDAQ 150 Sector Index34table34KOSDAQ Trading Volume35table35KOSDAQ Dividend Yield36table36KOSDAQ Industry Revenue Status37table37KOSDAQ Industry Financial Status38table38KOSDAQ Industry Stock Price Index39table39KOSDAQ Industry Investment Indicators40table40KOSDAQ Listed Company Dividend Status41table41KOSDAQ Listed Company Revenue Status42table42KOSDAQ Price to Book Ratio (PBR)43table43KOSDAQ Price to Earnings Ratio (PER)44table44KOSDAQ Major Price Index45table45KOSDAQ Index46table46KOSDAQ Investor Trading Volume47table47KOSPI 200 Sector Index48table48KOSPI 200 Index49table49KOSPI Dividend Yield50table50KOSPI Industry Stock Price Index51table51KOSPI Industry Investment Indicators52table52KOSPI Price to Book Ratio (PBR)53table53KOSPI Price to Earnings Ratio (PER)54table54KOSPI Major Price Index55table55KOSPI Index56table56Consumer Price Index by Item and Item Characteristic 202010057table57Consumer Price Index by Item Characteristic 2020100The column names of the dataset have been maintained in Korean. In addition, you can check the 57 statistics file names in Korean through the key value of table_list in kmi_dataset_column_info. We apologize for the inconvenience, but we do not provide English-translated values as changing Korean to English can make it difficult for users to compare with the original data on KOSIS.Also, if there are columns with missing values in some tables, the columns with missing values have been removed. Therefore, please note that the entire dataset does not have any missing values.Format{
    'kmi_dataset_column_info': {'table0_col1': 'Number of trading days',
                                'table0_col10': 'Trading volume',
                                'table0_col11': 'Trading value (unit: million KRW)',
                                'table0_col12': 'Trading value (unit: million KRW)',
                                'table0_col13': 'Trading value (unit: million KRW)',
                                ...

                                'table9_date': 'Trading volume of listed stocks'
                                },
    'kmi_dataset_main': '{"date":{"0":2021.01,"1":2021.02,"2":2021.03,"3":2021.04,"4" ....}' ....}
}How to CiteIf you extend or use this work, please cite the paper where it was introduced:Data provided by The Korean Statistical Information Service(KOSIS), "KMI-2122" dataset, accessed from the 'kmi2122-dataset' repository on GitHub (https://github.com/DSDanielPark/kmi2122-dataset) on {Data Citation Date}Please use this badge.![kmi2122-dataset](https://img.shields.io/badge/pypi-kmi2122-blue)Further ReadingWhat is the Korean Statistical Information Service (KOSIS)?The Korean Statistical Information Service(KOSIS)is a one-stop statistical service provided by the National Statistical Office. It helps users find the statistics they need by collecting key domestic, international, and North Korean statistics in one place. KOSIS contains all government-approved statistics on the economy, society, and environment from over 400 organizations. It also provides the latest statistics on international finance and economy from the IMF, Worldbank, and OECD.Through an easy and convenient search function, various contents, and statistical explanatory data services that even the general public can understand, KOSIS allows users to quickly and accurately find the statistical data they need.DataSetsYou can find datasets on the latest macroeconomic indicators for Korea from official data providers such as the Bank of Korea (https://www.bok.or.kr/) or the Korea Statistics Portal (https://kosis.kr/)Blockchain datasetsBlockchain.com (https://www.blockchain.com/): provides blockchain transaction data for cryptocurrencies such as Bitcoin and Ethereum.Coinmetrics.io (https://coinmetrics.io/): collects and analyzes various blockchain data.Kaggle (https://www.kaggle.com/datasets?tags=14120-blockchain): a platform that provides various blockchain datasets.Macroeconomic indicators for each countryInternational Monetary Fund (IMF) (https://www.imf.org/en/Data): provides macroeconomic indicator data for countries around the world.World Bank (https://data.worldbank.org/): provides data on macroeconomic indicators, population, poverty, and more for each country.OECD (https://stats.oecd.org/): provides data on macroeconomic indicators, social issues, environmental issues, and more for OECD member countries.Stock datasetsYahoo Finance (https://finance.yahoo.com/): provides data for US stocks, futures, options, and more.Google Finance (https://www.google.com/finance): provides data for US stocks, indices, and more.Investing.com (https://www.investing.com/): provides data for stocks, indices, funds, and more worldwide.