I hereby claim:
- I am longwei66 on github.
- I am longwei (https://keybase.io/longwei) on keybase.
- I have a public key ASAjhwQDPjaQj3v7Xgzm42luLVCMQijk7ecgzrRHRuWUeQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
get_Google_Elevation <- function(lat, long, key){ | |
# packages | |
require(httr) | |
require(jsonlite) | |
require(dplyr) | |
# setup | |
Ndata <- length(lat) | |
base_int <- 40 # max roughly 40 data points per request | |
Ncells <- ceiling(Ndata/base_int) |