R-R peak data are required to calculate Respiratory Rate. You can use the R-R peak data and feed Peter H. Charltons Matlab Toolbox for Respiratory Rate Estimation. Or you can go the Python path directly. Peter H. Charlton is interested in co-workers for a Python software for his project (personal communication Peter H. Chartlon).