home / cp40x

names

7 rows where case_id = 2394122

✎ 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
5126127 2394122 2394122 plaintiff Blake John (legal representative) 849515 849515 Blake, John, of St Martin's Oterwych, London, rector, executor of 0
5126128 2394122 2394122 plaintiff Berford William   849516 849516 Berford, William, of St Leonard's Shoreditch, Middx, needle maker 1
5126129 2394122 2394122 defendant Kyng John clerk 849517 849517 Kyng, John, of East Hatle, Cambs, clerk 0
5126130 2394122 2394122 defendant Raweley Thomas gent 833778 833778 Raweley, Thomas, of East Hatle, gent 1
5126131 2394122 2394122 defendant Yvye William husbandman 849518 849518 Yvye, William, of Gamlyngy, Cambs, husbandman 2
5126132 2394122 2394122 defendant Olyver John husbandman 849519 849519 Olyver, John, of Little Grandysden, Cambs, husbandman 3
5126133 2394122 2394122 defendant Freman John husbandman 767734 767734 Freman, John, of Berton, Cambs, husbandman 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 8.333ms