home / cp40x

names

6 rows where case_id = 2438798

✎ 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
5278428 2438798 2438798 plaintiff Benet Nicholas clerk   Benet, Nicholas, clerk 0
5278429 2438798 2438798 defendant Francleyn William   835790 835790 Francleyn, William, of Hempstede juxta Holt, shepherd or herdman 0
5278430 2438798 2438798 defendant Tedeney John shipman 590750 590750 Tedeney, John, of Wyveton, shipman 1
5278431 2438798 2438798 defendant Jervys John laborer 738783 738783 Jervys, John, of Glaunford, laborer 2
5278432 2438798 2438798 defendant Sadde Thomas   614808 614808 Sadde, Thomas, of Feldallyng, mason 3
5278433 2438798 2438798 defendant Pykes Alan laborer 589659 589659 Pykes, Alan, of Old Walsyngham, laborer 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 16.269ms