home / cp40x

names

7 rows where case_id = 2222341

✎ 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
4570477 2222341 2222341 plaintiff Wrighte Robert   590911 590911 Wrighte, Robert, of Rokelond 0
4570478 2222341 2222341 defendant Rugge John clerk   Rugge, John, clerk 0
4570479 2222341 2222341 defendant Adames John   592447 592447 Adames, John, of Wrotham 1
4570480 2222341 2222341 defendant Buntyng John   588844 588844 Buntyng, John, of Banham 2
4570481 2222341 2222341 defendant Kytel William cooper   Kytel, William, cooper 3
4570482 2222341 2222341 defendant Skowedere William   615362 615362 Skowedere, William, of Disse 4
4570483 2222341 2222341 defendant (not given) John his son   John, his son 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.332ms