ComenzarEmpieza gratis

Ordering rows

Ordering aggregated data is quite a common operation. This can be elegantly accomplished by simply chaining data.table expressions together.

Este ejercicio forma parte del curso

Data Manipulation with data.table in R

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Compute the total trips grouped by start_station and end_station
trips_dec <- batrips[, ___, by = .(___, 
                                  ___)]
trips_dec
Editar y ejecutar código