home / cp40x

names

5 rows where case_id = 2124115

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4283443 2124115 2124115 plaintiff Wood Robert     Wood, Robert 0
4283444 2124115 2124115 defendant Browne John   587249 587249 Browne, John, of Chelmesford, cook 0
4283445 2124115 2124115 defendant Neale Edward whitawer 635576 635576 Neale, Edward, of Magna Baddowe, whitawer 1
4283446 2124115 2124115 defendant Savedge Francis tailor 587249 587249 Savedge, Francis, of Chelmesford, tailor 2
4283447 2124115 2124115 defendant Crane Thomas   729604 729604 Crane, Thomas, of Springfeld, musician 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 9.945ms