home / cp40x

names

4 rows where case_id = 2448752

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5312431 2448752 2448752 plaintiff Baker John, junior   872103 872103 Baker, John, junior, of Magna Bredfeld 0
5312432 2448752 2448752 defendant Perker Edmund (legal representative) 655420 655420 Perker, Edmund, of Lyndesell, yeoman, executors of 0
5312433 2448752 2448752 defendant Parker Thomas husbandman 655420 655420 (Parker, Thomas, of Lyndesell, husbandman 1
5312434 2448752 2448752 defendant Bullr William husbandman 872105 872105 Bullr, William, of New Sanford, husbandman 2

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