home / cp40x

names

8 rows where case_id = 2217149

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4553926 2217149 2217149 plaintiff Godiston Thomas     Godiston, Thomas 0
4553927 2217149 2217149 defendant Trendle Robert     Trendle, Robert 0
4553928 2217149 2217149 defendant Man Alice   587920 587920 Man, Alice, of Maldon 1
4553929 2217149 2217149 defendant Cuy John     Cuy, John 2
4553930 2217149 2217149 defendant Talbot Nicholas   594969 594969 Talbot, Nicholas, of Dedham 3
4553931 2217149 2217149 defendant Hopper John   586470 586470 Hopper, John, of Colchester 4
4553932 2217149 2217149 defendant Caldewode John shoemaker   Caldewode, John, shoemaker 5
4553933 2217149 2217149 defendant Colby Thomas   762009 762009 Colby, Thomas, of Sarre 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.791ms