home / cp40x

names

7 rows where place_id = 744936

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4363886 2152142 2152142 defendant Hynde Richard husbandman 744936 744936 Hynde, Richard, of Wrangell, husbandman 2
4544897 2214322 2214322 defendant Wyrt John   744936 744936 Wyrt, John, of Wrangell 0
4559591 2218950 2218950 defendant Drye Simon   744936 744936 Drye, Simon, of Wrangell 6
4618344 2236747 2236747 plaintiff Harald John   744936 744936 Harald, John, of Wrangell 0
4642330 2243877 2243877 plaintiff Harald John   744936 744936 Harald, John, of Wrangell 0
5008855 2359482 2359482 defendant Howeson William husbandman 744936 744936 Howeson, William, of Wrangell, husbandman 0
5023107 2363665 2363665 defendant Benne Robert husbandman 744936 744936 Benne, Robert, of Wrangell, husbandman 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 15.988ms