creates a new model template
create_new_model.Rd
creates a new model template
Arguments
- input_file
character,either "building", "furniture" or "metadata", depending on the input file you wish to create
- version_building
character, version of building model to be used, default to "02". Not necessary when input_file = "furniture"
- type_building
character, type of building file to create ("xml" or "yaml"), default to xml. Not necessary when input_file = "furniture"
- file_path
character, path to folder where to store the input file, default to tempdir()
- editor
character, the text editor to be used
Examples
if (FALSE) { # \dontrun{
create_new_model(input_file = "building")
create_new_model(input_file = "building", editor = "code")
create_new_model(input_file = "furniture", editor = "rstudio")
create_new_model(
input_file = "building",
type_building = "yaml",
editor = "code"
)
create_new_model(input_file = "metadata", editor = "code")
} # }