home / cp40x

names

8 rows where case_id = 2420385

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5215917 2420385 2420385 plaintiff Courtenay Philip knight   Courtenay, Philip, knight 0
5215918 2420385 2420385 defendant Waleys John esq 846142 846142 Waleys, John, of Est Raddon, esq 0
5215919 2420385 2420385 defendant More William yeoman 846142 846142 More, William, of Est Raddon, yeoman 1
5215920 2420385 2420385 defendant Tounesend John husbandman 586997 586997 Tounesend, John, of Thornerton, husbandman 2
5215921 2420385 2420385 defendant Brounston Thomas husbandman 586997 586997 Brounston, Thomas, of Thornerton, husbandman 3
5215922 2420385 2420385 defendant Drake John, junior husbandman 586997 586997 Drake, John, junior, of Thornerton, husbandman 4
5215923 2420385 2420385 defendant Brounston John husbandman 586997 586997 Brounston, John, of Thornerton, husbandman 5
5215924 2420385 2420385 defendant Drake John, senior husbandman 586997 586997 Drake, John, senior, of Thornerton, husbandman 6

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