Skip to content

Instantly share code, notes, and snippets.

View nburbank's full-sized avatar

Noah Burbank nburbank

  • Salesforce
  • Palo Alto, CA
View GitHub Profile
View dropElements.scala
List("Pennsylvania", "Ave", "NW", "Suite", "2A", "Washington", "DC", "20500", "USA")
List("1600", "Ave", "NW", "Suite", "2A", "Washington", "DC", "20500", "USA")
List("1600", "Pennsylvania", "NW", "Suite", "2A", "Washington", "DC", "20500", "USA")
View rawAndCollapsed.scala
val input: List[String] = List("1600", "Pennsylvania", "Ave", "NW", "Washington", "DC", "20500") 
val rawTags: List[Tag] = List(HouseNo, Street, Street, Street, City, State, ZipCode)
val collapsedTags: List[Tag] = List(HouseNo, Street, City, State, ZipCode)
@nburbank
nburbank / gist:5e3f26a09796aeade312b492b5b2b5e1
Created February 20, 2020 20:57
Gist for How to use open source data to solve customer problems
View gist:5e3f26a09796aeade312b492b5b2b5e1
val input: List[String] = List("1600", "Pennsylvania", "Ave", "NW", "Washington", "DC", "20500") 
val rawTags: List[Tag] = List(HouseNo, Street, Street, Street, City, State, ZipCode)
val collapsedTags: List[Tag] = List(HouseNo, Street, City, State, ZipCode)