home / cp40x

names

9 rows where place_id = 637913

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3839331 1970228 1970228 defendant Jenyn John husbandman 637913 637913 Jenyn, John, of St Key, husbandman 0
3839332 1970228 1970228 defendant Jenyn Agnes spinster 637913 637913 Jenyn, Agnes, of St Key, spinster 1
3948532 2006548 2006548 defendant Lagharn John gent 637913 637913 Lagharn, John, of St Key, gent 0
3948533 2006548 2006548 defendant Lagharn Thomas gent 637913 637913 Lagharn, Thomas, of St Key, gent 1
3948535 2006548 2006548 defendant Best John laborer 637913 637913 Best, John, of St Key, laborer 3
3948536 2006548 2006548 defendant Miller Alexander miller 637913 637913 Miller, Alexander, of St Key, miller 4
3961314 2011055 2011055 defendant Davy Richard husbandman 637913 637913 Davy, Richard, of St Key, husbandman 0
3961315 2011055 2011055 defendant Davy John laborer 637913 637913 Davy, John, of St Key, laborer 1
3961316 2011055 2011055 defendant Davy Christian spinster 637913 637913 Davy, Christian, of St Key, spinster 2

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