Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCould you allow characters for `start.date` in `bdh()`? #266
Comments
|
Interesting! I didn't know about this feature. Should be a very easy patch. |
|
Thanks so much! |
|
@DavisVaughan give this a try when you have a chance. |
|
Sorry on the delay. Won't be able to test easily as I can't install from github at work. But the change looks correct to me and as shown above it definitely works if you bypass |
bdh()has a nice ability to determine the start date from a character string that doesn't correspond to a date (ex.start_date <- "-11CY"). While easily reproducible with R, it could generally be useful to let us use this feature. The only change needed is to remove or alter the check in the top levelbdh()function on thestart.dateargument.Created on 2018-06-26 by the reprex package (v0.2.0).