home / cp40x

names

7 rows where case_id = 2362352

✎ 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
5018679 2362352 2362352 plaintiff Courtenay Hugh knight   Courtenay, Hugh, knight 0
5018680 2362352 2362352 defendant Tremorkyn John, senior husbandman 835821 835821 Tremorkyn, John, senior, of Over Atrenerbyn, husbandman 0
5018681 2362352 2362352 defendant Tremorkyn Thomas husbandman 835821 835821 Tremorkyn, Thomas, of Over Atrenerbyn, husbandman 1
5018682 2362352 2362352 defendant Tremorkyn John, junior husbandman 835821 835821 Tremorkyn, John, junior, of Over Atrenerbyn, husbandman 2
5018683 2362352 2362352 defendant Bunne Thomas husbandman 664754 664754 Bunne, Thomas, of Warbystowe, husbandman 3
5018684 2362352 2362352 defendant Hedon Richard husbandman 591864 591864 Hedon, Richard, of Hedon, husbandman 4
5018685 2362352 2362352 defendant Hedon John husbandman 835822 835822 Hedon, John, of Yapstowe, husbandman 5

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 16.158ms