home / cp40x

names

5 rows where case_id = 2502020

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5490390 2502020 2502020 plaintiff Blount Elizabeth widow   Blount, Elizabeth, widow 0
5490391 2502020 2502020 defendant Laurens William yeoman 892749 892749 Laurens, William, of Sutton Madok, yeoman 0
5490392 2502020 2502020 defendant Jurden Richard yeoman 596588 596588 Jurden, Richard, of Clareley, yeoman 1
5490393 2502020 2502020 defendant Walker Thomas yeoman 601226 601226 Walker, Thomas, of Shepley, yeoman 2
5490394 2502020 2502020 defendant Poynter Peter glover 589652 589652 Poynter, Peter, of Shrewesbury, glover 3

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