identify the State each site is in, for doaggregate()
Source:R/state_per_site_for_doaggregate.R
      state_per_site_for_doaggregate.Rdidentify the State each site is in, for doaggregate()
Examples
# \donttest{
 # cannot quickly id ST if a site spans 2+ states
 # not this is an unexported function:
 tail(state_from_s2b_bysite(testoutput_getblocksnearby_100pts_1miles))
#> Error in state_from_s2b_bysite(testoutput_getblocksnearby_100pts_1miles): could not find function "state_from_s2b_bysite"
 
 # using the closest block can id the wrong state:
 tail(state_from_nearest_block_bysite(testoutput_getblocksnearby_100pts_1miles))
#> Error in state_from_nearest_block_bysite(testoutput_getblocksnearby_100pts_1miles): could not find function "state_from_nearest_block_bysite"
 
 # getting the true state is slow if some sites span 2+ states:
 tail(
   state_per_site_for_doaggregate(
     testoutput_getblocksnearby_100pts_1miles, 
     testpoints_100
   ))
#> Error in state_per_site_for_doaggregate(testoutput_getblocksnearby_100pts_1miles,     testpoints_100): could not find function "state_per_site_for_doaggregate"
# }