Assembles a complete QGIS project directory with background layers, field
forms, methods documentation, and provincial templates. Ready to deploy to
Mergin Maps for mobile field collection via rfp_mergin_create().
Arguments
- name
Character. Project name. Used for the directory and
.qgsfile.- watershed_groups
Character vector of BC watershed group codes (e.g.,
c("ELKR")).- template
Character. QGIS project template. One of
"bcfishpass_mobile"or"bcrestoration_mobile".- path_out
Character. Parent directory for the project. The project will be created at
file.path(path_out, name). Defaults to~/Projects/gis/.- layer_config
A data.frame of layers to download (e.g., from
rfp_project_layers()). IfNULL(default), reads from the gq registry for the selected template. Must have columnssource_layerandsource_type.- forms
Character vector of form types to include. Must match files in
inst/extdata/forms/. Defaults toc("pscis", "fiss_site").
Details
The output directory contains:
{name}.qgs— QGIS project file (from the selected template)background_layers.gpkg— spatial data downloaded viarfp_source()habitat_lateral.tif— lateral habitat raster (ifawssource included)form_*.gpkg— field data collection formsignore_mobile/photos/— directory for field photosignore_mobile/methods/— provincial methods PDFsignore_mobile/templates/— provincial form templates
