home / cp40x

names

8 rows where case_id = 2492457

✎ 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
5458567 2492457 2492457 plaintiff Freman John   601605 601605 Freman, John, of Hill by Rider 0
5458568 2492457 2492457 defendant Clerk Thomas husbandman 889748 889748 Clerk, Thomas, of Hodered, husbandman 0
5458569 2492457 2492457 defendant Caterall Otuellus butcher 889749 889749 Caterall, Otuellus, of Barwyk, in Elmet, butcher 1
5458570 2492457 2492457 defendant Caterall William butcher 889749 889749 Caterall, William, of Barwyk, in Elmet, butcher 2
5458571 2492457 2492457 defendant Nettilton Richard yeoman 601728 601728 Nettilton, Richard, of Osset, yeoman 3
5458572 2492457 2492457 defendant Ode Robert butcher 889750 889750 Ode, Robert, of Derton by Bernsley, butcher 4
5458573 2492457 2492457 defendant Bradley Thomas   647172 647172 Bradley, Thomas, of Derton, nail maker 5
5458574 2492457 2492457 defendant Chapman Thomas yeoman 717556 717556 Chapman, Thomas, of Heyndley, yeoman 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.823ms