build_example_param_file: Build an example JSON parameter file

Description Usage Arguments Value Note Author(s) Examples

View source: R/build_example_param_file.R

Description

Function used to write JSON parameter file. A function is provided instead than a json file to ensure directories to match the user folder tree.

Usage

1
2
build_example_param_file(json_path = tempfile(fileext =
  "_sen2r_params.json"), overwrite = TRUE)

Arguments

json_path

Path of the output file. Default is to save it on a temporary file, whose path is returned.

overwrite

Logical value: should existing output file be overwritten? (default: TRUE)

Value

The path of the created file.

Note

License: GPL 3.0

Author(s)

Luigi Ranghetti, phD (2019) [email protected]

Examples

1

ranghetti/sen2r documentation built on Oct. 13, 2019, 6:11 p.m.