Skip to contents

cite_fude() generates citation text in Japanese and English from Fude Polygon data, agricultural community boundary data, and statistics joined by read_ikasudb().

Usage

cite_fude(data)

Arguments

data

A data frame or a list, possibly nested, of data frames containing a known issue_year or boundary_data_year, or the statistics source metadata recorded by read_ikasudb(). Use a list to cite multiple objects together. Missing and blank years are ignored.

Value

A list with two elements: ja for Japanese citation text and en for English citation text.

Details

Statistics from MAFF's local agriculture database are identified by their file name. The citation also includes the source data year and agricultural community reference year when available.

Examples

polygons <- data.frame(issue_year = 2026L)
boundaries <- data.frame(boundary_data_year = 2025L)
cite_fude(list(polygons, boundaries))$en
#> [1] "Adapted from \"Fude Polygon Data (released in FY 2026)\" and \"Agricultural Community Boundary Data (FY 2025)\", published by the Ministry of Agriculture, Forestry and Fisheries."