home / cp40x

names

6 rows where case_id = 1996555

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3918622 1996555 1996555 plaintiff Hunt Edmund, senior   651565 651565 Hunt, Edmund, senior, of Hindolneston 0
3918623 1996555 1996555 defendant Broun Bartholomew butcher 587836 587836 Broun, Bartholomew, of Folsham, butcher 0
3918624 1996555 1996555 defendant Lussher William tanner 587836 587836 Lussher, William, of Folsham, tanner 1
3918625 1996555 1996555 defendant Wylde Edmund yeoman 587836 587836 Wylde, Edmund, of Folsham, yeoman 2
3918626 1996555 1996555 defendant Hales John raffman 590750 590750 Hales, John, of Wyveton, raffman 3
3918627 1996555 1996555 defendant Gryme Henry butcher 651566 651566 Gryme, Henry, of Ingaldethorp, butcher 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.839ms