home / cp40x

names

6 rows where case_id = 2071491

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4131228 2071491 2071491 plaintiff Lakyn Miles gent, attorney of the bench   Lakyn, Miles, gent, attorney of the bench 0
4131229 2071491 2071491 defendant Pierson John salter 585869 585869 Pierson, John, of London, salter 0
4131230 2071491 2071491 defendant Darrell or Barrell George esq 586470 586470 Darrell or Barrell, George, of Colchester, esq 1
4131231 2071491 2071491 defendant Wyer Richard bookbinder 586470 586470 Wyer, Richard, of Colchester, bookbinder 2
4131232 2071491 2071491 defendant Daprye James tailor 595090 595090 Daprye, James, of St Martin in the Fields, Middx, tailor 3
4131233 2071491 2071491 defendant Butler James clerk 699942 699942 Butler, James, of Magna Parenden, Essex, clerk 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 14.454ms