home / cp40x

names

4 rows where place_id = 683017

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4052247 2043227 2043227 plaintiff Wylse Richard yeoman 683017 683017 Wylse, Richard, of Upton Busshoppe, yeoman 0
4052248 2043227 2043227 defendant Greye John gent 683017 683017 Greye, John, of Upton Busshoppe, gent 0
4079111 2052830 2052830 defendant Sargeant William husbandman 683017 683017 Sargeant, William, of Upton Busshoppe, husbandman 2
4334881 2141927 2141927 defendant Hullyn Thomas clerk 683017 683017 Hullyn, Thomas, of Upton Busshoppe, clerk 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 16.221ms