home / cp40x

names

7 rows where case_id = 1934712

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3726997 1934712 1934712 plaintiff Upton Nicholas     Upton, Nicholas 0
3726998 1934712 1934712 defendant Wryght Walter husbandman 618897 618897 Wryght, Walter, of North Reston, husbandman 0
3726999 1934712 1934712 defendant Preston George husbandman 618897 618897 Preston, George, of North Reston, husbandman 1
3727000 1934712 1934712 defendant Gryssby John carpenter 618897 618897 Gryssby, John, of North Reston, carpenter 2
3727001 1934712 1934712 defendant Williamson Robert husbandman 618897 618897 Williamson, Robert, of North Reston, husbandman 3
3727002 1934712 1934712 defendant Bocher Richard butcher 618897 618897 Bocher, Richard, of North Reston, butcher 4
3727003 1934712 1934712 defendant Beston Peter husbandman 618897 618897 Beston, Peter, of North Reston, husbandman 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 9.501ms