home / cp40x

names

7 rows where case_id = 2502637

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5492375 2502637 2502637 plaintiff Cook John     Cook, John 0
5492376 2502637 2502637 plaintiff Cook William     Cook, William 1
5492377 2502637 2502637 defendant Albon Thomas husbandman 588126 588126 Albon, Thomas, of North Walsham, husbandman 0
5492378 2502637 2502637 defendant at Schambyr Stephen husbandman 587058 587058 at Schambyr, Stephen, of Sutton, husbandman 1
5492379 2502637 2502637 defendant Smyth Robert yeoman 596676 596676 Smyth, Robert, of Halvergate, yeoman 2
5492380 2502637 2502637 defendant Haddon Simon husbandman 589306 589306 Haddon, Simon, of Catfeld, husbandman 3
5492381 2502637 2502637 defendant Robyns Thomas laborer 892998 892998 Robyns, Thomas, of Netyasherd, 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 13.998ms