home / cp40x

names

10 rows where case_id = 2224505

✎ 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
4577605 2224505 2224505 plaintiff Cat William     Cat, William 0
4577606 2224505 2224505 defendant Smyth John   771374 771374 Smyth, John, of Rouweham 0
4577607 2224505 2224505 defendant Smyth Agnes     Agnes, his wife 1
4577608 2224505 2224505 defendant Page Alice   587414 587414 Page, Alice, of Thetford 2
4577609 2224505 2224505 defendant Pyrt Ralph clerk   Pyrt, Ralph, clerk 3
4577610 2224505 2224505 defendant Rycheman Henry   763105 763105 Rycheman, Henry, of Mundeford 4
4577611 2224505 2224505 defendant Flappe Walter   591946 591946 Flappe, Walter, of Pykenham 5
4577612 2224505 2224505 defendant Wethirby Walter   585936 585936 Wethirby, Walter, of Norwich 6
4577613 2224505 2224505 defendant Andrewe John   771375 771375 Andrewe, John, of Wymmham 7
4577614 2224505 2224505 defendant Heynes William shoemaker   Heynes, William, shoemaker 8

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