home / cp40x

names

9 rows where case_id = 2515510

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5535104 2515510 2515510 plaintiff Berkeley Richard     Berkeley, Richard 0
5535105 2515510 2515510 defendant Phelip Roger husbandman 760698 760698 Phelip, Roger, of Stapilton, husbandman 0
5535106 2515510 2515510 defendant Wode John, senior husbandman 760698 760698 Wode, John, senior, of Stapilton, husbandman 1
5535107 2515510 2515510 defendant Russell John husbandman 760698 760698 Russell, John, of Stapilton, husbandman 2
5535108 2515510 2515510 defendant Wode Thomas, junior husbandman 760698 760698 Wode, Thomas, junior, of Stapilton, husbandman 3
5535109 2515510 2515510 defendant Adam John husbandman 760698 760698 Adam, John, of Stapilton, husbandman 4
5535110 2515510 2515510 defendant Hychyn John husbandman 760698 760698 Hychyn, John, of Stapilton, husbandman 5
5535111 2515510 2515510 defendant Goodwyn John husbandman 760698 760698 Goodwyn, John, of Stapilton, husbandman 6
5535112 2515510 2515510 defendant Toby Giles husbandman 760698 760698 Toby, Giles, of Stapilton, husbandman 7

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