home / cp40x

names

6 rows where case_id = 2228092

✎ 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
4589503 2228092 2228092 plaintiff Lincoln Robert   585869 585869 Lincoln, Robert, of London, master of the house or hospital of the BM of Bethlehem, outside Bishopsgate 0
4589504 2228092 2228092 defendant Shorthale Walter clerk   Shorthale, Walter, clerk 0
4589505 2228092 2228092 defendant Ploumbe John     Ploumbe, John 1
4589506 2228092 2228092 defendant Smyth Thomas   772504 772504 Smyth, Thomas, of Steneham, Middx 2
4589507 2228092 2228092 defendant Solam John   585869 585869 Solam, John, of London 3
4589508 2228092 2228092 defendant fitz or Brwer John   587024 587024 fitz or Brwer, John, of Stratford atte Bowe, Middx 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 17.982ms