home / cp40x

names

8 rows where case_id = 2530169

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5584351 2530169 2530169 plaintiff Haley Richard     Haley, Richard 0
5584352 2530169 2530169 defendant Haley John husbandman 639028 639028 Haley, John, of Brightwell, husbandman 0
5584353 2530169 2530169 defendant Boterell William husbandman 902840 902840 Boterell, William, of Berwike, husbandman 1
5584354 2530169 2530169 defendant Couper Robert husbandman 624814 624814 Couper, Robert, of Berwyk, husbandman 2
5584355 2530169 2530169 defendant Knyght Richard husbandman 661911 661911 Knyght, Richard, of Warborowe, husbandman 3
5584356 2530169 2530169 defendant Felp William husbandman 661911 661911 Felp, William, of Warborowe, husbandman 4
5584357 2530169 2530169 defendant Randall Ralph husbandman 817027 817027 Randall, Ralph, of Shelyngford, husbandman 5
5584358 2530169 2530169 defendant Bocher William husbandman 632779 632779 Bocher, William, of Bensyngton, 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 15.772ms