mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
518206f208
- Update it to not expect query result. - Add support for specifying data source. - Create mapping file if it doesn't exist yet.
1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"layout": [[20], [1, 2], [21, 4], [3]], "user": "arik@everything.me", "id": 1, "widgets": [[{"id": 20, "width":2 , "text": "Test", "options": {}, "dashboard_id": 1}],[{"id": 1, "width": 1, "visualization": {"description": "", "type": "CHART", "id": 19, "name": "Chart", "query": {"ttl": -1, "created_at": "2013-10-29T14:05:29.933987+00:00", "latest_query_data_id": 1272, "latest_query_data": {"retrieved_at": "2014-02-13T18:33:31.451434+00:00", "query_hash": "7590974b82aecf30ae5d10ddd83f75e5", "data": {"columns": [{"type": null, "name": "departure date::x", "friendly_name": "departure date::x"}, {"type": null, "name": "flights::y", "friendly_name": "flights::y"}], "rows": [{"departure date::x": "2013-03-01", "flights::y": 340}, {"departure date::x": "2013-03-02", "flights::y": 326}, {"departure date::x": "2013-03-03", "flights::y": 396}, {"departure date::x": "2013-03-04", "flights::y": 314}, {"departure date::x": "2013-03-05", "flights::y": 309}, {"departure date::x": "2013-03-06", "flights::y": 311}, {"departure date::x": "2013-03-07", "flights::y": 313}, {"departure date::x": "2013-03-08", "flights::y": 311}, {"departure date::x": "2013-03-09", "flights::y": 255}, {"departure date::x": "2013-03-10", "flights::y": 294}, {"departure date::x": "2013-03-11", "flights::y": 312}, {"departure date::x": "2013-03-12", "flights::y": 309}, {"departure date::x": "2013-03-13", "flights::y": 311}, {"departure date::x": "2013-03-14", "flights::y": 311}, {"departure date::x": "2013-03-15", "flights::y": 312}, {"departure date::x": "2013-03-16", "flights::y": 256}, {"departure date::x": "2013-03-17", "flights::y": 295}, {"departure date::x": "2013-03-18", "flights::y": 316}, {"departure date::x": "2013-03-19", "flights::y": 311}, {"departure date::x": "2013-03-20", "flights::y": 311}, {"departure date::x": "2013-03-21", "flights::y": 313}, {"departure date::x": "2013-03-22", "flights::y": 313}, {"departure date::x": "2013-03-23", "flights::y": 256}, {"departure date::x": "2013-03-24", "flights::y": 295}, {"departure date::x": "2013-03-25", "flights::y": 316}, {"departure date::x": "2013-03-26", "flights::y": 311}, {"departure date::x": "2013-03-27", "flights::y": 311}, {"departure date::x": "2013-03-28", "flights::y": 313}, {"departure date::x": "2013-03-29", "flights::y": 313}, {"departure date::x": "2013-03-30", "flights::y": 259}, {"departure date::x": "2013-03-31", "flights::y": 286}]}, "id": 1272, "runtime": 0.115803003311157, "query": "select departure_date as \"departure date::x\", count(0) as \"flights::y\"\nfrom flights\ngroup by departure_date\norder by departure_date"}, "user": "arik@everything.me", "description": "", "api_key": "", "query_hash": "7590974b82aecf30ae5d10ddd83f75e5", "id": 1, "name": "flights count", "query": "select departure_date as \"departure date::x\", count(0) as \"flights::y\"\nfrom flights\ngroup by departure_date\norder by departure_date"}, "options": {"series": {"stacking": "normal", "type": "area"}}}, "options": {}, "dashboard_id": 1}, {"id": 2, "width": 1, "visualization": {"description": "", "type": "CHART", "id": 20, "name": "Chart", "query": {"ttl": -1, "created_at": "2013-10-29T16:27:59.754269+00:00", "latest_query_data_id": 92, "latest_query_data": {"retrieved_at": "2013-11-27T13:28:54.269920+00:00", "query_hash": "72327301acba37ec482a8ae6c94e11f0", "data": {"columns": [{"type": null, "name": "departure date::x", "friendly_name": "departure date::x"}, {"type": null, "name": "airports::y", "friendly_name": "airports::y"}], "rows": [{"airports::y": 48, "departure date::x": "2013-03-01"}, {"airports::y": 54, "departure date::x": "2013-03-02"}, {"airports::y": 53, "departure date::x": "2013-03-03"}, {"airports::y": 51, "departure date::x": "2013-03-04"}, {"airports::y": 51, "departure date::x": "2013-03-05"}, {"airports::y": 52, "departure date::x": "2013-03-06"}, {"airports::y": 51, "departure date::x": "2013-03-07"}, {"airports::y": 51, "departure date::x": "2013-03-08"}, {"airports::y": 48, "departure date::x": "2013-03-09"}, {"airports::y": 49, "departure date::x": "2013-03-10"}, {"airports::y": 51, "departure date::x": "2013-03-11"}, {"airports::y": 51, "departure date::x": "2013-03-12"}, {"airports::y": 52, "departure date::x": "2013-03-13"}, {"airports::y": 51, "departure date::x": "2013-03-14"}, {"airports::y": 51, "departure date::x": "2013-03-15"}, {"airports::y": 48, "departure date::x": "2013-03-16"}, {"airports::y": 49, "departure date::x": "2013-03-17"}, {"airports::y": 51, "departure date::x": "2013-03-18"}, {"airports::y": 51, "departure date::x": "2013-03-19"}, {"airports::y": 51, "departure date::x": "2013-03-20"}, {"airports::y": 51, "departure date::x": "2013-03-21"}, {"airports::y": 51, "departure date::x": "2013-03-22"}, {"airports::y": 48, "departure date::x": "2013-03-23"}, {"airports::y": 49, "departure date::x": "2013-03-24"}, {"airports::y": 51, "departure date::x": "2013-03-25"}, {"airports::y": 51, "departure date::x": "2013-03-26"}, {"airports::y": 51, "departure date::x": "2013-03-27"}, {"airports::y": 51, "departure date::x": "2013-03-28"}, {"airports::y": 51, "departure date::x": "2013-03-29"}, {"airports::y": 48, "departure date::x": "2013-03-30"}, {"airports::y": 49, "departure date::x": "2013-03-31"}]}, "id": 92, "runtime": 0.0775520801544189, "query": "SELECT departure_date as \"departure date::x\",\n count(DISTINCT origin_airport) as \"airports::y\"\nFROM flights\nGROUP BY departure_date\nORDER BY departure_date"}, "user": "arik@everything.me", "description": "", "api_key": "", "query_hash": "72327301acba37ec482a8ae6c94e11f0", "id": 2, "name": "Active Origin Airports", "query": "SELECT departure_date as \"departure date::x\",\n count(DISTINCT origin_airport) as \"airports::y\"\nFROM flights\nGROUP BY departure_date\nORDER BY departure_date"}, "options": {"series": {"type": "column"}}}, "options": {}, "dashboard_id": 1}], [{"id": 21, "width": 1, "visualization": {"description": "", "type": "CHART", "id": 21, "name": "Chart", "query": {"ttl": -1, "created_at": "2013-10-30T10:10:47.753219+00:00", "latest_query_data_id": 1313, "latest_query_data": {"retrieved_at": "2014-02-26T15:50:24.005622+00:00", "query_hash": "b7965a19702a9c7da804f53202f88547", "data": {"columns": [{"type": null, "name": "airline::x", "friendly_name": "airline::x"}, {"type": null, "name": "flights count::y", "friendly_name": "flights count::y"}], "rows": [{"airline::x": "American Airlines Inc.: AA", "flights count::y": 4828}, {"airline::x": "Pinnacle Airlines Inc.: 9E", "flights count::y": 4488}, {"airline::x": "JetBlue Airways: B6", "flights count::y": 183}]}, "id": 1313, "runtime": 0.0869309902191162, "query": "SELECT airline as \"airline::x\",\n count(0) as \"flights count::y\"\nFROM flights\nGROUP BY 1\nORDER BY 2 DESC"}, "user": "arik@everything.me", "description": "", "api_key": "", "query_hash": "b7965a19702a9c7da804f53202f88547", "id": 4, "name": "Top Airlines by flights count", "query": "SELECT airline as \"airline::x\",\n count(0) as \"flights count::y\"\nFROM flights\nGROUP BY 1\nORDER BY 2 DESC"}, "options": {"series": {"stacking": "normal", "type": "pie"}}}, "options": {}, "dashboard_id": 1}, {"id": 4, "width": 1, "visualization": {"description": "", "type": "TABLE", "id": 13, "name": "Table", "query": {"ttl": -1, "created_at": "2013-10-30T10:10:47.753219+00:00", "latest_query_data_id": 1313, "latest_query_data": {"retrieved_at": "2014-02-26T15:50:24.005622+00:00", "query_hash": "b7965a19702a9c7da804f53202f88547", "data": {"columns": [{"type": null, "name": "airline::x", "friendly_name": "airline::x"}, {"type": null, "name": "flights count::y", "friendly_name": "flights count::y"}], "rows": [{"airline::x": "American Airlines Inc.: AA", "flights count::y": 4828}, {"airline::x": "Pinnacle Airlines Inc.: 9E", "flights count::y": 4488}, {"airline::x": "JetBlue Airways: B6", "flights count::y": 183}]}, "id": 1313, "runtime": 0.0869309902191162, "query": "SELECT airline as \"airline::x\",\n count(0) as \"flights count::y\"\nFROM flights\nGROUP BY 1\nORDER BY 2 DESC"}, "user": "arik@everything.me", "description": "", "api_key": "", "query_hash": "b7965a19702a9c7da804f53202f88547", "id": 4, "name": "Top Airlines by flights count", "query": "SELECT airline as \"airline::x\",\n count(0) as \"flights count::y\"\nFROM flights\nGROUP BY 1\nORDER BY 2 DESC"}, "options": {}}, "options": {}, "dashboard_id": 1}], [{"id": 3, "width": 1, "visualization": {"description": "", "type": "TABLE", "id": 18, "name": "Table", "query": {"ttl": -1, "created_at": "2013-10-30T10:14:14.805903+00:00", "latest_query_data_id": 1273, "latest_query_data": {"retrieved_at": "2014-02-13T18:41:45.338046+00:00", "query_hash": "0f671fe8e915ea851d5300d03b7cd7b9", "data": {"columns": [{"type": null, "name": "airport", "friendly_name": "airport"}, {"type": null, "name": "flights count", "friendly_name": "flights count"}], "rows": [{"flights count": 5316, "airport": "New York, NY: John F. Kennedy International"}, {"flights count": 2726, "airport": "New York, NY: LaGuardia"}, {"flights count": 1480, "airport": "Detroit, MI: Detroit Metro Wayne County"}, {"flights count": 1080, "airport": "Chicago, IL: Chicago O'Hare International"}, {"flights count": 987, "airport": "Miami, FL: Miami International"}, {"flights count": 984, "airport": "Dallas/Fort Worth, TX: Dallas/Fort Worth International"}, {"flights count": 552, "airport": "Los Angeles, CA: Los Angeles International"}, {"flights count": 506, "airport": "Boston, MA: Logan International"}, {"flights count": 316, "airport": "Rochester, NY: Greater Rochester International"}, {"flights count": 277, "airport": "Buffalo, NY: Buffalo Niagara International"}, {"flights count": 249, "airport": "Albany, NY: Albany International"}, {"flights count": 247, "airport": "Minneapolis, MN: Minneapolis-St Paul International"}, {"flights count": 241, "airport": "San Francisco, CA: San Francisco International"}, {"flights count": 238, "airport": "Philadelphia, PA: Philadelphia International"}, {"flights count": 224, "airport": "San Juan, PR: Luis Munoz Marin International"}, {"flights count": 185, "airport": "Raleigh/Durham, NC: Raleigh-Durham International"}, {"flights count": 184, "airport": "Baltimore, MD: Baltimore/Washington International Thurgood Marshall"}, {"flights count": 184, "airport": "Washington, DC: Ronald Reagan Washington National"}, {"flights count": 182, "airport": "St. Louis, MO: Lambert-St. Louis International"}, {"flights count": 172, "airport": "Binghamton, NY: Greater Binghamton/Edwin A. Link Field"}, {"flights count": 169, "airport": "White Plains, NY: Westchester County"}, {"flights count": 160, "airport": "Orlando, FL: Orlando International"}, {"flights count": 159, "airport": "Newburgh/Poughkeepsie, NY: Stewart International"}, {"flights count": 142, "airport": "Syracuse, NY: Syracuse Hancock International"}, {"flights count": 129, "airport": "Pittsburgh, PA: Pittsburgh International"}, {"flights count": 125, "airport": "Washington, DC: Washington Dulles International"}, {"flights count": 124, "airport": "Ithaca/Cortland, NY: Ithaca Tompkins Regional"}, {"flights count": 123, "airport": "Fort Lauderdale, FL: Fort Lauderdale-Hollywood International"}, {"flights count": 106, "airport": "Cincinnati, OH: Cincinnati/Northern Kentucky International"}, {"flights count": 100, "airport": "Dayton, OH: James M Cox/Dayton International"}, {"flights count": 93, "airport": "Norfolk, VA: Norfolk International"}, {"flights count": 78, "airport": "Tampa, FL: Tampa International"}, {"flights count": 69, "airport": "Charleston, SC: Charleston AFB/International"}, {"flights count": 65, "airport": "Las Vegas, NV: McCarran International"}, {"flights count": 64, "airport": "Austin, TX: Austin - Bergstrom International"}, {"flights count": 64, "airport": "Charlotte, NC: Charlotte Douglas International"}, {"flights count": 64, "airport": "San Diego, CA: San Diego International"}, {"flights count": 63, "airport": "Cleveland, OH: Cleveland-Hopkins International"}, {"flights count": 63, "airport": "Seattle, WA: Seattle/Tacoma International"}, {"flights count": 62, "airport": "Eagle, CO: Eagle County Regional"}, {"flights count": 62, "airport": "Jacksonville, FL: Jacksonville International"}, {"flights count": 62, "airport": "Nashville, TN: Nashville International"}, {"flights count": 62, "airport": "Indianapolis, IN: Indianapolis International"}, {"flights count": 62, "airport": "Elmira/Corning, NY: Elmira/Corning Regional"}, {"flights count": 61, "airport": "Kansas City, MO: Kansas City International"}, {"flights count": 60, "airport": "Milwaukee, WI: General Mitchell International"}, {"flights count": 55, "airport": "Richmond, VA: Richmond International"}, {"flights count": 52, "airport": "Knoxville, TN: McGhee Tyson"}, {"flights count": 50, "airport": "Louisville, KY: Louisville International-Standiford Field"}, {"flights count": 31, "airport": "Charlotte Amalie, VI: Cyril E King"}, {"flights count": 25, "airport": "Columbia, SC: Columbia Metropolitan"}, {"flights count": 11, "airport": "Atlanta, GA: Hartsfield-Jackson Atlanta International"}, {"flights count": 10, "airport": "West Palm Beach/Palm Beach, FL: Palm Beach International"}, {"flights count": 8, "airport": "Fort Myers, FL: Southwest Florida International"}, {"flights count": 5, "airport": "Columbus, OH: Port Columbus International"}, {"flights count": 3, "airport": "Portland, ME: Portland International Jetport"}, {"flights count": 3, "airport": "San Antonio, TX: San Antonio International"}, {"flights count": 3, "airport": "Sarasota/Bradenton, FL: Sarasota/Bradenton International"}, {"flights count": 3, "airport": "New Orleans, LA: Louis Armstrong New Orleans International"}, {"flights count": 3, "airport": "Burlington, VT: Burlington International"}, {"flights count": 2, "airport": "Long Beach, CA: Long Beach Airport"}, {"flights count": 2, "airport": "Grand Rapids, MI: Gerald R. Ford International"}, {"flights count": 2, "airport": "Aguadilla, PR: Rafael Hernandez"}, {"flights count": 1, "airport": "Houston, TX: William P Hobby"}, {"flights count": 1, "airport": "Salt Lake City, UT: Salt Lake City International"}, {"flights count": 1, "airport": "Ponce, PR: Mercedita"}, {"flights count": 1, "airport": "Denver, CO: Denver International"}, {"flights count": 1, "airport": "San Jose, CA: Norman Y. Mineta San Jose International"}, {"flights count": 1, "airport": "Burbank, CA: Bob Hope"}, {"flights count": 1, "airport": "Oakland, CA: Metropolitan Oakland International"}, {"flights count": 1, "airport": "Phoenix, AZ: Phoenix Sky Harbor International"}, {"flights count": 1, "airport": "Sacramento, CA: Sacramento International"}]}, "id": 1273, "runtime": 0.0932610034942627, "query": "SELECT airport,\n count(0) AS \"flights count\"\nFROM\n ( SELECT origin_airport AS \"airport\"\n FROM flights\n UNION ALL SELECT destination_airport AS \"airport\"\n FROM flights ) AS airports\nGROUP BY 1\nORDER BY 2 DESC"}, "user": "arik@everything.me", "description": "", "api_key": "", "query_hash": "0f671fe8e915ea851d5300d03b7cd7b9", "id": 5, "name": "Top Airports by flights count", "query": "SELECT airport,\n count(0) AS \"flights count\"\nFROM\n ( SELECT origin_airport AS \"airport\"\n FROM flights\n UNION ALL SELECT destination_airport AS \"airport\"\n FROM flights ) AS airports\nGROUP BY 1\nORDER BY 2 DESC"}, "options": {}}, "options": {}, "dashboard_id": 1}]], "name": "Flights", "slug": "flights"} |