All Projects → dreamRs → sqlquery

dreamRs / sqlquery

Licence: other
Htmlwidget to write SQL queries

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
r
7636 projects
HTML
75241 projects

Projects that are alternatives of or similar to sqlquery

colorscale
Create a color scale from a single color
Stars: ✭ 80 (+158.06%)
Mutual labels:  addin
MyJournal.Notebook
My Journal Add-In for Microsoft OneNote
Stars: ✭ 41 (+32.26%)
Mutual labels:  addin
awesome-monodevelop
A curated list of awesome Visual Studio for macOS and MonoDevelop addins, tools and resources.
Stars: ✭ 24 (-22.58%)
Mutual labels:  addin
spatialwidget
Utility package to convert R data into JSON for use in htmlwidget mapping libraries
Stars: ✭ 17 (-45.16%)
Mutual labels:  htmlwidgets
vueR
vue.js for R
Stars: ✭ 131 (+322.58%)
Mutual labels:  htmlwidgets
learn
RECON learn: a free, open platform for training material on epidemics analysis
Stars: ✭ 33 (+6.45%)
Mutual labels:  htmlwidgets
jsTreeR
A wrapper of the jQuery plugin `jsTree`.
Stars: ✭ 36 (+16.13%)
Mutual labels:  htmlwidgets
widgetframe
Embed htmlwidgets in Responsive iframe.
Stars: ✭ 68 (+119.35%)
Mutual labels:  htmlwidgets
Excel-Favorites
⭐ This VSTO Add-In creates a custom "Favorites" ribbon. Key distinctive attributes include dedicated buttons for changing the visibility/sort order of sheets, copying visible cells, Excel's camera feature, Snipping Tool, Problem Steps Recorder (PSR) and Windows Calculator. It is written in 3 different versions as a VSTO Add-In in C# and VB.NET a…
Stars: ✭ 37 (+19.35%)
Mutual labels:  addin
summarywidget
htmlwidget that shows a single summary statistic
Stars: ✭ 25 (-19.35%)
Mutual labels:  htmlwidgets
sql-hunting-dog
Quick Search Tool (AddIn) for Microsoft SQL Management Studio
Stars: ✭ 33 (+6.45%)
Mutual labels:  addin
compareBars
Simplify comparative bar charts 📊
Stars: ✭ 28 (-9.68%)
Mutual labels:  htmlwidgets
gwt-material-addins
Custom Components for gwt-material.
Stars: ✭ 35 (+12.9%)
Mutual labels:  addin
Outlook-Add-in-SSO
[MOVED] The sample implements an Outlook add-in that uses Office's SSO system to get access to Microsoft Graph APIs and adds buttons to the Outlook ribbon.
Stars: ✭ 48 (+54.84%)
Mutual labels:  addin
toastui
R htmlwidgets for ToastUI libraries: grid, calendar and chart
Stars: ✭ 51 (+64.52%)
Mutual labels:  htmlwidgets
bpmn
BPMN diagrams in R
Stars: ✭ 16 (-48.39%)
Mutual labels:  htmlwidgets
local-government-desktop-addins
A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Stars: ✭ 58 (+87.1%)
Mutual labels:  addin
d3Tree
htmlwidget that binds d3js collapsible trees to R and Shiny to make an interactive search tool
Stars: ✭ 79 (+154.84%)
Mutual labels:  htmlwidgets
Script-Help
📝 This VSTO Add-In is used for cleaning & creating a script for batch loading records into SQL Server, Oracle, Documentum, Markup or Markdown Languages. The functionality within the ribbon allows a quick way of preparing a bulk data load. Otherwise, the requests can be both time-consuming and error prone. It is written in 3 different versions a…
Stars: ✭ 65 (+109.68%)
Mutual labels:  addin
dataui
data-ui for R
Stars: ✭ 57 (+83.87%)
Mutual labels:  htmlwidgets

sqlquery

SQL query editor

Travis build status lifecycle

Overview

Htmlwidget/Shiny gadget to write SQL queries with autocompletion for SQL keywords and for table names and fields. There are two addins in the package, in both you can write queries, but :

  • Non-interactive mode: you cannot run queries but you keep control over your R session;
  • Interactive mode: you can run queries and see first rows of result.

Installation

You can install from Github:

source("https://install-github.me/dreamRs/sqlquery")

Htmlwidget

Basic usage:

library(sqlquery)
sql_query(value = "SELECT * FROM mtcars")

Get autocompletion for tables and fields in a Database:

library(DBI)
con <- dbConnect(RSQLite::SQLite(), ":memory:")
dbWriteTable(conn = con, name = "mtcars", value = mtcars)

sql_query(conn = con)

Shiny app

Basic usage:

library(sqlquery)
sql_query_app(value = "SELECT * FROM mtcars")

With a connection :

library(DBI)
con <- dbConnect(RSQLite::SQLite(), ":memory:")
dbWriteTable(conn = con, name = "mtcars", value = mtcars)

sql_query_app(conn = con)

Click button see results to display first rows with RStudio's View (if app runs in pane viewer) or in a modal (if app runs in dialog viewer or browser).

To change display mode, use:

options("sqlquery.display.mode" = "dialog")

Addins

You can launch addins via RStudio addins menu. If you want to use a connection with addins, you can set option sqlquery.connection in your .Rprofile :

options("sqlquery.connection" = function() {
  con <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
  DBI::dbWriteTable(conn = con, name = "mtcars", value = mtcars)
  return(con)
})

This has to be a function returning a connection.

If you want to use a default schema, use:

options("sqlquery.schema" = "myschema")
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].