How to convert a geojson from Postgresql to geojson format readable in rCharts in R?

المشرف العام

Administrator
طاقم الإدارة
I am creating a Rshiny interface on that can take in user input and SELECT the respectively map layer from Postgresql database based on the input. The package I am using to plot the map is rCharts.

The following are my ui.r and server.r codes

ui.r

shinyUI(fluidPage( titlePanel("title here"), sidebarLayout(position = "right", sidebarPanel( selectInput("time", label = "Choose a time period", choices = list("1", "2", "3") ) ), mainPanel(chartOutput('map','leaflet'))))server.r

shinyServer(function(input,output) { output$map
 
أعلى