erdl / thermal_comfort

Algorithms for Thermal Comfort Prediction using PMV and Adaptive Method.
2 stars 1 forks source link

Create an Artificial Data Input Script #7

Closed carlosparadis closed 6 years ago

carlosparadis commented 6 years ago

Currently, the PMV model requires columns that are not readily available from our sensors. A script will be made to address data imputation without requiring to load into the database.

Ways to run and behavior

Documentation

Rscript filler.R

Running the script without parameters will invoke a help message. In essence, this should provide information of what can be passed as input to the script. It should also clarify the optional parameters that someone can type and what they mean.

No filler

Rscript filler.R <input_file_path> <output_file_path_and_name>.csv

Will throw an error message, saying no parameters to fill the data have been specified (in essence the output file would be the same as input, which defeats the script purpose).

Filler

Rscript filler.R <input_file_path> <output_file_path_and_name>.csv --rh 20 --met 2 --clo 3

User specify optional parameters followed by the values they would like to input.

@kathrynparadis I suggest you start with this, and then we discuss how to extend the filler so it can take multiple house tables and generate a single one. Will add a separate issue for that.