A wrapper to sql_inquiry_save(inquiry, filepath, "&format=GeoJSON")

sql_inquiry_save_geojson(inquiry, filepath)

Arguments

inquiry
sql inquiry string
filepath
output file path

Value

request status

Examples

sql_inquiry_save_geojson("SELECT * FROM table_1 limit 2", "e:/testgeo.json")
#> Error in curl::curl_fetch_disk(url, x$path, handle = handle): Failed to open file e:/testgeo.json.