home / cp40x

names

6 rows where case_id = 1923219

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3690573 1923219 1923219 plaintiff Gregory John     Gregory, John 0
3690574 1923219 1923219 defendant Adam Robert butcher 611895 611895 Adam, Robert, of Brokland, Kent, butcher 0
3690575 1923219 1923219 defendant Edmunde John yeoman 609776 609776 Edmunde, John, of Charyng, Kent, yeoman 1
3690576 1923219 1923219 defendant Lucas William butcher 611896 611896 Lucas, William, of Heth, Kent, butcher 2
3690577 1923219 1923219 defendant Houlett James rippier 611897 611897 Houlett, James, of New Romney, Kent, rippier 3
3690578 1923219 1923219 defendant Thursby Leonard yeoman 611898 611898 Thursby, Leonard, of New Romney, yeoman 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.098ms