1. Distribution of crops


2. Own data points (locations)




Target population in the risk areas and baseline area


Introduction

Finnish Field Parcel Retriever (FiFi) is a web application for retrieving data on the distribution of crops in Finland to support the statistical assessment and planning of detection and delimiting surveys for pests of agricultural and horticultural plants. FiFi was developed in the Risk Assessment Unit of the Finnish Food Authority and it has been made openly available web application through the Rahti container service provided by CSC – IT Center for Science, Finland.


Programming language

The FiFi web application is implemented in R version 4.4.2 (R Core Team 2024) using the following R packages:

  • shiny (Chang et al. 2022)
  • DT (Xie et al. 2024)
  • htmltools (Cheng et al. 2024
  • leaflet (Cheng et al. 2024)
  • leaflet.extras (Gatscha et al. 2024)
  • leaflet.extras2 (Gatscha 2025)
  • memoise (Wickham et al. 2021
  • RColorBrewer (Neuwirth 2022)
  • sf (Pebesma 2018; Pebesma & Bivand 2023
  • shinybusy (Meyer & Perrier 2024)
  • shinyhelper (Mason-Thom 2019)
  • shinyMatrix (Neudecker 2024)
  • shinythemes (Chang et al. 2021)
  • shinyWidgets (Perrier et al. 2025)
  • terra (Hijmans 2025)
  • yaml (Garbett et al. 2024

Crop data

FiFi retrieves data from the Finnish agricultural parcel dataset ( kasvulohko ) for the year 2025, provided by the Finnish Food Authority. More details about the dataset are available here .

The original dataset was provided as a GeoPackage. For use within FiFi, it was converted into the FlatGeobuf format, and attribute fields and crops not needed for the planning of official plant health surveys in Finland were removed.


Region data

Regional datasets that FiFi is using have been compiled from several sources:

  • Data on the Centres for Economic Development, Transport and the Environment and on the Regions were obtained from Statistics Finland (2025a; 2025b). The regional data were further modified to match the Economic Development Centres in Finland
  • Data on municipalities were obtained from the National Land Survey of Finland (2025).
  • Data on NUTS (Nomenclature of Territorial Units for Statistics) areas were retrieved from Eurostat (2024).
  • Climate data representing the recent distribution (1991–2020) of Köppen–Geiger climate types in Finland were sourced from Beck et al. (2023) at a spatial resolution of 0.1° (approximately 11 km at the equator).

Survey bands

When the locations represent outbreak sites of a pest, survey bands are created around the points using the Gamma Year approach described by EFSA (2025).


Beck, H. E., McVicar, T. R., Vergopolan, N., Berg, A., Lutsko, N. J., Dufour, A., Zeng, Z., Jiang, Z., van Dijk, A. I. J. M., & Miralles, D. G. (2023). High-resolution (1 km) Köppen–Geiger maps for 1901–2099 based on constrained CMIP6 projections. Scientific Data, 10 , 724. https://doi.org/10.1038/s41597-023-02549-6

Chang, W. (2021). shinythemes: Themes for Shiny . R package version 1.2.0. https://CRAN.R-project.org/package=shinythemes

Chang, W., Cheng, J., Allaire, J., Sievert, C., Schloerke, B., Xie, Y., Allen, J., McPherson, J., Dipert, A., & Borges, B. (2024). shiny: Web Application Framework for R . R package version 1.10.0. https://CRAN.R-project.org/package=shiny

Cheng, J., Schloerke, B., Karambelkar, B., & Xie, Y. (2024). leaflet: Create Interactive Web Maps with the JavaScript 'Leaflet' Library . R package version 2.2.2. https://CRAN.R-project.org/package=leaflet

Cheng, J., Sievert, C., Schloerke, B., Chang, W., Xie, Y., Allen, J. (2024). htmltools: Tools for HTML . R package version 0.5.8.1. https://CRAN.R-project.org/package=shinythemes

EFSA Panel on Plant Health (Lázaro, E., Parnell, S., Vicent Civera, A., Schenk, M., Cortiñas Abrahantes, J., Navas-Cortes, J., Thulke, H.-H., Pecori, F., Koh, J., Schans, J., Aerts, M., Zancanaro, G., Vos, S., & Kaluski, T.). (2025). Update of general guidelines for statistically sound and risk-based surveys of plant pests . EFSA Supporting Publication 2025:EN‑9788. https://doi.org/10.2903/sp.efsa.2025.EN-9788

Eurostat. (2024). Territorial units for statistics (NUTS) [Shapefile] . European Commission. https://ec.europa.eu/eurostat/web/gisco/geodata/statistical-units/statistical-units-statistics

Garbett, S. P., Stephens, J., Simonov, K., Xie, Y., Dong, Z., Wickham, H., Horner, J., reikoch, Beasley, W., O'Connor, B., Warnes, G. R., Quinn, M., Kamvar, Z. N., Gao, C. (2024). yaml: Methods to Convert R Data to YAML and Back . R package version 2.3.10. https://CRAN.R-project.org/package=yaml

Gatscha, S. (2025). leaflet.extras2: Extra Functionality for 'leaflet' Package . R package version 1.3.1. https://CRAN.R-project.org/package=leaflet.extras2

Gatscha, S., Karambelkar, B., & Schloerke, B. (2024). leaflet.extras: Extra Functionality for 'leaflet' Package . R package version 2.0.1. https://CRAN.R-project.org/package=leaflet.extras

Hijmans, R. (2025). terra: Spatial Data Analysis . R package version 1.8‑50. https://CRAN.R-project.org/package=terra

Mason-Thom, C. (2019). shinyhelper: Easily Add Markdown Help Files to 'shiny' App Elements . R package version 0.3.2. https://CRAN.R-project.org/package=shinyhelper

Meyer, F., & Perrier, V. (2024). shinybusy: Busy Indicators and Notifications for 'Shiny' Applications . R package version 0.3.3. https://CRAN.R-project.org/package=shinybusy

National Land Survey of Finland. (2025). Municipalities 2025 (1:4 500 000) . Open data. Retrieved 28 January 2026. https://asiointi.maanmittauslaitos.fi/karttapaikka/tiedostopalvelu?lang=fi

Neudecker, A. (2024). shinyMatrix: Shiny Matrix Input Field . R package version 0.8.0. https://CRAN.R-project.org/package=shinyMatrix

Neuwirth, E. (2022). RColorBrewer: ColorBrewer Palettes . R package version 1.1‑3. https://CRAN.R-project.org/package=RColorBrewer

Pebesma, E. (2018). Simple Features for R: Standardized Support for Spatial Vector Data . The R Journal 10 (1), 439‑446. https://doi.org/10.32614/RJ-2018-009

Pebesma, E., & Bivand, R. (2023). Spatial Data Science: With Applications in R . Chapman and Hall/CRC. https://doi.org/10.1201/9780429459016

Perrier, V., Meyer, F., & Granjon, D. (2025). shinyWidgets: Custom Input Widgets for Shiny . R package version 0.9.0. https://CRAN.R-project.org/package=shinyWidgets

R Core Team. (2024). R: A Language and Environment for Statistical Computing . R Foundation for Statistical Computing, Vienna. https://www.R-project.org/

Statistics Finland. (2025a). Centres for Economic Development, Transport and the Environment (ELY) 2025 (1:4 500 000) . Licensed under CC BY 4.0.

Statistics Finland. (2025b). Regions 2025 (1:4 500 000) . Licensed under CC BY 4.0.

Wickham, H., Hester, J., Chang, W., Müller, K., Cook, D. (2021). memoise: 'Memoisation' of Functions . R package version 2.0.1. https://CRAN.R-project.org/package=memoise

Xie, Y., Cheng, J., & Tan, X. (2024). DT: A Wrapper of the JavaScript Library 'DataTables' . R package version 0.33. https://CRAN.R-project.org/package=DT


The source code for FiFi is available at Zenodo under the GNU General Public License version 3 license.


Please cite FiFi as:

Marinova‑Todorova M & Tuomola J (2026) Finnish Field Parcel Retriever (FiFi) - A tool for retrieving field parcel data needed in statistical assessment and planning of quarantine pest surveys. Finnish Food Authority, Helsinki, Finland. Available at: https://fifi.2.rahtiapp.fi/