home / cp40x

names

6 rows where case_id = 2418626

✎ 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
5209891 2418626 2418626 plaintiff Stanton John     Stanton, John 0
5209892 2418626 2418626 defendant Andrewe Richard husbandman 616584 616584 Andrewe, Richard, of Keston, Hunts, husbandman 0
5209893 2418626 2418626 defendant Canard Thomas herdsman 848637 848637 Canard, Thomas, of Bythern, Hunts, herdsman 1
5209894 2418626 2418626 defendant Bisshop Richard husbandman 613229 613229 Bisshop, Richard, of Keston, husbandman 2
5209895 2418626 2418626 defendant Cotty John husbandman 823723 823723 Cotty, John, of Bythern, husbandman 3
5209896 2418626 2418626 defendant Andrewe John husbandman 613229 613229 Andrewe, John, of Keston, husbandman 4

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