home / cp40x

names

8 rows where case_id = 1874278

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3621534 1874278 1874278 plaintiff Norreys William knight   Norreys, William, knight 0
3621535 1874278 1874278 plaintiff Harecourte Robert knight   Harecourte, Robert, knight 1
3621536 1874278 1874278 plaintiff Horne John esq   Horne, John, esq 2
3621537 1874278 1874278 plaintiff Fetiplace Anthony esq   Fetiplace, Anthony, esq 3
3621538 1874278 1874278 plaintiff harecourte William esq   harecourte, William, esq 4
3621539 1874278 1874278 plaintiff Osbaldeston Thomas     Osbaldeston, Thomas 5
3621540 1874278 1874278 plaintiff Snap Richard     Snap, Richard 6
3621541 1874278 1874278 defendant Danners or Danvers Reginald gent 595706 595706 Danners or Danvers, Reginald, of Pudlycote, gent 0

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