You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT i.*, m.z_score, m.p_valueFROMcdb_crankshaft.CDB_GetisOrdsG('SELECT * FROM incident_reports_clustered',
'num_incidents') As m
JOIN incident_reports_clustered As i
ONi.cartodb_id=m.rowid
crankshaft v1.5.0 includes a new function for finding hotspots and coldspots. Docs here: https://github.com/CartoDB/crankshaft/blob/develop/doc/16_getis_ord_gstar.md The data types for all of the function inputs and outputs are in the table there.
Recommended use of the function is like this:
cc @rochoa @stuartlynn
The text was updated successfully, but these errors were encountered: