home / cp40x

names

6 rows where case_id = 2474596

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5398360 2474596 2474596 plaintiff Colet Alan mercer 586859 586859 Colet, Alan, of Salisbury, mercer 0
5398361 2474596 2474596 defendant Barbur John   883080 883080 Barbur, John, of Bamwell, soms, girdle maker 0
5398362 2474596 2474596 defendant Turburvyle Richard gent 883081 883081 Turburvyle, Richard, of Beer Regis, Dors, gent 1
5398363 2474596 2474596 defendant Braye Robert chapman 689836 689836 Braye, Robert, of Warminster, chapman 2
5398364 2474596 2474596 defendant Godarde John dyer 586859 586859 Godarde, John, of Salisbury, dyer 3
5398365 2474596 2474596 defendant Goodselowe John carpenter 586859 586859 Goodselowe, John, of Salisbury, carpenter 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 14.473ms