home / cp40x

names

6 rows where case_id = 2402492

✎ 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
5154574 2402492 2402492 plaintiff Leyr William (legal representative) 586180 586180 Leyr, William, of Bury St Edmunds, mason, executrix of: (Leyr, Margery, formerly wife of William 0
5154575 2402492 2402492 defendant Motte John (legal representative) 590961 590961 Motte, John, of Bildeston, merchant, executors of 0
5154576 2402492 2402492 defendant Whitop William husbandman 590961 590961 (Whitop, William, of Bildeston, husbandman 1
5154577 2402492 2402492 defendant Whitop Agnes formerly wife of John Motte   Agnes, his wife, formerly wife of John Motte 2
5154578 2402492 2402492 defendant Dekene John (legal representative) 586134 586134 Dekene, John, of Ipswich, merchant, executor of 3
5154579 2402492 2402492 defendant Bromley John clerk 586134 586134 Bromley, John, of Ipswich, clerk 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 11.279ms