Learn R Programming

antaresEditObject (version 1.0.0)

editDistrict: Edit a district in an Antares study

Description

Edit a district in an Antares study

Usage

editDistrict(
  name,
  caption = NULL,
  comments = NULL,
  apply_filter = NULL,
  add_area = NULL,
  remove_area = NULL,
  output = NULL,
  opts = simOptions()
)

Value

An updated list containing various information about the simulation.

Arguments

name

District's name.

caption

Caption for the district.

comments

Comments for the district.

apply_filter

Possible values are add-all to add all areas to the district, remove-all to clear the district, or none (default) to don't apply a filter.

add_area

Character vector of area(s) to add to the district.

remove_area

Character vector of area(s) to remove from the district.

output

Logical, compute the results for the district or not?

opts

List of simulation parameters returned by the function antaresRead::setSimulationPath()

See Also

createDistrict(), removeDistrict()

Examples

Run this code
if (FALSE) {
editDistrict(
  name = "my_existing_district",
  comments = "This is my district",
  add_area = c("area1", "area3", "area5"),
  opts = simOptions()
)
}

Run the code above in your browser using DataLab