get_usage
lists all function parameters of a specific
QGIS geoalgorithm.
get_usage(alg = NULL, intern = FALSE, qgis_env = set_env())
Name of the function whose parameters are being searched for.
Logical, if TRUE
the function captures the command line
output as an R
character vector. If
FALSE`, the default, the output is
printed to the console in a pretty way.
Environment containing all the paths to run the QGIS API. For
more information, refer to set_env()
.
Function get_usage
simply calls
processing.alghelp
of the QGIS Python API.
# NOT RUN {
# find a function which adds coordinates
find_algorithms(search_term = "add")
# find function arguments of saga:addcoordinatestopoints
get_usage(alg = "saga:addcoordinatestopoints")
# }
Run the code above in your browser using DataLab