home / cp40x

names

5 rows where case_id = 2000628

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3930728 2000628 2000628 plaintiff Curtes John     Curtes, John 0
3930729 2000628 2000628 defendant Browne William butcher 654029 654029 Browne, William, of Wygenhall St German, butcher 0
3930730 2000628 2000628 defendant Too Edmund yeoman 615210 615210 Too, Edmund, of Flycham, yeoman 1
3930731 2000628 2000628 defendant Fenlie Richard yeoman 654030 654030 Fenlie, Richard, of Wygen Hall St German, yeoman 2
3930732 2000628 2000628 defendant Melody Richard yeoman 593812 593812 Melody, Richard, of Sholdham, yeoman 3

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