home / cp40x

names

8 rows where case_id = 2456712

✎ 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
5338805 2456712 2456712 plaintiff Lucas John     Lucas, John 0
5338806 2456712 2456712 defendant Fennyng John husbandman 629231 629231 Fennyng, John, of Flempton, husbandman 0
5338807 2456712 2456712 defendant Caddok John (legal representative) 585947 585947 Caddok, John, of Hadley, chaplain, executors of 1
5338808 2456712 2456712 defendant Elys John mercer 585947 585947 (Elys, John, of Hadley, mercer 2
5338809 2456712 2456712 defendant Tunbek Peter chaplain 585947 585947 Tunbek, Peter, of Hadley, chaplain 3
5338810 2456712 2456712 defendant Folkys William (legal representative) 845382 845382 Folkys, William, of Parva Bradley, husbandman, executors of 4
5338811 2456712 2456712 defendant Felip John husbandman 595765 595765 (Felip, John, of Magna Bradley, husbandman 5
5338812 2456712 2456712 defendant Holburgh John husbandman 635827 635827 Holburgh, John, of Kedyton, 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.128ms