home / cp40x

names

5 rows where case_id = 2047965

✎ 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
4065536 2047965 2047965 plaintiff Haywarde Edward mercer 664843 664843 Haywarde, Edward, of Bridgnorth, mercer 0
4065537 2047965 2047965 defendant Spragges Thomas yeoman 634376 634376 Spragges, Thomas, of Brockton, yeoman 0
4065538 2047965 2047965 defendant Congreve John gent 686167 686167 Congreve, John, of Compton, Staffs, gent 1
4065539 2047965 2047965 defendant Harnage Richard gent 620001 620001 Harnage, Richard, of Sheynton, gent 2
4065540 2047965 2047965 defendant Syner John smithman 686168 686168 Syner, John, of Myveld, smithman 3

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.498ms