Learn R Programming

exif (version 0.1.0)

read_exif: Read EXIF Metadata

Description

read_exif reads EXIF metadata from JPEG files, returning it as a data.frame.

Usage

read_exif(files)

Arguments

files
a vector of files to read in.

Value

a data.frame, with each row consisting of the metadata for one file in files. Absent values are represented by an empty string for character columns, and 0 for numeric columns.

Examples

Run this code
# A simple example using included images
file <- system.file("extdata/dog_test_img.jpg", package="exif")
file_metadata <- read_exif(file)

Run the code above in your browser using DataLab