fieldopt: Area-Frame and Dual-Frame Survey Design under Real Field Cost

Design of agricultural and other area-frame and dual-frame (area plus list) sample surveys that go to the field, with the real cost of field work (travel between sampling units plus interviews) next to the variance of the design-based estimator. Travel matrices from coordinates or a road network; GRASP routing of the field work for one or several teams; stratified spatially balanced (local pivotal) or spatially ordered systematic selection of segments with interpenetrating replicates; points inside segments with multiplicity (expected-hits) estimation; closed, open and weighted segment estimators; Horvitz-Thompson estimation with local-mean or replicate variances; cost-aware allocation across strata, Hartley's dual-frame allocation with an overlap, and two-stage allocation with a cost function; and the cost-variance frontier of a design by simulation. The computational engine is the Rust crate 'fieldopt-core'.

Version: 0.1.0
Depends: R (≥ 4.2)
Imports: cli, generics, ggplot2, rlang, stats, tibble
Suggests: arrow, BalancedSampling, dplyr, highs, knitr, osrm, purrr, Matrix, rmarkdown, sf, survey, testthat (≥ 3.0.0), tidyr, vrpr
Published: 2026-10-21
DOI: 10.32614/CRAN.package.fieldopt (may not be active yet)
Author: André Leite ORCID iD [aut, cre], Raydonal Ospina ORCID iD [aut], Cristiano Ferraz ORCID iD [aut], The authors of the dependency Rust crates [ctb] (see inst/AUTHORS file for details)
fieldopt author details
Maintainer: André Leite <leite at castlab.org>
BugReports: https://github.com/castlaboratory/fieldopt/issues
License: GPL (≥ 3)
URL: https://castlaboratory.github.io/fieldopt/, https://github.com/castlaboratory/fieldopt
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc >= 1.70.0, xz
Language: en-GB
Materials: README, NEWS
CRAN checks: fieldopt results

Documentation:

Reference manual: fieldopt.html , fieldopt.pdf
Vignettes: Where fieldopt applies: beyond agricultural surveys (source)
An area frame with points, a list frame, and their joint design (source)
Get started with fieldopt (source)
Frames, strata and cost-aware allocation (source)
Routing for one or several teams (source)
From the frame to the field: a survey plan end to end (source)
Validation and benchmarks (source)

Downloads:

Package source: fieldopt_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fieldopt to link to this page.