home / cp40x

names

7 rows where case_id = 2289447

✎ 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
4779124 2289447 2289447 plaintiff Bonevill William sheriff of Devon   Bonevill, William, sheriff of Devon 0
4779125 2289447 2289447 defendant Wynkelegh John   587162 587162 Wynkelegh, John, of Ermyngton, bailiff 0
4779126 2289447 2289447 defendant Moigne John   587384 587384 Moigne, John, of Lyston, bailiff 1
4779127 2289447 2289447 defendant Clerk Henry   602320 602320 Clerk, Henry, of Hertlond, bailiff 2
4779128 2289447 2289447 defendant Michell Simon   587196 587196 Michell, Simon, of Fremyngton, bailiff 3
4779129 2289447 2289447 defendant Bodyer William   587395 587395 Bodyer, William, of Tavystoke, bailiff 4
4779130 2289447 2289447 defendant Pomerey William   602687 602687 Pomerey, William, of Blake Toryton, bailiff 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 15.681ms