knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(agrometR) URL_API <- "https://climatologia.meteochile.gob.cl/application/productos"
Documentación:
https://climatologia.meteochile.gob.cl/application/publicaciones/documentoPdf/documentosGenerales/dmc-011-ServiciosConsumirDatos.pdf
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "estacionesRedEma") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "datosRecientesRedEma") ) ), height = 500 )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "datosRecientesRedEma/330021") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "emaResumenDiario") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "emaResumenDiario/330020") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "datosRecientesEma/330020/2018/06") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "recienteUvb") ) ) )
listviewer::jsonedit( mode = "code", width = "100%", httr::content( httr::GET( fs::path(URL_API, "boletinClimatologicoDiario") ) ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.