Package: fieldopt Title: Area-Frame and Dual-Frame Survey Design under Real Field Cost Version: 0.1.0.9001 Authors@R: c( person("André", "Leite", , "leite@castlab.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4718-9766")), person("Raydonal", "Ospina", , "raydonal@castlab.org", role = "aut", comment = c(ORCID = "0000-0002-9884-9090")), person("Cristiano", "Ferraz", , "cferraz@castlab.org", role = "aut", comment = c(ORCID = "0000-0002-6838-6734")), person("The authors of the dependency Rust crates", role = "ctb", comment = "see inst/AUTHORS file for details") ) Description: 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'. The methods follow Grafström, Lundström and Schelin (2012) for the local pivotal method, Grafström and Schelin (2014) for the local-mean variance, Hartley (1962) for the dual-frame design, and Beardwood, Halton and Hammersley (1959) for the square-root law of travel behind the cost curve. License: GPL (>= 3) URL: https://castlaboratory.github.io/fieldopt/, https://github.com/castlaboratory/fieldopt BugReports: https://github.com/castlaboratory/fieldopt/issues 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 VignetteBuilder: knitr Config/Needs/website: rmarkdown Config/rextendr/version: 0.5.0 Config/testthat/edition: 3 Encoding: UTF-8 Language: en-GB Roxygen: list(markdown = TRUE) RoxygenNote: 8.0.0 SystemRequirements: Cargo (Rust's package manager), rustc >= 1.70.0, xz Config/pak/sysreqs: xz-utils libclang-dev Repository: https://castlaboratory.r-universe.dev Date/Publication: 2026-10-22 20:14:24 UTC RemoteUrl: https://github.com/castlaboratory/fieldopt RemoteRef: HEAD RemoteSha: 115376dac3d6d0f2ddbcc65deac40444925eff5c NeedsCompilation: yes Packaged: 2026-10-22 22:41:04 UTC; root Author: André Leite [aut, cre] (ORCID: ), Raydonal Ospina [aut] (ORCID: ), Cristiano Ferraz [aut] (ORCID: ), The authors of the dependency Rust crates [ctb] (see inst/AUTHORS file for details) Maintainer: André Leite