//if (R.either(R.isEmpty, R.isNil)(frequency)) return { lastNObservations }; what was that ???
in selectors in DE. seems that something has been missed because if no frequency, we still need a period...
default frequency is not a frequency...