Add require statement (require ‘lubridate’)
Validate input of the supplied date and time string
Check if supplied date/time yields valid POSIXct dt object
If entered date/time passes validation, assign it
Ask to assign value to ‘emissions_duration'
Add comment to script
Change the default number of clusters to calculate