library("data.table")
setDTthreads(2)
library("httr2")
library("jsonlite")
SIAR = readSIAR(Lon = -3.603, Lat = 40.033,
## Aranjuez, Comunity of Madrid, Spain
inicio = '2023-01-01',
final = '2023-05-01',
tipo = 'Mensuales', n_est = 3)
SIAR
Run the code above in your browser using DataLab