home / cp40x

names

8 rows where case_id = 2481442

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5421746 2481442 2481442 plaintiff Alfegh John     Alfegh, John 0
5421747 2481442 2481442 plaintiff Nethersole John     Nethersole, John 1
5421748 2481442 2481442 plaintiff Port John     Port, John 2
5421749 2481442 2481442 defendant Edward John husbandman 677823 677823 Edward, John, of Whitstable, husbandman 0
5421750 2481442 2481442 defendant Balser John yeoman 586175 586175 Balser, John, of Canterbury, yeoman 1
5421751 2481442 2481442 defendant Gilmyn William shipman 677823 677823 Gilmyn, William, of Whitstable, shipman 2
5421752 2481442 2481442 defendant Thornyng Thomas smith 768076 768076 Thornyng, Thomas, of Seasalter, smith 3
5421753 2481442 2481442 defendant Balser Makelimus or Malcolm laborer 677823 677823 Balser, Makelimus or Malcolm, of Whitstable, 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 14.885ms