home / cp40x

names

9 rows where case_id = 2363361

✎ 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
5022116 2363361 2363361 plaintiff Gaunter Abraham     Gaunter, Abraham 0
5022117 2363361 2363361 defendant Ley Walter mariner 592959 592959 Ley, Walter, of Plymmouth, Devon, mariner 0
5022118 2363361 2363361 defendant Harry Richard mariner 586834 586834 Harry, Richard, of Plymmouth, mariner 1
5022119 2363361 2363361 defendant Lucas John   586834 586834 Lucas, John, of Plymmouth, millward 2
5022120 2363361 2363361 defendant Davy John   586834 586834 Davy, John, of Plymmouth, millward 3
5022121 2363361 2363361 defendant Manger or Mauger John merchant 586834 586834 Manger or Mauger, John, of Plymmouth, merchant 4
5022122 2363361 2363361 defendant Nicoll Isabel widow 675792 675792 Nicoll, Isabel, of Polruen, widow 5
5022123 2363361 2363361 defendant Fylyp William mariner 675792 675792 Fylyp, William, of Polruen, mariner 6
5022124 2363361 2363361 defendant Filyp Thomas mariner 675792 675792 Filyp, Thomas, of Polruen, mariner 7

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