home / cp40x

names

7 rows where case_id = 2345628

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962307 2345628 2345628 plaintiff Broke Arthur     Broke, Arthur 0
4962308 2345628 2345628 defendant Hastyng Thomas chaplain 746603 746603 Hastyng, Thomas, of Midelton, chaplain 0
4962309 2345628 2345628 defendant Beruby Nicholas husbandman 616263 616263 Beruby, Nicholas, of Charwelton, husbandman 1
4962310 2345628 2345628 defendant Bullok Thomas gent 598357 598357 Bullok, Thomas, of Bukton, gent 2
4962311 2345628 2345628 defendant Miller alias Denys Richard yeoman 590028 590028 Miller alias Denys, Richard, of Bukby, yeoman 3
4962312 2345628 2345628 defendant Sutton Richard   589633 589633 Sutton, Richard, of Lodyngton, franklin 4
4962313 2345628 2345628 defendant Sutton William yeoman 623254 623254 Sutton, William, of Owndell, yeoman 5

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.675ms