home / cp40x

names

7 rows where case_id = 1906060

✎ 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
3636015 1906060 1906060 plaintiff Poyntz Robert knight   Poyntz, Robert, knight 0
3636016 1906060 1906060 plaintiff Decons Richard esq   Decons, Richard, esq 1
3636017 1906060 1906060 defendant Arney Thomas gent 598512 598512 Arney, Thomas, of Horton, gent 0
3636018 1906060 1906060 defendant Develyn Hugh yeoman 599266 599266 Develyn, Hugh, of Wynbourne St Giles, yeoman 1
3636019 1906060 1906060 defendant Gillet Thomas yeoman 599267 599267 Gillet, Thomas, of Crambourne, yeoman 2
3636020 1906060 1906060 defendant Rodman John yeoman 599267 599267 Rodman, John, of Crambourne, yeoman 3
3636021 1906060 1906060 defendant Percy Robert yeoman 599267 599267 Percy, Robert, of Crambourne, yeoman 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.395ms