@urbankitstudio/atlas 0.6.35 → 0.6.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"orderField": "File_Date",
|
|
35
35
|
"streetNumberType": "number",
|
|
36
36
|
"latestRecordDate": "2026-10-13",
|
|
37
|
-
"coverage": "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
37
|
+
"coverage": "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on Addr_No and 'Q' on Street_Name; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against Street_Name and finds no rows). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
38
38
|
"recordLabel": "Permit",
|
|
39
39
|
"openedLabel": "Filed",
|
|
40
40
|
"fields": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"orderField": "adddttm",
|
|
17
17
|
"streetNumberType": "text",
|
|
18
18
|
"latestRecordDate": "2026-10-09",
|
|
19
|
-
"coverage": "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
19
|
+
"coverage": "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on stno and 'Q' on stname; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against stname and finds no rows). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
20
20
|
"recordLabel": "Case",
|
|
21
21
|
"openedLabel": "Opened",
|
|
22
22
|
"fields": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"orderField": "DateComplaintReceived",
|
|
17
17
|
"streetNumberType": "number",
|
|
18
18
|
"latestRecordDate": "2026-10-09",
|
|
19
|
-
"coverage": "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
19
|
+
"coverage": "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on StreetNumber and 'Q' on StreetName; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against StreetName and finds no rows). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
20
20
|
"recordLabel": "Complaint",
|
|
21
21
|
"openedLabel": "Received",
|
|
22
22
|
"closedLabel": "Closed",
|
package/dist/index.cjs
CHANGED
|
@@ -35954,7 +35954,7 @@ var los_angeles_default = {
|
|
|
35954
35954
|
orderField: "adddttm",
|
|
35955
35955
|
streetNumberType: "text",
|
|
35956
35956
|
latestRecordDate: "2026-10-09",
|
|
35957
|
-
coverage: "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
35957
|
+
coverage: "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on stno and 'Q' on stname; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against stname and finds no rows). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
35958
35958
|
recordLabel: "Case",
|
|
35959
35959
|
openedLabel: "Opened",
|
|
35960
35960
|
fields: {
|
|
@@ -36036,7 +36036,7 @@ var fort_worth_default = {
|
|
|
36036
36036
|
orderField: "File_Date",
|
|
36037
36037
|
streetNumberType: "number",
|
|
36038
36038
|
latestRecordDate: "2026-10-13",
|
|
36039
|
-
coverage: "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
36039
|
+
coverage: "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on Addr_No and 'Q' on Street_Name; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against Street_Name and finds no rows). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
36040
36040
|
recordLabel: "Permit",
|
|
36041
36041
|
openedLabel: "Filed",
|
|
36042
36042
|
fields: {
|
|
@@ -36534,7 +36534,7 @@ var scottsdale_default = {
|
|
|
36534
36534
|
orderField: "DateComplaintReceived",
|
|
36535
36535
|
streetNumberType: "number",
|
|
36536
36536
|
latestRecordDate: "2026-10-09",
|
|
36537
|
-
coverage: "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
36537
|
+
coverage: "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on StreetNumber and 'Q' on StreetName; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against StreetName and finds no rows). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
36538
36538
|
recordLabel: "Complaint",
|
|
36539
36539
|
openedLabel: "Received",
|
|
36540
36540
|
closedLabel: "Closed",
|
|
@@ -37873,12 +37873,38 @@ function bareName(tokens) {
|
|
|
37873
37873
|
}
|
|
37874
37874
|
return tokens.join(" ").trim();
|
|
37875
37875
|
}
|
|
37876
|
+
var NUMBERED_PARTS = ["number", "direction", "name", "type"];
|
|
37877
|
+
var DIRECTION_LETTERS = /* @__PURE__ */ new Set(["N", "S", "E", "W"]);
|
|
37878
|
+
var PLAIN_STREET_TYPES = /* @__PURE__ */ new Set(["ST", "STREET", "AVE", "AVENUE"]);
|
|
37879
|
+
function letteredStreet(street) {
|
|
37880
|
+
if (!splitStreet(street)) return null;
|
|
37881
|
+
const rest = street.trim().split(/\s+/).slice(1);
|
|
37882
|
+
if (rest.length < 2 || rest.length > 3) return null;
|
|
37883
|
+
if (!STREET_SUFFIXES.has(rest[rest.length - 1].replace(/\.$/, "").toUpperCase())) return null;
|
|
37884
|
+
if (rest.length === 3 && !DIRECTIONALS.has(rest[0].toUpperCase())) return null;
|
|
37885
|
+
const one = rest[rest.length - 2];
|
|
37886
|
+
if (!/^[\p{L}\p{N}]$/u.test(one)) return null;
|
|
37887
|
+
if (rest.length === 2 && DIRECTION_LETTERS.has(one.toUpperCase()) && !PLAIN_STREET_TYPES.has(rest[1].replace(/\.$/, "").toUpperCase())) return null;
|
|
37888
|
+
return one;
|
|
37889
|
+
}
|
|
37876
37890
|
function splitFor(ds, street) {
|
|
37877
37891
|
if (!ds.fields.streetNumber) return null;
|
|
37878
|
-
|
|
37892
|
+
const s = splitStreet(street);
|
|
37893
|
+
if (!s) return null;
|
|
37894
|
+
const letter = letteredStreet(street);
|
|
37895
|
+
if (letter) return { number: s.number, name: letter };
|
|
37896
|
+
const name = splitAddressStreetName(ds.fields.addressParts ?? NUMBERED_PARTS, ds.fields.addressParts ? ds.fields.address : "name", void 0, street);
|
|
37897
|
+
if (name === street) return null;
|
|
37898
|
+
const words = name.split(" ");
|
|
37899
|
+
if (words.length === 2 && DIRECTIONALS.has(words[0].toUpperCase())) {
|
|
37900
|
+
const type = words[1].replace(/\.$/, "");
|
|
37901
|
+
if (STREET_SUFFIXES.has(type.toUpperCase()) && !PLAIN_STREET_TYPES.has(type.toUpperCase())) return { number: s.number, name: type };
|
|
37902
|
+
}
|
|
37903
|
+
return { number: s.number, name };
|
|
37879
37904
|
}
|
|
37880
37905
|
function plainNeedle(ds, street) {
|
|
37881
37906
|
if (!ds.fields.streetNumber) return street;
|
|
37907
|
+
if (splitStreet(street)) return street;
|
|
37882
37908
|
const tokens = street.trim().split(/\s+/).filter(Boolean);
|
|
37883
37909
|
const name = bareName(tokens);
|
|
37884
37910
|
if (!name || name.split(" ").length >= tokens.length) return street;
|
package/dist/index.d.cts
CHANGED
|
@@ -696,7 +696,7 @@ declare function splitAddressStreetName(parts: readonly string[] | undefined, na
|
|
|
696
696
|
* preserving extraction of PropertyReportTabs.fetchDataset: the four provider
|
|
697
697
|
* branches below are its four branches, and PropertyReportTabs.test.tsx pins
|
|
698
698
|
* the URLs. The split-address clause only engages when the dataset maps a
|
|
699
|
-
* streetNumber column AND the street parses to number + name.
|
|
699
|
+
* streetNumber column AND the street parses to number + a name worth matching.
|
|
700
700
|
*/
|
|
701
701
|
declare function propertyQueryUrl(ds: PropertyDataset, street: string): string;
|
|
702
702
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -696,7 +696,7 @@ declare function splitAddressStreetName(parts: readonly string[] | undefined, na
|
|
|
696
696
|
* preserving extraction of PropertyReportTabs.fetchDataset: the four provider
|
|
697
697
|
* branches below are its four branches, and PropertyReportTabs.test.tsx pins
|
|
698
698
|
* the URLs. The split-address clause only engages when the dataset maps a
|
|
699
|
-
* streetNumber column AND the street parses to number + name.
|
|
699
|
+
* streetNumber column AND the street parses to number + a name worth matching.
|
|
700
700
|
*/
|
|
701
701
|
declare function propertyQueryUrl(ds: PropertyDataset, street: string): string;
|
|
702
702
|
/**
|
package/dist/index.js
CHANGED
|
@@ -35952,7 +35952,7 @@ var los_angeles_default = {
|
|
|
35952
35952
|
orderField: "adddttm",
|
|
35953
35953
|
streetNumberType: "text",
|
|
35954
35954
|
latestRecordDate: "2026-10-09",
|
|
35955
|
-
coverage: "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
35955
|
+
coverage: "Open LADBS code-enforcement cases only, about 29,000, opened 1995 to present. Closed cases are published in a separate dataset (rken-a55j) that this tool does not search. The street is split across columns: with a house number, '139 W 88th St' is matched as 139 on stno and '88th' on stname (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on stno and 'Q' on stname; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against stname and finds no rows). Without a house number the name alone gets the same trimming, so '88th St' is matched as '88th' on stname.",
|
|
35956
35956
|
recordLabel: "Case",
|
|
35957
35957
|
openedLabel: "Opened",
|
|
35958
35958
|
fields: {
|
|
@@ -36034,7 +36034,7 @@ var fort_worth_default = {
|
|
|
36034
36034
|
orderField: "File_Date",
|
|
36035
36035
|
streetNumberType: "number",
|
|
36036
36036
|
latestRecordDate: "2026-10-13",
|
|
36037
|
-
coverage: "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
36037
|
+
coverage: "Fort Worth development permits, about 1.6 million records filed 2001 to present. Trade permits (electrical, mechanical, plumbing, backflow) are included alongside building permits. The street is split across columns: with a house number, '8653 Funtier Ct' is matched as 8653 on Addr_No and 'Funtier' on Street_Name (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on Addr_No and 'Q' on Street_Name; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against Street_Name and finds no rows). Without a house number the name alone gets the same trimming, so 'Funtier Ct' is matched as 'Funtier' on Street_Name.",
|
|
36038
36038
|
recordLabel: "Permit",
|
|
36039
36039
|
openedLabel: "Filed",
|
|
36040
36040
|
fields: {
|
|
@@ -36532,7 +36532,7 @@ var scottsdale_default = {
|
|
|
36532
36532
|
orderField: "DateComplaintReceived",
|
|
36533
36533
|
streetNumberType: "number",
|
|
36534
36534
|
latestRecordDate: "2026-10-09",
|
|
36535
|
-
coverage: "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
36535
|
+
coverage: "Scottsdale code complaints received since 2021-09, about 18,900 rows. Closed complaints only: open complaints are not published, and every row's status begins with CLOSED. No result means no closed complaint on file, not that the property has no open violation. The street is split across columns: with a house number, '4201 N Hayden Rd' is matched as 4201 on StreetNumber and 'Hayden' on StreetName (one leading direction and one common street type are dropped; a street named South or North keeps its name, so '2600 South Blvd' is matched as 'South'; a lettered street keeps its letter, so '1700 E Q St' is matched as 1700 on StreetNumber and 'Q' on StreetName; a house number plus one stray word with no street type, such as '100 E' or '100 %', is searched as typed against StreetName and finds no rows). Without a house number the name alone gets the same trimming, so 'Hayden Rd' is matched as 'Hayden' on StreetName.",
|
|
36536
36536
|
recordLabel: "Complaint",
|
|
36537
36537
|
openedLabel: "Received",
|
|
36538
36538
|
closedLabel: "Closed",
|
|
@@ -37871,12 +37871,38 @@ function bareName(tokens) {
|
|
|
37871
37871
|
}
|
|
37872
37872
|
return tokens.join(" ").trim();
|
|
37873
37873
|
}
|
|
37874
|
+
var NUMBERED_PARTS = ["number", "direction", "name", "type"];
|
|
37875
|
+
var DIRECTION_LETTERS = /* @__PURE__ */ new Set(["N", "S", "E", "W"]);
|
|
37876
|
+
var PLAIN_STREET_TYPES = /* @__PURE__ */ new Set(["ST", "STREET", "AVE", "AVENUE"]);
|
|
37877
|
+
function letteredStreet(street) {
|
|
37878
|
+
if (!splitStreet(street)) return null;
|
|
37879
|
+
const rest = street.trim().split(/\s+/).slice(1);
|
|
37880
|
+
if (rest.length < 2 || rest.length > 3) return null;
|
|
37881
|
+
if (!STREET_SUFFIXES.has(rest[rest.length - 1].replace(/\.$/, "").toUpperCase())) return null;
|
|
37882
|
+
if (rest.length === 3 && !DIRECTIONALS.has(rest[0].toUpperCase())) return null;
|
|
37883
|
+
const one = rest[rest.length - 2];
|
|
37884
|
+
if (!/^[\p{L}\p{N}]$/u.test(one)) return null;
|
|
37885
|
+
if (rest.length === 2 && DIRECTION_LETTERS.has(one.toUpperCase()) && !PLAIN_STREET_TYPES.has(rest[1].replace(/\.$/, "").toUpperCase())) return null;
|
|
37886
|
+
return one;
|
|
37887
|
+
}
|
|
37874
37888
|
function splitFor(ds, street) {
|
|
37875
37889
|
if (!ds.fields.streetNumber) return null;
|
|
37876
|
-
|
|
37890
|
+
const s = splitStreet(street);
|
|
37891
|
+
if (!s) return null;
|
|
37892
|
+
const letter = letteredStreet(street);
|
|
37893
|
+
if (letter) return { number: s.number, name: letter };
|
|
37894
|
+
const name = splitAddressStreetName(ds.fields.addressParts ?? NUMBERED_PARTS, ds.fields.addressParts ? ds.fields.address : "name", void 0, street);
|
|
37895
|
+
if (name === street) return null;
|
|
37896
|
+
const words = name.split(" ");
|
|
37897
|
+
if (words.length === 2 && DIRECTIONALS.has(words[0].toUpperCase())) {
|
|
37898
|
+
const type = words[1].replace(/\.$/, "");
|
|
37899
|
+
if (STREET_SUFFIXES.has(type.toUpperCase()) && !PLAIN_STREET_TYPES.has(type.toUpperCase())) return { number: s.number, name: type };
|
|
37900
|
+
}
|
|
37901
|
+
return { number: s.number, name };
|
|
37877
37902
|
}
|
|
37878
37903
|
function plainNeedle(ds, street) {
|
|
37879
37904
|
if (!ds.fields.streetNumber) return street;
|
|
37905
|
+
if (splitStreet(street)) return street;
|
|
37880
37906
|
const tokens = street.trim().split(/\s+/).filter(Boolean);
|
|
37881
37907
|
const name = bareName(tokens);
|
|
37882
37908
|
if (!name || name.split(" ").length >= tokens.length) return street;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urbankitstudio/atlas",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.36",
|
|
4
4
|
"description": "JS SDK for the UrbanKit County Parcel REST API Atlas: 395 counties across all 50 US states and DC, 413 verified public ArcGIS REST endpoints for county parcel data, with searchable field metadata, sample queries and license info, plus verified city code-violation, building-permit and zoning-case datasets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"parcel",
|