home / cp40x

names

8 rows where case_id = 2487755

✎ 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
5442780 2487755 2487755 plaintiff Bounvyle John esq   Bounvyle, John, esq 0
5442781 2487755 2487755 defendant Forbenche John husbandman 800254 800254 Forbenche, John, of Lavent, husbandman 0
5442782 2487755 2487755 defendant Lambe John husbandman 800254 800254 Lambe, John, of Lavent, husbandman 1
5442783 2487755 2487755 defendant Adam John husbandman 800254 800254 Adam, John, of Lavent, husbandman 2
5442784 2487755 2487755 defendant Hamvile John   800254 800254 Hamvile, John, of Lavent 3
5442785 2487755 2487755 defendant Rose John husbandman 631730 631730 Rose, John, of Westerton, husbandman 4
5442786 2487755 2487755 defendant Hardyng Richard   588084 588084 Hardyng, Richard, of Chichester 5
5442787 2487755 2487755 defendant Frie Ellis husbandman 588084 588084 Frie, Ellis, of Chichester, husbandman 6

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