joshuaulrich / rfimport

getSymbols() reboot
16 stars 2 forks source link

Add 'periodicity' as formal argument to generic `import` functions #11

Open joshuaulrich opened 1 year ago

joshuaulrich commented 1 year ago

Data sources often support more than one periodicity and each data source uses their own conventions for specifying periodicity.

Add a periodicity argument to the generic import functions and use standard values for all potential periodicity values. Then each source method can translates those standard periodicity values to whatever is required by the source.