home / cp40x

names

6 rows where case_id = 2355149

✎ 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
4994227 2355149 2355149 plaintiff Felde John     Felde, John 0
4994228 2355149 2355149 defendant Trapper Robert butcher 609972 609972 Trapper, Robert, of Ludgarsale, butcher 0
4994229 2355149 2355149 defendant Jones William husbandman 718500 718500 Jones, William, of Nether Wallop, Hants, husbandman 1
4994230 2355149 2355149 defendant Whitmer John butcher 593796 593796 Whitmer, John, of Salisbury, Wilts, butcher 2
4994231 2355149 2355149 defendant Reyne John ostler 586859 586859 Reyne, John, of Salisbury, ostler 3
4994232 2355149 2355149 defendant Bartelot John husbandman 832158 832158 Bartelot, John, of Estharnam, Wilts, 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 8.524ms