Description Usage Arguments Value Examples
Takes a vector of one line addresses (USA only) and returns the school district serving those address using the first matches from the US Census API
1 | VgetSchoolDistrict(addrVec, halt = T, na.rm = F, messageLevel = 0)
|
addrVec |
Character vector containing addresses |
halt |
logical of length 1 indicating whether to halt if no school district is found |
na.rm |
logical of length 1 indicating whether to remove NA's from the returned vector (ignored if |
messageLevel |
integer of length 1 indicating the level of messaging to print |
Character vector containing the names of the school districts or NA's
1 2 3 4 | addrVecExample = c("1 MAIN ST, ALBANY, NY, 12204", "1234 MAIN Blvd, ALBANY, NY, 12204", "1234 MAIN Blvd, ALBANY, NY, 12204")
VgetSchoolDistrict(addrVecExample)
VgetSchoolDistrict(addrVecExample, halt = F)
VgetSchoolDistrict(addrVecExample, halt = F, na.rm = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.