home / cp40x

names

6 rows where case_id = 2513431

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5528440 2513431 2513431 plaintiff Moreton Robert esq 896669 896669 Moreton, Robert, of Shuffenalle, esq 0
5528441 2513431 2513431 defendant Waterson William tanner 680033 680033 Waterson, William, of Nuport, tanner 0
5528442 2513431 2513431 defendant Thomlynson William cordwainer 587736 587736 Thomlynson, William, of Harborowe, Leics, cordwainer 1
5528443 2513431 2513431 defendant Grene Thomas husbandman 677547 677547 Grene, Thomas, of Orton, Leics, husbandman 2
5528444 2513431 2513431 defendant Grene John husbandman 608397 608397 Grene, John, of Orton, husbandman 3
5528445 2513431 2513431 defendant Fatreclough Gilbert cordwainer 589300 589300 Fatreclough, Gilbert, of Tonge, cordwainer 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.997ms