Weather data is essential for various fields, including meteorology, epidemiology, ecology, and engineering. International organizations such as the World Meteorological Organization, together with national agencies, collect and preserve this data. In Japan, the Japan Meteorological Agency (JMA) is a primary source. The JMA website allows users to view and download historical weather data; however, the absence of a dedicated API complicates data access.
To address this issue, the `jmastats' package for R was developed. This package provides an interface to easily access historical weather data and features local caching to reduce website traffic. The jmastats package is the only R package specifically designed for the Japanese context.
View full abstract