home / cp40x

names

6 rows where case_id = 2461104

✎ 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
5353291 2461104 2461104 plaintiff Gaske William     Gaske, William 0
5353292 2461104 2461104 defendant Brounwynde Richard ostler 876712 876712 Brounwynde, Richard, of Crokkernewtlle, Devon, ostler 0
5353293 2461104 2461104 defendant Bodynyell Ralph stainer 595909 595909 Bodynyell, Ralph, of Bodman, stainer 1
5353294 2461104 2461104 defendant Smyth Richard smith 876713 876713 Smyth, Richard, of Stykylpathe, Devon, smith 2
5353295 2461104 2461104 defendant Stroute John dyer 595909 595909 Stroute, John, of Bodman, dyer 3
5353296 2461104 2461104 defendant Graunte William smith 876714 876714 Graunte, William, of Leskerburgh, smith 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 15.395ms