home / cp40x

names

6 rows where case_id = 2462468

✎ 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
5357664 2462468 2462468 plaintiff Nicoll George     Nicoll, George 0
5357665 2462468 2462468 defendant Thake John butcher 596226 596226 Thake, John, of Claveryng, butcher 0
5357666 2462468 2462468 defendant Hunt John husbandman 632678 632678 Hunt, John, of Magna Shelford, Cams, husbandman 1
5357667 2462468 2462468 defendant Elys John gent 739978 739978 Elys, John, of Borne, Cams, gent 2
5357668 2462468 2462468 defendant Rondolffe Henry husbandman 877222 877222 Rondolffe, Henry, of Castul Campys, husbandman 3
5357669 2462468 2462468 defendant Selle George husbandman 877223 877223 Selle, George, of Bonehunt, Wykkyn, husbandman 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 20.033ms