DOI: 10.5281/zenodo.7453644
title: Digitisation of Weather Records of Seungjeongwon Ilgi: A Historical Weather Dynamics Dataset of the Korean Peninsula (1623-1910)

description: <strong>Introduction</strong> This study has exploited the daily weather records of Seungjeongwon Ilgi from the NIKH database. Seungjeongwon Ilgi (http://sjw.history.go.kr/main.do) is a daily record of the Seungjeongwon, the Royal Secretariat of the Joseon Dynasty of Korea. These diaries span from 1623 to 1910 and generally involve daily weather records in the entry header. Their observational site would be located in Seoul (N37°35′, E126°59′). We have exploited the weather records from the NIKH database and classified the daily weather using text mining method. We have also converted the report dates from the traditional lunisolar calendar to the Gregorian calendar, to better contextualise our data into the contemporary daily measurements. <strong>Data</strong> We provide different formats (csv, xlsx, json) to facilitate the usage of data. The main contents of data are listed as below. <strong>ID</strong>: The unique identifier of a specific record in the metadata, which can also serve as the identifier to merge with external data in the NIKH digital database. <strong>Traditional calendar</strong>: The original lunar dates in the NIKH digital database, which are listed in data format "YYYY-MM-DD". More specifically, "L0" implies the leap year and "L1" implies the common year. <strong>Leap</strong>: The identifier of a leap year. <strong>Gregorian calendar</strong>: The Gregorian calendar date that converted by the traditional calendar date. <strong>Weather Text</strong>: The text that describe the weather conditions. Specifically, multiple weather descriptions of the same day have been put together. <strong>Flag</strong>: The computed value that indicates different combinations of weather conditions. <strong>Volume</strong>: The volume of text in the original record. <strong>Herbal Volume</strong>: The volume of text in the herbal record. <strong>Sunny</strong>: A dummy variable that represents whether the weather description contains the expression of sunny. <strong>Cloudy</strong>: A dummy variable that represents whether the weather description contains the expression of cloudy. <strong>Rainy</strong>: A dummy variable that represents whether the weather description contains the expression of rainy. <strong>Snow</strong>: A dummy variable that represents whether the weather description contains the expression of snow. <strong>Wind</strong>: A dummy variable that represents whether the weather description contains the expression of wind. <strong>Import Data</strong> <pre><code class="language-python"># Python # CSV file import pandas as pd data=pd.read_csv('~/SJWilgi_Seoul_Weather_YR1623_1910.csv',encoding="utf-8") # JSON file data=pd.read_json('~/SJWilgi_Seoul_Weather_YR1623_1910.json',encoding="utf-8") # Excel file data=pd.read_excel('~/SJWilgi_Seoul_Weather_YR1623_1910.xlsx') # Excel file</code></pre> <pre><code class="language-bash"># R # CSV file library(readr) data&lt;- read_csv("~/SJWilgi_Seoul_Weather_YR1623_1910.csv") # Excel file library(readxl) data &lt;- read_excel("~/SJWilgi_Seoul_Weather_YR1623_1910.xlsx")</code></pre>