﻿{"VERSION": "1",
 "CONFIG": ["vf","200","50","1","5000","50","https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","Tiles (c) OpenStreetMap","","Query String","START"],
 "TABLES": {
  "VF_TABLES": [
   ["URL","SCHOOLS",null,"text/csv; charset=utf-8","https://data.sfgov.org/api/v3/views/7e7j-59qk/query.csv","UTF-8",",","","\"","",0,1,1,0,null,null,"60","X-App-Token","WFcphN3Ea8iFSlqDd7X7TpHb6","","",110]
  ],
  "VF_SQL": [
   ["Drop Schools View",120,"drop view if exists schools_vw;"],
   ["Create Schools View",130,"create view if not exists schools_vw\nas\nSELECT\n    CASE\n        WHEN entity_type LIKE '%Public%'  THEN 'green'\n        WHEN entity_type LIKE '%Private%' THEN 'red'\n        ELSE 'blue'\n    END AS fillColor,\n    school as tooltip,\n    s.*\nFROM schools s;"]
  ],
  "VF_SEQUENCE": [
   ["Load Schools",100,"110,120,130,150"]
  ],
  "VF_PROMPT_INPUT": [
  ],
  "VF_CUSTOM_FUNCTION": [
  ],
  "VF_CUSTOM_FUNCTION_PARAMETER": [
  ],
  "VF_RUN_MENU": [
   ["Schools","",100,""]
  ],
  "VF_TABLE_VISUALIZATION": [
  ],
  "VF_CHART_VISUALIZATION": [
  ],
  "VF_MAP_VISUALIZATION": [
   ["Schools Map","schools_vw",null,"Literal Constant","SF Schools By Category.  Public:🟢, Private:🔴, Other:🔵",150,"","point","Column Value","tooltip","stroke","regular","Literal Constant","true","fillColor","regular","Column Value","fillColor","radius","regular","Literal Constant","8","fillOpacity","regular","Literal Constant",".9","color","regular","Literal Constant","black","weight","regular","Literal Constant","1","","",0,null,null,null]
  ],
  "VF_NETWORK_VISUALIZATION": [
  ],
  "VF_HEATMAP_VISUALIZATION": [
  ],
  "VF_MEDIA_VISUALIZATION": [
  ]
 }
}
