home / cp40x

names

8 rows where case_id = 2530066

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5583991 2530066 2530066 plaintiff Grene Edward     Grene, Edward 0
5583992 2530066 2530066 defendant Creme Henry husbandman 601184 601184 Creme, Henry, of Hesset, husbandman 0
5583993 2530066 2530066 defendant Smyth Thomas husbandman 587004 587004 Smyth, Thomas, of Preston, husbandman 1
5583994 2530066 2530066 defendant Barker Alice widow 900895 900895 Barker, Alice, of Parva Wheltham, widow 2
5583995 2530066 2530066 defendant Waren Robert butcher 604521 604521 Waren, Robert, of Ratylsden, butcher 3
5583996 2530066 2530066 defendant Broun John husbandman 601445 601445 Broun, John, of Watsam, husbandman 4
5583997 2530066 2530066 defendant Nunne Edmund carpenter 595270 595270 Nunne, Edmund, of Russhebroke, carpenter 5
5583998 2530066 2530066 defendant Garlond John pedder 588283 588283 Garlond, John, of Long Stratton, Norf, pedder 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 14.021ms