home / cp40x

names

6 rows where case_id = 1954219

✎ 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
3788558 1954219 1954219 plaintiff Sporyer Edward     Sporyer, Edward 0
3788559 1954219 1954219 defendant Wolball Thomas husbandman 627623 627623 Wolball, Thomas, of North Okyndon, husbandman 0
3788560 1954219 1954219 defendant Barret George husbandman 629480 629480 Barret, George, of Bulban, husbandman 1
3788561 1954219 1954219 defendant Palmer John husbandman 594285 594285 Palmer, John, of Southweld, husbandman 2
3788562 1954219 1954219 defendant Carter Richard husbandman 607905 607905 Carter, Richard, of Styfford, husbandman 3
3788563 1954219 1954219 defendant Benson John husbandman 592590 592590 Benson, John, of North Wokyndon, husbandman 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 12.194ms