First working version for a metrics sample gathered from Python using R libs.