Return lake attribute information from its name and state or its lagoslakeid.
lake_info( lagoslakeid = NA, name = NA, state = NA, lg = lagosus_load("locus"), max_distance = 0 )
lagoslakeid | numeric lake id |
---|---|
name | character lake name not caps sensitive |
state | character state name not caps sensitive |
lg | list of data.frames. output of |
max_distance | passed to |
if (FALSE) { lg <- lagosus_load("locus") lake_info(lagoslakeid = 4314, lg = lg) lake_info(lagoslakeid = c(21864, 2317)) lake_info(lagoslakeid = c(1441)) lake_info(lagoslakeid = c(125428, 1441), lg = lg) lake_info(lagoslakeid = c(4686, 8016), lg = lg) # fuzzy matching to lake name lake_info(name = "Duck Lake", state = "Michigan", lg = lg) # exact matching to lake name lake_info(name = "Duck Lake", state = "Michigan", max.distance = list(all = 0), lg = lg) lake_info(name = "Sunapee Lake", state = "New Hampshire", lg = lg) lake_info(name = c("Sunapee Lake", "Oneida Lake"), state = c("New Hampshire", "New York"), max.distance = list(all = 0), lg = lg) }