Giter Site home page Giter Site logo

check's Introduction

check

shinylive upload sandbox Objective: create a serverless Shiny applications with Python Preparatory:

  1. cd in terminal (e.g. Anaconda prompt) to one level above the working directory
  2. ensure the .py file is called app.py
    Compile & Upload:
    N.B. shiny static calls are superseded by shinylive (if not previously used, the following command will take some time to download shinylive from github e.g. to AppData\Local
  3. on the terminal (in that directory) "shinylive export inputdir outputdir" e.g. in our case "shinylive export check doc"
  4. upload doc file in entirety to github
  5. set up github pages "Build and Deployment" to main branch, doc folder
  6. access page at username.github.io/repository

check's People

Contributors

jjyh avatar

Watchers

 avatar

check's Issues

connect shiny to pg

RPostgreSQL depends on DBI, which means you cannot have the first work without the second. DBI provides a basic interface but can connect to no databases. The "drivers" for each DBMS are provided by individual packages, such as RPostgreSQL, RPostgres (diff implementation), RSQLite, RMySQL
The reason you see some functions written in both packages is that DBI provides default implementation that either does nothing or more likely does the basic act; some DBMS deviate from the standard or have more-efficient ways of doing things, so they override the default. โ€“
So in my use, I never load the actual driver package, since I only refer to it when I do DBI::dbConnect(RPostgres::Postgres(), ...). I generally do use library(DBI), and tend to use those methods.
Use DBI functions, there should be no need to do library(RPostgreSQL). Whether you use DBI::dbConnect or dbConnect (after library(DBI)) is a personal preference
https://stackoverflow.com/questions/53795181/difference-between-dbi-package-and-rpostgresql-packages-in-r

CRUD shiny
https://community.rstudio.com/t/building-crud-with-shiny/2881/9

rpostgres
https://appsilon.com/r-shiny-postgres-database/

https://stackoverflow.com/questions/58270888/save-shiny-dataframe-to-postgresql-database

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.