Wrapper for classify_xy. Runs classify_xy, counts number of hits in each dimension, then decides what to depending on those two numbers.

space_detective(list)

Arguments

list

Metajam output for a single data entity

Value

A character vector whose two elements are named "lat_col" and "lon_col", indicating the names of columns containing lat and lon information respectively, or an error message if not detected or if we aren't equipped to deal with the number of hits we got.