How do I download a specific date range using R?

Please see our R documentation for instructions on preprocessing data, including filtering on date ranges.