if (FALSE) {
lookup_code("me")
## [1] "The code for Maine is '23'."
lookup_code("Maine")
## [1] "The code for Maine is '23'."
lookup_code("23")
## [1] "The code for Maine is '23'."
lookup_code(23)
## [1] "The code for Maine is '23'."
lookup_code("me", "york")
## [1] "The code for Maine is '23' and the code for York County is '031'."
lookup_code("Maine", "York County")
## [1] "The code for Maine is '23' and the code for York County is '031'."
}
Run the code above in your browser using DataLab