home / cp40x

names

8 rows where case_id = 2496005

✎ 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
5470202 2496005 2496005 plaintiff Freman John   601605 601605 Freman, John, of Hill by Rider or Ryther 0
5470203 2496005 2496005 defendant Clerk Thomas husbandman 889748 889748 Clerk, Thomas, of Hodered, husbandman 0
5470204 2496005 2496005 defendant Caterall Otuellus butcher 876404 876404 Caterall, Otuellus, of Barwyk in Elmet, butcher 1
5470205 2496005 2496005 defendant Caterall William butcher 876404 876404 Caterall, William, of Barwyk in Elmet, butcher 2
5470206 2496005 2496005 defendant Nettilton Richard yeoman 601728 601728 Nettilton, Richard, of Osset, yeoman 3
5470207 2496005 2496005 defendant Ode Robert butcher 889750 889750 Ode, Robert, of Derton by Bernsley, butcher 4
5470208 2496005 2496005 defendant Bradley Thomas nailer 647172 647172 Bradley, Thomas, of Derton, nailer 5
5470209 2496005 2496005 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 15.791ms