home / cp40x

names

6 rows where case_id = 2428291

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5243487 2428291 2428291 plaintiff Norys Thomas     Norys, Thomas 0
5243488 2428291 2428291 defendant Symmes Richard husbandman 664899 664899 Symmes, Richard, of Bulford, husbandman 0
5243489 2428291 2428291 defendant Hobbys Thomas husbandman 741996 741996 Hobbys, Thomas, of Durnford, husbandman 1
5243490 2428291 2428291 defendant Symmes Nicholas husbandman 664899 664899 Symmes, Nicholas, of Bulford, husbandman 2
5243491 2428291 2428291 defendant Symmes John husbandman 664899 664899 Symmes, John, of Bulford, husbandman 3
5243492 2428291 2428291 defendant Lane John husbandman 863411 863411 Lane, John, of Est Amesbury, 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 13.428ms