home / cp40x

names

9 rows where case_id = 2027046

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4006336 2027046 2027046 plaintiff Legh William attorney of the bench   Legh, William, attorney of the bench 0
4006337 2027046 2027046 defendant Bligh Thomas husbandman 672616 672616 Bligh, Thomas, of Nuton, husbandman 0
4006338 2027046 2027046 defendant Collyn John yeoman 606712 606712 Collyn, John, of Luxulyan, yeoman 1
4006339 2027046 2027046 defendant Nycoll Thomas yeoman 610102 610102 Nycoll, Thomas, of St Kewe, yeoman 2
4006340 2027046 2027046 defendant Wethycomb Richard husbandman 636152 636152 Wethycomb, Richard, of Lawanneck, husbandman 3
4006341 2027046 2027046 defendant Letheby William husbandman 672617 672617 Letheby, William, of Stokeclynesland, husbandman 4
4006342 2027046 2027046 defendant Henwood William husbandman 629321 629321 Henwood, William, of St Germans, husbandman 5
4006343 2027046 2027046 defendant Badlam John husbandman 645492 645492 Badlam, John, of St Stephyns juxta Launceston, husbandman 6
4006344 2027046 2027046 defendant Lucas William smith 645492 645492 Lucas, William, of St Stephyns juxta Launceston, smith 7

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