home / cp40x

names

6 rows where case_id = 2429576

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5248085 2429576 2429576 plaintiff Stokes Thomas     Stokes, Thomas 0
5248086 2429576 2429576 defendant Blaverhayset Ralph esq 819712 819712 Blaverhayset, Ralph, of Frense, Norf, esq 0
5248087 2429576 2429576 defendant Couper Robert cooper 585929 585929 Couper, Robert, of St Clement Danes, cooper 1
5248088 2429576 2429576 defendant Bolt Martin tailor 585929 585929 Bolt, Martin, of St Clement Danes, tailor 2
5248089 2429576 2429576 defendant Stefen Richard butcher 585869 585869 Stefen, Richard, of London, butcher 3
5248090 2429576 2429576 defendant Skynner alias Carpenter Nicholas carpenter 585929 585929 Skynner alias Carpenter, Nicholas, of St Clement Danes, carpenter 4

Advanced export

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

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 13.528ms