Create data frame to populate the periods.csv file. the Closes #15
What is the code doing
Add a function get_inv_periods to prompt to the user for inputs of investment periods information, then create a data frame in build_periods so that we can successfully call to_csv in the main grid_to_switch function.
Time to review
10 minutes. Maybe we can come up with a better way to prompt to the user for many inputs in this situation?
Purpose
Create data frame to populate the periods.csv file. the Closes #15
What is the code doing
Add a function
get_inv_periods
to prompt to the user for inputs of investment periods information, then create a data frame inbuild_periods
so that we can successfully callto_csv
in the maingrid_to_switch
function.Time to review
10 minutes. Maybe we can come up with a better way to prompt to the user for many inputs in this situation?