View source: R/import_export_funs.R
pg_export | R Documentation |
Export query to CSV with delimiter tabular and header.
pg_export(
con,
query,
dir = file.choose(new = T),
encoding = "WIN1252",
delim = "\t"
)
con: |
connection. |
query: |
(chr) SQL query. |
dir: |
(chr) directory. Default(file.choose()). |
encoding: |
(chr) SET client_encoding to. Default 'WIN1252'. |
delim: |
(chr) Set delimiter. Default tabular. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.