home / fixtures

Menu
  • GraphQL API

facetable

Table actions
  • GraphQL API for facetable

15 rows sorted by _city_id

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: planet_int, state, _city_id, tags, created (date), tags (array)

_neighborhood 14 ✖

  • Downtown 2
  • Arcadia Planitia 1
  • Bernal Heights 1
  • Corktown 1
  • Dogpatch 1
  • Greektown 1
  • Hayes Valley 1
  • Hollywood 1
  • Koreatown 1
  • Los Feliz 1
  • Mexicantown 1
  • Mission 1
  • SOMA 1
  • Tenderloin 1

created 4 ✖

  • 2019-01-14 08:00:00 4
  • 2019-01-15 08:00:00 4
  • 2019-01-17 08:00:00 4
  • 2019-01-16 08:00:00 3

on_earth 2 ✖

  • 1 14
  • 0 1

complex_array 2 ✖

  • [] 14
  • [{"foo": "bar"}] 1
pk created planet_int on_earth state _city_id ▼ _neighborhood tags complex_array distinct_some_null n
1 2019-01-14 08:00:00 1 1 CA San Francisco 1 Mission ["tag1", "tag2"] [{"foo": "bar"}] one n1
2 2019-01-14 08:00:00 1 1 CA San Francisco 1 Dogpatch ["tag1", "tag3"] [] two n2
3 2019-01-14 08:00:00 1 1 CA San Francisco 1 SOMA [] []    
4 2019-01-14 08:00:00 1 1 CA San Francisco 1 Tenderloin [] []    
5 2019-01-15 08:00:00 1 1 CA San Francisco 1 Bernal Heights [] []    
6 2019-01-15 08:00:00 1 1 CA San Francisco 1 Hayes Valley [] []    
7 2019-01-15 08:00:00 1 1 CA Los Angeles 2 Hollywood [] []    
8 2019-01-15 08:00:00 1 1 CA Los Angeles 2 Downtown [] []    
9 2019-01-16 08:00:00 1 1 CA Los Angeles 2 Los Feliz [] []    
10 2019-01-16 08:00:00 1 1 CA Los Angeles 2 Koreatown [] []    
11 2019-01-16 08:00:00 1 1 MI Detroit 3 Downtown [] []    
12 2019-01-17 08:00:00 1 1 MI Detroit 3 Greektown [] []    
13 2019-01-17 08:00:00 1 1 MI Detroit 3 Corktown [] []    
14 2019-01-17 08:00:00 1 1 MI Detroit 3 Mexicantown [] []    
15 2019-01-17 08:00:00 2 0 MC Memnonia 4 Arcadia Planitia [] []    

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE facetable (
    pk integer primary key,
    created text,
    planet_int integer,
    on_earth integer,
    state text,
    _city_id integer,
    _neighborhood text,
    tags text,
    complex_array text,
    distinct_some_null,
    n text,
    FOREIGN KEY ("_city_id") REFERENCES [facet_cities](id)
);
Powered by Datasette · Queries took 36.275ms · About: simonw/til