home / cp40x

names

6 rows where place_id = 802985

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3915404 1995518 1995518 defendant Mogall John (legal representative) 802985 802985 Mogall, John, of Wollerhampton, chapman, administratrix of 3
4792733 2293812 2293812 defendant Hewester William dyer 802985 802985 Hewester, William, of Wollerhampton, dyer 0
4792734 2293812 2293812 defendant Drayton Robert sherman 802985 802985 Drayton, Robert, of Wollerhampton, sherman 1
4817558 2301583 2301583 defendant Hewester William hewester 802985 802985 Hewester, William, of Wollerhampton, hewester 0
4906896 2328741 2328741 defendant Leueson or Leneson William gent 802985 802985 Leueson or Leneson, William, of Wollerhampton, gent 0
4906897 2328741 2328741 defendant Russell Alice widow 802985 802985 Russell, Alice, of Wollerhampton, widow 1

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