Description Usage Arguments Details Value Author(s) Examples
View source: R/import_services.R
This function creates a list with the data needed for the computation of ecosystem services (groundwater recharge, groundwater quality, carbon removal, cost, and appreciation) for each management practice.
1 | import_services(path=NULL)
|
path |
A character string specifying the path to the folder containing the text files containing ecosystem service data. |
To run import_services
efficiently, data must be stored in text files. One text file should contain the data associated with one ecosystem service only. By default, the following naming convention is used for the text files: “waterrecharge.txt”, “waterquality.txt”, “carbon.txt”, “costs.txt”, and “appreciation.txt”. By default (path=NULL
), the function imports the data stored in the “extdata” folder of the package.
Returns a list. The list is a services
object. Each element of the list contains the data associated with one ecosystem service.
Benjamin M. Delory
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.