home / cp40x

names

5 rows where case_id = 2305901

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4831549 2305901 2305901 plaintiff Broun John   784322 784322 Broun, John, of Sowe, Warws 0
4831550 2305901 2305901 defendant Foderby Thomas butcher 688118 688118 Foderby, Thomas, of Biggleswade, butcher 0
4831551 2305901 2305901 defendant Saltwell Robert butcher 809385 809385 Saltwell, Robert, of Ikewell, butcher 1
4831552 2305901 2305901 defendant Deken Thomas butcher 714825 714825 Deken, Thomas, of Lavendon, Bucks, butcher 2
4831553 2305901 2305901 defendant Deye Simon husbandman 798407 798407 Deye, Simon, of South Yevell, Beds, husbandman 3

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.392ms