home / cp40x

names

7 rows where case_id = 2499319

✎ 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
5481156 2499319 2499319 plaintiff Eston Robert     Eston, Robert 0
5481157 2499319 2499319 defendant Hunt John husbandman 594726 594726 Hunt, John, of Orford, husbandman 0
5481158 2499319 2499319 defendant Godard John husbandman 588118 588118 Godard, John, of Framlyngham, husbandman 1
5481159 2499319 2499319 defendant Brundale William husbandman 585934 585934 Brundale, William, of Becclys, husbandman 2
5481160 2499319 2499319 defendant Bakke John husbandman 585934 585934 Bakke, John, of Becclys, husbandman 3
5481161 2499319 2499319 defendant Rever Seman mercer 585947 585947 Rever, Seman, of Hadley, mercer 4
5481162 2499319 2499319 defendant Blake Robert husbandman 585947 585947 Blake, Robert, of Hadley, husbandman 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 18.166ms