home / cp40x

names

7 rows where case_id = 2011085

✎ 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
3961403 2011085 2011085 plaintiff Trygg Roger gent   Trygg, Roger, gent 0
3961404 2011085 2011085 defendant Symond Thomas yeoman 601888 601888 Symond, Thomas, of Ufford, Suff, yeoman 0
3961405 2011085 2011085 defendant Harryson William mercer 661541 661541 Harryson, William, of Debnam Markett, Suff, mercer 1
3961406 2011085 2011085 defendant Harrys William esq 589150 589150 Harrys, William, of Maldon, Essex, esq 2
3961407 2011085 2011085 defendant Ovyngton Thomas gent 590032 590032 Ovyngton, Thomas, of Kent, gent 3
3961408 2011085 2011085 defendant Rogers John clerk   Rogers, John, clerk, executors of 4
3961409 2011085 2011085 defendant Hynde Martin chapman 594257 594257 (Hynde, Martin, of Huntyngton, Hunts, chapman 5

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 19.325ms