new_project: Initiate a Soil Project

Description Usage Arguments Value

View source: R/soil_project_handling.R

Description

Generates a new soil project (see: soil_project), together with a fixed link to the project folder and project path (used to save the data).

Usage

1
2
3
4
5
6
7
new_project(
  project_name,
  project_path,
  shape_file = NULL,
  extent = NULL,
  crs = NULL
)

Arguments

project_name

The name of the soil project. This will be the name of the project folder and the soil project in the working environment.

project_path

Path where the soil project and its data are saved.

shape_file

Shape file (or path to shape file) that defines the extent of the soilgrids layers. Alternatively, the extent (extent) and coordinate-system (crs) of a spatial object can be used.

extent

Extent of the window for which SoilGrids data should be loaded.

crs

Coordinate system of the provided extent.

Value

New soil_project in the working environment (as an R6 object), as well as the project folder in the project path.


chrisschuerz/SWATsolaR documentation built on Oct. 19, 2020, 2:33 p.m.