home / cp40x

names

6 rows where case_id = 2449760

✎ 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
5315695 2449760 2449760 plaintiff Coterell William     Coterell, William 0
5315696 2449760 2449760 defendant Ederede Richard husbandman 598512 598512 Ederede, Richard, of Horton, husbandman 0
5315697 2449760 2449760 defendant Otwey Robert fisher 587237 587237 Otwey, Robert, of Colbroke, fisher 1
5315698 2449760 2449760 defendant Orchard John, junior husbandman 590111 590111 Orchard, John, junior, of Iver, husbandman 2
5315699 2449760 2449760 defendant Teley Walter carpenter 872483 872483 Teley, Walter, of Langley Mares, carpenter 3
5315700 2449760 2449760 defendant Parker Richard butcher 872484 872484 Parker, Richard, of Chalfunt St Peter, 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 15.343ms