Adds a sequential index column to a data frame
add_index(ret, rename_index)
ret
An object of class tibble
rename_index
A variable indicating the index name to be used in the tibble returned