View source: R/read_Citavi_xlsx.R
read_Citavi_xlsx | R Documentation |
Import Excel files created via Citavi Export
read_Citavi_xlsx( path = NULL, keepMarksCols = TRUE, useYearDerived = TRUE, setSuggestedColOrder = TRUE, setSuggestedColTypes = TRUE, ... )
path |
Path to the xls/xlsx file created with Citavi via export to Excel. |
keepMarksCols |
If TRUE (default) it will keep and rename the first three
nameless columns of the imported excel file. These columns are automatically
created by the Citavi export and contain information about the attachment/paper-clip marker,
the red flag marker and the blue circle marker. If kept, the columns are renamed
|
useYearDerived |
If TRUE (default) the special column "Year derived" (DE: "Jahr ermittelt") is renamed to "Year" and thus replaces the original basic column "Year" which may have also been created via the Citavi export. |
setSuggestedColOrder |
If TRUE (default) columns a reordered in a suggested order. |
setSuggestedColTypes |
If TRUE (default) the |
... |
Other arguments passed to the |
Currently this only works for files that were generated while Citavi
was set to "English" so that column names are "Short title" etc.
A tibble containing the information of the xls/xlsx file that was created with Citavi via export to Excel.
example_path <- example_file("3dupsin5refs.xlsx") # use this package's example xlsx file read_Citavi_xlsx(example_path) ## Not run: CitDat <- read_Citavi_xlsx("data/yourCitaviExport.xlsx") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.