home / cp40x

names

6 rows where case_id = 2279847

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4747734 2279847 2279847 plaintiff Lee William   767877 767877 Lee, William, of Bletnesho, parson 0
4747735 2279847 2279847 plaintiff Herdewyk William     Herdewyk, William 1
4747736 2279847 2279847 defendant Ordewey John husbandman 596570 596570 Ordewey, John, of Bromham, husbandman 0
4747737 2279847 2279847 defendant Veisy John husbandman 607776 607776 Veisy, John, of Goldyngton, husbandman 1
4747738 2279847 2279847 defendant Ussher John husbandman 596570 596570 Ussher, John, of Bromham, husbandman 2
4747739 2279847 2279847 defendant Ussher Thomas husbandman 596570 596570 Ussher, Thomas, of Bromham, husbandman 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 17.238ms