Learn R Programming

wand (version 0.5.0)

Retrieve 'Magic' Attributes from Files and Directories

Description

'MIME' types are shorthand descriptors for file contents and can be determined from "magic" bytes in file headers, file contents or intuited from file extensions. Tools are provided to perform curated "magic" tests as well as mapping 'MIME' types from a database of over 1,500 extension mappings.

Copy Link

Version

Install

install.packages('wand')

Version

0.5.0

License

MIT + file LICENSE

Maintainer

Last Published

July 8th, 2019

Functions in wand (0.5.0)

wand

Retrieve 'Magic' Attributes from Files and Directories
guess_content_type

Guess MIME type from filename (extension)
get_content_type

Discover MIME type of a file based on contents
simplemagic_mime_db

File extension-to-MIME mapping data frame