home / cp40x

names

6 rows where case_id = 2515425

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5534804 2515425 2515425 plaintiff Barston William     Barston, William 0
5534805 2515425 2515425 defendant Russell Richard, junior husbandman 587525 587525 Russell, Richard, junior, of Pendok, husbandman 0
5534806 2515425 2515425 defendant Carpenter Richard yeoman 587525 587525 Carpenter, Richard, of Pendok, yeoman 1
5534807 2515425 2515425 defendant Bradford Walter husbandman 708368 708368 Bradford, Walter, of Ridmerley, husbandman 2
5534808 2515425 2515425 defendant Barnard William husbandman 587525 587525 Barnard, William, of Pendok, husbandman 3
5534809 2515425 2515425 defendant Holford William husbandman 708368 708368 Holford, William, of Ridmerley, 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 6.11ms