home / cp40x

names

7 rows where case_id = 2513389

✎ 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
5528233 2513389 2513389 plaintiff Miller John     Miller, John 0
5528234 2513389 2513389 defendant Worthe Richard (legal representative)   Worthe, Richard, executors of 0
5528235 2513389 2513389 defendant Wright William husbandman 604722 604722 (Wright, William, of Orpyngton, husbandman 1
5528236 2513389 2513389 defendant Sybill Robert husbandman 589494 589494 Sybill, Robert, of Northflete, husbandman 2
5528237 2513389 2513389 defendant Clerk John, junior husbandman 601339 601339 Clerk, John, junior, of Southflete, husbandman 3
5528238 2513389 2513389 defendant Grey Thomas husbandman 589329 589329 Grey, Thomas, of Milton juxta Gravesend, husbandman 4
5528239 2513389 2513389 defendant Peyrs John husbandman 896650 896650 Peyrs, John, of Sebertswell, 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 17.036ms