home / fixtures

facetable

Data license: Apache License 2.0 · Data source: tests/fixtures.py

10 rows where state = "CA"

View and edit SQL

Suggested facets: city_id

state

pk planet_int on_earth state city_id neighborhood
1 1 1 CA San Francisco 1 Mission
2 1 1 CA San Francisco 1 Dogpatch
3 1 1 CA San Francisco 1 SOMA
4 1 1 CA San Francisco 1 Tenderloin
5 1 1 CA San Francisco 1 Bernal Heights
6 1 1 CA San Francisco 1 Hayes Valley
7 1 1 CA Los Angeles 2 Hollywood
8 1 1 CA Los Angeles 2 Downtown
9 1 1 CA Los Angeles 2 Los Feliz
10 1 1 CA Los Angeles 2 Koreatown

Advanced export

JSON shape: default, array, object

CSV options:

CREATE TABLE facetable (
    pk integer primary key,
    planet_int integer,
    on_earth integer,
    state text,
    city_id integer,
    neighborhood text,
    FOREIGN KEY ("city_id") REFERENCES [facet_cities](id)
)
Powered by Datasette · Query took 5.841ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py