Skip to contents

Extracts File Types Supported by Databrary.

Usage

get_supported_file_types(vb = options::opt("vb"))

Arguments

vb

Show verbose messages. (Defaults to FALSE, overwritable using option 'databraryr.vb' or environment variable 'R_DATABRARYR_VB')

Value

A data frame with the file types permitted on Databrary.

Examples

# \donttest{
get_supported_file_types()
#>    asset_type_id
#> 1           -800
#> 2           -700
#> 3           -600
#> 4              1
#> 5              2
#> 6              4
#> 7              5
#> 8              6
#> 9              7
#> 10             8
#> 11             9
#> 12            10
#> 13            11
#> 14            12
#> 15            13
#> 16            14
#> 17            15
#> 18            16
#> 19            18
#> 20            19
#> 21            20
#> 22            21
#> 23            22
#> 24            23
#> 25            24
#> 26            25
#> 27            26
#> 28            27
#> 29            28
#> 30            29
#> 31            30
#> 32            31
#>                                                                     mimetype
#> 1                                                                  video/mp4
#> 2                                                                 image/jpeg
#> 3                                                                 audio/mpeg
#> 4                                                                 text/plain
#> 5                                                                   text/csv
#> 6                                                                   text/rtf
#> 7                                                                  image/png
#> 8                                                            application/pdf
#> 9                                                         application/msword
#> 10                                   application/vnd.oasis.opendocument.text
#> 11   application/vnd.openxmlformats-officedocument.wordprocessingml.document
#> 12                                                  application/vnd.ms-excel
#> 13                            application/vnd.oasis.opendocument.spreadsheet
#> 14         application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
#> 15                                             application/vnd.ms-powerpoint
#> 16                           application/vnd.oasis.opendocument.presentation
#> 17 application/vnd.openxmlformats-officedocument.presentationml.presentation
#> 18                                                   application/vnd.datavyu
#> 19                                                                video/webm
#> 20                                                                video/mpeg
#> 21                                                           video/quicktime
#> 22                                                                video/mp2t
#> 23                                                                 video/avi
#> 24                                                    application/x-spss-sav
#> 25                                                                 audio/wav
#> 26                                                            video/x-ms-wmv
#> 27                                                               text/x-chat
#> 28                                                                 audio/aac
#> 29                                                            audio/x-ms-wma
#> 30                            application/vnd.lena.interpreted-time-segments
#> 31                                                                video/x-dv
#> 32                                                                 text/elan
#>    extension                                          asset_type transcodable
#> 1        mp4                                        MPEG-4 video         -800
#> 2        jpg                                          JPEG image           NA
#> 3        mp3                    MPEG-1 or MPEG-2 audio layer III         -600
#> 4        txt                                          Plain text           NA
#> 5        csv                              Comma-separated values           NA
#> 6        rtf                                    Rich text format           NA
#> 7        png                           Portable network graphics           NA
#> 8        pdf                                   Portable document           NA
#> 9        doc                             Microsoft Word document           NA
#> 10       odf                                   OpenDocument text           NA
#> 11      docx           Microsoft Word (Office Open XML) document           NA
#> 12       xls                         Microsoft Excel spreadsheet           NA
#> 13       ods                            OpenDocument spreadsheet           NA
#> 14      xlsx          Microsoft Excel (Office Open XML) workbook           NA
#> 15       ppt                   Microsoft PowerPoint presentation           NA
#> 16       odp                           OpenDocument presentation           NA
#> 17      pptx Microsoft PowerPoint (Office Open XML) presentation           NA
#> 18       opf                                             Datavyu           NA
#> 19      webm                                          WebM video         -800
#> 20       mpg           MPEG program stream (MPEG-1/MPEG-2 video)         -800
#> 21       mov                                     QuickTime video         -800
#> 22       mts                               MPEG transport stream         -800
#> 23       avi                              Audio Video Interleave         -800
#> 24       sav                                    SPSS System File           NA
#> 25       wav                                      Waveform audio         -600
#> 26       wmv                                 Windows Media video         -800
#> 27       cha         Codes for the Human Analysis of Transcripts           NA
#> 28       aac                               Advanced Audio Coding         -600
#> 29       wma                                 Windows Media audio         -600
#> 30       its                      LENA Interpreted Time Segments           NA
#> 31        dv                      Digital Interface Format video         -800
#> 32       eaf                         ELAN - Linguistic Annotator           NA
# }