View source: R/import_export_funs.R
pg_importxl | R Documentation |
Read tabular data in excel file (xls or xlsx) and write it in PostgreSQL.
pg_importxl(
con,
file = file.choose(),
sheet = "Hoja 1",
schema,
table,
col_types = NULL
)
con: |
Pg connection. |
file: |
path excel file. |
sheet: |
excel sheet where is the table. |
schema: |
name of schema to write. |
table: |
table name. |
col_types: |
chr Either NULL to guess from the spreadsheet or a character vector containing "blank", "numeric", "date" or "text". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.