home / cp40x

names

8 rows where case_id = 2508959

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5513116 2508959 2508959 plaintiff Nevyll George knight   Nevyll, George, knight 0
5513117 2508959 2508959 plaintiff Grene Robert     Grene, Robert 1
5513118 2508959 2508959 plaintiff Phelip Thomas     Phelip, Thomas 2
5513119 2508959 2508959 plaintiff Colston John     Colston, John 3
5513120 2508959 2508959 plaintiff Bolt Thomas     Bolt, Thomas 4
5513121 2508959 2508959 plaintiff Holbich John     Holbich, John 5
5513122 2508959 2508959 defendant Holbyche Alice widow 586435 586435 Holbyche, Alice, of Leicester, widow 0
5513123 2508959 2508959 defendant Lynaly Edward gent 764507 764507 Lynaly, Edward, of Slaweston, gent 1

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 13.032ms