home / cp40x

names

7 rows where case_id = 2337974

✎ 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
4937095 2337974 2337974 plaintiff Broun John     Broun, John 0
4937096 2337974 2337974 defendant Elys William husbandman 618239 618239 Elys, William, of Magna Wenden, husbandman 0
4937097 2337974 2337974 defendant Neuman Andrew husbandman 618239 618239 Neuman, Andrew, of Magna Wenden, husbandman 1
4937098 2337974 2337974 defendant Wenden Thomas shoemaker 589309 589309 Wenden, Thomas, of Neuport, shoemaker 2
4937099 2337974 2337974 defendant Smert Thomas   781234 781234 Smert, Thomas, of Brook Walden, servant 3
4937100 2337974 2337974 defendant Smert Thomas carpenter 586312 586312 Smert, Thomas, of Walden, carpenter 4
4937101 2337974 2337974 defendant Pete Richard yeoman 589042 589042 Pete, Richard, of Heydon, yeoman 5

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