Skip to content

Commit

Permalink
Fixed crosswalks
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: zoobot <[email protected]>
  • Loading branch information
zoobot committed Dec 7, 2022
1 parent e240f07 commit 2ee5239
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions sources/usa.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,15 @@ export default [
contact: null,
crosswalk: {
ref: "tree_id",
dbh: (x) => x.tree_dbh * 2.54,
dbh: "tree_dbh",
scientific: "spc_latin",
common: "spc_common",
genus: (x) => x.spc_latin.split(" ")[0],
health: "health",
ref: "tree_id",
address: "address",
zipcode: "postcode",
neighborhood: "borough",
},
},
{
Expand Down Expand Up @@ -805,9 +810,19 @@ export default [
email: null,
contact: null,
crosswalk: {
scientific: "LatinName",
common: "CommonName",
genus: "Genus",
health: "conditionO",
scientific: "SPECIES_LA",
common: "SPECIES_CO",
health: "STATUS",
address: "Address",
dbh: 'DBHRange',
height: 'TreeHeight',
location: "Locationon",
notes: "Maintenac",
ref: "TreeID",
count: "TreeNumber",
},
},
{
Expand Down Expand Up @@ -1901,7 +1916,7 @@ export default [
info: "http:https://hub.arcgis.com/datasets/naperville::right-of-way-tree-inventory",
broken: false,
download:
"https://opendata.arcgis.com/datasets/51d4726531cd4ef99bfa24b99ae3ba24_0.csv",
"https://www.arcgis.com/sharing/rest/content/items/a6865fd074b54a369ad79c87680af8a9/data",
format: null,
filename: null,
gdal_options: null,
Expand Down

0 comments on commit 2ee5239

Please sign in to comment.