\item{cptcoeffsxl}{Location of the CPT coefficients excel file}
}
}
\value{
\value{
A tibble `tbl_df`.
A tibble `tbl_df`.
}
}
\description{
\description{
`samplr()` creates sample farms by aggregating data based on the weighted mean and the selected mapping for use in FarmDyn.
`updateFarmData()` creates sample farms by aggregating data based on the weighted mean and the selected mapping for use in FarmDyn.
For non-numerical globals, it summarises based on the mode using the `Modes()` function. When `writegdx` is `TRUE`, it writes the GDX in the format 'farmData_(mapping).gdx'.
For non-numerical globals, it summarises based on the mode using the `Modes()` function. When `writegdx` is `TRUE`, it writes the GDX in the format 'farmData_(mapping).gdx'.