home / cp40x

names

7 rows where case_id = 2395881

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5132101 2395881 2395881 plaintiff Haldenby John esq   Haldenby, John, esq 0
5132102 2395881 2395881 defendant Appulby William husbandman 605063 605063 Appulby, William, of Kirkelley, husbandman 0
5132103 2395881 2395881 defendant Kirkman Peter husbandman 605063 605063 Kirkman, Peter, of Kirkelley, husbandman 1
5132104 2395881 2395881 defendant Kirkman William husbandman 605063 605063 Kirkman, William, of Kirkelley, husbandman 2
5132105 2395881 2395881 defendant Acylsy John   774017 774017 Acylsy, John, of Kyrkelley husbandman 3
5132106 2395881 2395881 defendant Rowley Richard husbandman 605063 605063 Rowley, Richard, of Kirkelley, husbandman 4
5132107 2395881 2395881 defendant Shirwod Thomas husbandman 632371 632371 Shirwod, Thomas, of Swanland, husbandman 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 12.934ms