How the databases work
You may download unlimited quantities of data from the NIER’s website free of charge. The data may also be processed, copied and distributed to other users, including for commercial use. This applies to both manual retrieval and automated retrieval via the database’s API.
How to use the forecast database and statistical database
If a table exceeds 1,000 rows and 30 columns, not all of the table will appear on screen, but you can still download it as an Excel file or in another format. The limit for downloads is 250,000 cells.
Automated data retrieval
The interface for the databases makes it easy to search and download data. It also allows you to adjust the table settings and save your searches, and so gain direct access to updated data as they are published without needing to perform a new search in the interface (see Figure 3 above). This will be enough for most users, but those who wish to automate and program their searches to an even greater degree can use the database’s API. The API can be used in various ways but requires some programming skills (see Figure 4 above).
Example code for Python
Example 1: statistical database (Python)
Example 2: statistical database (Python)
Example 3: forecast database (Python)
Example code for R
Example 1: statistical database (R)