home / cp40x

names

6 rows where place_id = 760326

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4325701 2138973 2138973 defendant Wooder alias Butcher William singleman 760326 760326 Wooder alias Butcher, William, of Needham, yeoman, singleman 0
4469031 2190983 2190983 defendant Roby Walter smith 760326 760326 Roby, Walter, of Needham, smith 3
4554103 2217207 2217207 defendant Chaloner Thomas   760326 760326 Chaloner, Thomas, of Needham 3
4560063 2219095 2219095 defendant Sm_ Henry   760326 760326 Sm_, Henry, of Needham 5
5400123 2475112 2475112 plaintiff Flegg Robert   760326 760326 Flegg, Robert, of Needham Market, senior, cloth maker 0
5611051 2547175 2547175 defendant Joynte John   760326 760326 Joynte, John, of Needham 0

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