home / cp40x

names

8 rows where case_id = 2418521

✎ 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
5209507 2418521 2418521 plaintiff Sheylk John (legal representative) 585869 585869 Sheylk, John, of London, fishmonger, executrix of 0
5209508 2418521 2418521 plaintiff Sheylk Alice     Sheylk, Alice 1
5209509 2418521 2418521 defendant Layeston John fishmonger 594555 594555 Layeston, John, of Newemarket, Suff, fishmonger 0
5209510 2418521 2418521 defendant Neell Stephen fishmonger 586360 586360 Neell, Stephen, of Chelmesford, Essex, fishmonger 1
5209511 2418521 2418521 defendant Laweles Robert fishmonger 853944 853944 Laweles, Robert, of Barnes, Surrey, fishmonger 2
5209512 2418521 2418521 defendant Dyght John fishmonger 858345 858345 Dyght, John, of Sturborowe, Sussex, fishmonger 3
5209513 2418521 2418521 defendant Curteys William (legal representative) 587205 587205 Curteys, William, of Grantham, executor of 4
5209514 2418521 2418521 defendant Curteys John merchant 586963 586963 Curteys, John, of Grantham, Lincs, merchant 5

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