home / cp40x

names

6 rows where case_id = 2507108

✎ 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
5507015 2507108 2507108 plaintiff Colles John     Colles, John 0
5507016 2507108 2507108 defendant Northcote Richard husbandman 668187 668187 Northcote, Richard, of North Huysshe, husbandman 0
5507017 2507108 2507108 defendant Bowyte Richard butcher 586089 586089 Bowyte, Richard, of Brixham, butcher 1
5507018 2507108 2507108 defendant Churcheayete John husbandman 894525 894525 Churcheayete, John, of Blakeauton, husbandman 2
5507019 2507108 2507108 defendant Sture John husbandman 668187 668187 Sture, John, of North Huysshe, husbandman 3
5507020 2507108 2507108 defendant Squyer John yeoman 894526 894526 Squyer, John, of Bisshoppes Morchard, yeoman 4

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