home / cp40x

names

7 rows where case_id = 2227662

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4588050 2227662 2227662 plaintiff Karwent John     Karwent, John 0
4588051 2227662 2227662 defendant Terry Hamon weaver 772362 772362 Terry, Hamon, of Rodgrave, weaver 0
4588052 2227662 2227662 defendant Damyon Roger   772363 772363 Damyon, Roger, of Whetehakyrburgh 1
4588053 2227662 2227662 defendant Toufeld John   738831 738831 Toufeld, John, of Hacham, plough man 2
4588054 2227662 2227662 defendant Holt William   630865 630865 Holt, William, of Hadleye 3
4588055 2227662 2227662 defendant Hert John   754558 754558 Hert, John, of Hadeleye 4
4588056 2227662 2227662 defendant Godefrey John   770565 770565 Godefrey, John, of Chestan 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 14.118ms