home / cp40x

names

6 rows where case_id = 2507547

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5508570 2507547 2507547 plaintiff Elys John mercer 585869 585869 Elys, John, of London, mercer 0
5508571 2507547 2507547 defendant Robynson Thomas mercer 585869 585869 Robynson, Thomas, of London, mercer 0
5508572 2507547 2507547 defendant Malyard Robert chapman 587052 587052 Malyard, Robert, of Beverley, Yorks, chapman 1
5508573 2507547 2507547 defendant Baker Thomas   588442 588442 Baker, Thomas, of Rochester, Kent, hackney man 2
5508574 2507547 2507547 defendant Toche John chaplain 894677 894677 Toche, John, of Raneham, Kent, chaplain 3
5508575 2507547 2507547 defendant Clerk John chapman 588723 588723 Clerk, John, of Westram, Kent, chapman 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 5.637ms