joshuaulrich / rfimport

getSymbols() reboot
16 stars 2 forks source link

Support 2-element time-based `dates` argument #12

Open joshuaulrich opened 1 year ago

joshuaulrich commented 1 year ago

If dates is a 2-element Date or POSIXt vector, users won't have to do dates = paste(from, to, sep = "/") if they have start/end times in separate from and to objects. Related to #10.

ethanbsmith commented 1 year ago

maybe another option would be to accept any length vector of timebased values and use the min and max of that vector as the from and to. just thinking...