Install
$ agentstack add skill-leolin990405-r-analytics-skill-rpostgres ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
RPostgres Package
PostgreSQL database interface.
Connect
library(DBI)
library(RPostgres)
con <- dbConnect(
Postgres(),
dbname = "mydb",
host = "localhost",
port = 5432,
user = "user",
password = "password"
)
# With connection string
con <- dbConnect(
Postgres(),
"postgresql://user:password@localhost:5432/mydb"
)
Basic Operations
# Query
df <- dbGetQuery(con, "SELECT * FROM users LIMIT 100")
# Write table
dbWriteTable(con, "new_table", df)
# Append
dbWriteTable(con, "existing", df, append = TRUE)
# Overwrite
dbWriteTable(con, "existing", df, overwrite = TRUE)
Parameterized Queries
dbGetQuery(con,
"SELECT * FROM users WHERE id = $1 AND status = $2",
params = list(123, "active")
)
COPY Protocol (Fast)
# Fast bulk insert
dbWriteTable(con, "big_table", big_df, copy = TRUE)
Schemas
# Specify schema
dbWriteTable(con, Id(schema = "analytics", table = "events"), df)
dbReadTable(con, Id(schema = "analytics", table = "events"))
Disconnect
dbDisconnect(con)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: LeoLin990405
- Source: LeoLin990405/r-analytics-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.