This must be a simple question but this is my first Rstudio project, my thesis deadline is approaching and something just does not seem to work so I need your help
I installed the darksky package, connected my Rstudio to the Darksky database through an API key. I made a csv file containing the information needed (longitude, latitude and the date) and now I need the weather information for every place on a certain day for this date.
It needs to look something like this:
Get_forcast_for(data$lontitude, data$latitude, date(in asdate format)) and then looping it for every row in the 800.000 rows containing csv file.
The data looks like this:
The only examples on the internet explain the function inserting coordinates manually and I keep getting error messages. Hope someone can help.
Thank you in advance,