Hosting

AirTable

AirTable itself

https://saltcorn.com/

Saltcorn is a platform for building database web applications without writing a single line of code. Use the intuitive point-and-click, drag-and-drop user interface to build the whole application

https://www.nocodb.com/

NocoDB is an open source “#NoCode” platform that turns any database into a smart spreadsheet.

Automations

Zapier

https://n8n.io/

Passwords

  • BitWarden preferred
  • LastPass tolerable

BI / Dashboard solutions

Power BI

Experiments

Metadata

  • Setting up a Shiny app to explore & manage metadata for a SQL Server data warehouse
  • Using the {golem} framework: project name GolemMetadata
  • This will, however, require a SQL Server instance
    • Looked at doing something cool/weird with cloud resources
    • Doing like one of the free E2 instances on GCP just probably (a) wouldn’t have the heft, and (b) would involve some weird networking and security steps…
    • Digital Ocean didn’t have any freebies
    • Azure has all the right tech (obviously - seeing as Nous is on the Microsoft stack) but most of it is like timeboxed free.
  • So we’ll focus on building a version that’s just supposed to be run locally, rather than doing anything deployed to shinyapps or similar.

Getting a working SQL Server

docker pull mcr.microsoft.com/mssql/server:2022-latest

docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<YourStrong@Passw0rd>" `
   -p 1433:1433 --name sql1 --hostname sql1 `
   -d `
   mcr.microsoft.com/mssql/server:2022-latest

# Diagnostic: should give you "SQL Server is now ready for client connections..."
docker exec -t sql1 cat /var/opt/mssql/log/errorlog | grep connection

Docker Desktop was a smooth experience too - the dashboard was clean & useful, with handy stop/resume buttons for containers.

From this point: you can use the sqlcmd utility inside bash inside the container to do stuff in an interactive session - CREATE SCHEMA, CREATE TABLE, the lot…

docker exec -it sql1 "bash"
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "<YourStrong@Passw0rd>"

…OR you can just install SSMS and connect that way (just username = SA, password = password, and because it’s local you can just specify the name of the SQL Server, which we set up to be “sql1” same as the container name) (https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-manage-ssms?view=sql-server-ver16)

OR start connecting in R!

Note also that the container - which is like a free development version of SQL Server, as the full version is licensed - comes with some stuff pre-configured: you get a few databases already set up. By default you’ll be working in master.

library(DBI)
# require(odbc)
conn <- dbConnect(
	odbc::odbc(),
    Driver = "SQL Server",
    Server = "sql1",
    Database = "master",
    UID = "SA", # System Administrator - only acct by default
    PWD = "<YourStrong@Passw0rd>",
    Port = 1433 # Can see in Docker - container defaults to this one
)

However, note that this is not an entirely frictionless experience: after quitting Docker, Windows will still be provisioning memory for the Linux installation (naughty Windows) (this manifests as the process “Vmmem” still using like min(50%, 8GB) of memory).

This can be remedied by going wsl --shutdown in PowerShell (maybe bash or cmd as well?)