Skip to contents

List Stored Assets (Files) By Type.

Usage

list_asset_formats(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 information about the data formats Databrary supports.

Examples

# \donttest{
list_asset_formats()
#>    format_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
#>                                                              format_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
#>    format_extension                                         format_name
#> 1               mp4                                        MPEG-4 video
#> 2               jpg                                          JPEG image
#> 3               mp3                    MPEG-1 or MPEG-2 audio layer III
#> 4               txt                                          Plain text
#> 5               csv                              Comma-separated values
#> 6               rtf                                    Rich text format
#> 7               png                           Portable network graphics
#> 8               pdf                                   Portable document
#> 9               doc                             Microsoft Word document
#> 10              odf                                   OpenDocument text
#> 11             docx           Microsoft Word (Office Open XML) document
#> 12              xls                         Microsoft Excel spreadsheet
#> 13              ods                            OpenDocument spreadsheet
#> 14             xlsx          Microsoft Excel (Office Open XML) workbook
#> 15              ppt                   Microsoft PowerPoint presentation
#> 16              odp                           OpenDocument presentation
#> 17             pptx Microsoft PowerPoint (Office Open XML) presentation
#> 18              opf                                             Datavyu
#> 19             webm                                          WebM video
#> 20              mpg           MPEG program stream (MPEG-1/MPEG-2 video)
#> 21              mov                                     QuickTime video
#> 22              mts                               MPEG transport stream
#> 23              avi                              Audio Video Interleave
#> 24              sav                                    SPSS System File
#> 25              wav                                      Waveform audio
#> 26              wmv                                 Windows Media video
#> 27              cha         Codes for the Human Analysis of Transcripts
#> 28              aac                               Advanced Audio Coding
#> 29              wma                                 Windows Media audio
#> 30              its                      LENA Interpreted Time Segments
#> 31               dv                      Digital Interface Format video
#> 32              eaf                         ELAN - Linguistic Annotator
#>    format_transcodable
#> 1                 -800
#> 2                   NA
#> 3                 -600
#> 4                   NA
#> 5                   NA
#> 6                   NA
#> 7                   NA
#> 8                   NA
#> 9                   NA
#> 10                  NA
#> 11                  NA
#> 12                  NA
#> 13                  NA
#> 14                  NA
#> 15                  NA
#> 16                  NA
#> 17                  NA
#> 18                  NA
#> 19                -800
#> 20                -800
#> 21                -800
#> 22                -800
#> 23                -800
#> 24                  NA
#> 25                -600
#> 26                -800
#> 27                  NA
#> 28                -600
#> 29                -600
#> 30                  NA
#> 31                -800
#> 32                  NA
# }