Title: Extract Data from Google Takeout
Version: 0.1.0
Description: Provides functions to analyze data exported from 'Google Takeout'. The package supports unzipping archives and extracting user review data from Google Business Profile exports into tidy data frames for further analysis.
License: MIT + file LICENSE
Depends: R (≥ 4.1)
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.3.3
Imports: dplyr, fs, here, jsonlite, purrr, rlang, stringr, zip
URL: https://github.com/jrosell/gtakeout
BugReports: https://github.com/jrosell/gtakeout/issues
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-01-13 08:56:35 UTC; jordi
Author: Jordi Rosell ORCID iD [aut, cre, cph]
Maintainer: Jordi Rosell <jroselln@gmail.com>
Repository: CRAN
Date/Publication: 2026-01-18 11:20:10 UTC

gtakeout: Extract Data from Google Takeout

Description

Provides functions to analyze data exported from 'Google Takeout'. The package supports unzipping archives and extracting user review data from Google Business Profile exports into tidy data frames for further analysis.

Author(s)

Maintainer: Jordi Rosell jroselln@gmail.com (ORCID) [copyright holder]

See Also

Useful links:


Extract the reviews form a Takedown zip file. #'

Description

Extract the reviews form a Takedown zip file. #'

Usage

gtakeout_reviews(zipfile, ..., exdir = here::here("data"))

Arguments

zipfile

Required path to the zip file containing the reviews

...

Other optional arguments

exdir

Optional directory to extract the contents of the zip file

Value

A data frame of reviews

Examples

zip_path <- system.file(
    "extdata",
    "takeout-example.zip",
    package = "gtakeout"
)
gtakeout_reviews(zip_path, exdir = tempdir())