read_sms_data: Read SMS Data

View source: R/sms.R

read_sms_dataR Documentation

Read SMS Data

Description

Return SMS messages stored in backup

Usage

read_sms_data(x, collect = TRUE)

Arguments

x

An ios_backup object (or something that can be passed to get_backup) or the path to a sqlite SMS database.

collect

Should dplyr results be collected before being returned.

Value

A tibble containing SMS data

Examples

## Not run: 
backup <- get_backup()
read_sms_data(backup)

#Read a copy
orig <- path_sms(backup)
mycopy <- file.path(getwd(), "sms.sqlitedb")
file.copt(orig, mycopy)
read_contacts(mycopy)

#Join with Contacts
read_sms_data(backup) %>% left_join(read_contacts(backup))

## End(Not run)

MrFlick/myphone documentation built on Sept. 16, 2022, 12:07 p.m.