Tidy the 'cleaned trips' data.frame into a sf object.

tidy_cleaned_trips(
  cleaned_trips,
  project_crs = 4326,
  smallest_rounding_digit = 2
)

Arguments

cleaned_trips

a data.table output from `query_cleaned_trips()`.

project_crs

a EPSG code. Default as 4326.

smallest_rounding_digit

an integer value.

Value

a spatial data.frame of class sf.