home / cp40x

names

6 rows where case_id = 2097340

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4205121 2097340 2097340 plaintiff Nickell Richard (legal representative)   Nickell, Richard, administratrix of 0
4205122 2097340 2097340 plaintiff Nickell Anne widow   Nickell, Anne, widow 1
4205123 2097340 2097340 defendant Nayler Henry merchant tailor 585869 585869 Nayler, Henry, of London, merchant tailor 0
4205124 2097340 2097340 defendant Dome or Donne John draper 587843 587843 Dome or Donne, John, of Tenterden, Kent, draper 1
4205125 2097340 2097340 defendant Awsten Mathew tailor 589341 589341 Awsten, Mathew, of Tenterden, tailor 2
4205126 2097340 2097340 defendant Bickton Thomas innholder 674099 674099 Bickton, Thomas, of Barnett, Middx, innholder 3

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.776ms