home / cp40x

names

7 rows where place_id = 761091

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4476026 2193168 2193168 plaintiff Forest John   761091 761091 Forest, John, of Midlyngton, parson, on his own account 0
4476027 2193168 2193168 defendant Rypon William   761091 761091 Rypon, William, of Midlyngton 0
4554086 2217202 2217202 defendant Knyght William   761091 761091 Knyght, William, of Midlyngton 1
4767098 2285697 2285697 defendant Spere John yeoman 761091 761091 Spere, John, of Midlyngton, yeoman 0
4788431 2292444 2292444 defendant Spere John yeoman 761091 761091 Spere, John, of Midlyngton, yeoman 0
4788434 2292445 2292445 defendant Spere John yeoman 761091 761091 Spere, John, of Midlyngton, yeoman 1
4791490 2293433 2293433 defendant Spere John yeoman 761091 761091 Spere, John, of Midlyngton, yeoman 0

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.329ms