home / cp40x

names

8 rows where case_id = 2193363

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4476665 2193363 2193363 plaintiff Gay William     Gay, William 0
4476666 2193363 2193363 defendant Gabard Robert butcher   Gabard, Robert, butcher 0
4476667 2193363 2193363 defendant Eyre John   596250 596250 Eyre, John, of Fordyngton 1
4476668 2193363 2193363 defendant Corne Robert   596250 596250 Corne, Robert, of Fordyngton 2
4476669 2193363 2193363 defendant Wymark Robert   761174 761174 Wymark, Robert, of Upweye 3
4476670 2193363 2193363 defendant Borde John   761175 761175 Borde, John, of Wynterborne Stupelton 4
4476671 2193363 2193363 defendant Metford John, senior   598043 598043 Metford, John, senior, of Cerne 5
4476672 2193363 2193363 defendant Bromhulle Richard chaplain   Bromhulle, Richard, chaplain 6

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