home / cp40x

names

6 rows where case_id = 2521799

✎ 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
5556166 2521799 2521799 plaintiff Lewte Stephen     Lewte, Stephen 0
5556167 2521799 2521799 defendant Hewys Robert beer brewer 780324 780324 Hewys, Robert, of Mergate, beer brewer 0
5556168 2521799 2521799 defendant Sawyer Thomas   586447 586447 Sawyer, Thomas, of West Mallyng, tallow chandler 1
5556169 2521799 2521799 defendant Brigh Agnes of Est Mallyng widow   Brigh, Agnes of Est Mallyng, widow 2
5556170 2521799 2521799 defendant Bocher Matthew butcher 586249 586249 Bocher, Matthew, of Est Mallyng, butcher 3
5556171 2521799 2521799 defendant Chaunte John cooper 589941 589941 Chaunte, John, of Milton juxta Sithyngbourn, cooper 4

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