home / cp40x

names

6 rows where case_id = 2297090

✎ 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
4802882 2297090 2297090 plaintiff atte Wode John     atte Wode, John, on his own account 0
4802883 2297090 2297090 defendant Come Arnald husbandman 594168 594168 Come, Arnald, of Eggesford, husbandman 0
4802884 2297090 2297090 defendant Rewe Thomas husbandman 804331 804331 Rewe, Thomas, of Brissheford, husbandman 1
4802885 2297090 2297090 defendant Kent John smith 804332 804332 Kent, John, of Colrigge, smith 2
4802886 2297090 2297090 defendant Badecok Roger husbandman 804333 804333 Badecok, Roger, of Womworthy, husbandman 3
4802887 2297090 2297090 defendant Landewe William laborer 804334 804334 Landewe, William, of Wolfurthesworthy by Criditon, laborer 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.024ms