home / cp40x

names

7 rows where place_id = 707792

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4169835 2084947 2084947 defendant Knype William yeoman 707792 707792 Knype, William, of Cartmell, Lancs, yeoman 1
4190416 2092189 2092189 defendant Knype William yeoman 707792 707792 Knype, William, of Cartmell, Lancs, yeoman 0
4317428 2136211 2136211 defendant Kellett Richard yeoman 707792 707792 Kellett, Richard, of Cartmell, Lancs, yeoman 0
4345187 2145592 2145592 defendant Swaynson Lawrence husbandman 707792 707792 Swaynson, Lawrence, of Cartmell, Lancs, husbandman 2
4370312 2154439 2154439 defendant Seatle Henry yeoman 707792 707792 Seatle, Henry, of Cartmell, Lancs, yeoman 2
4370325 2154442 2154442 defendant Newbye Edward husbandman 707792 707792 Newbye, Edward, of Cartmell, Lancs, husbandman 0
4768348 2286071 2286071 defendant Gayte John yeoman 707792 707792 Gayte, John, of Cartmell, Lancs, 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 17.036ms