The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

gtakeout

R-CMD-check

The goal of gtakeout is to extract data from Google Takeout.

Installation

You can install the development version of gtakeout like so:

install.packages("gtakeout", repos = "https://jrosell.r-universe.dev")

Examples

Google Business Profiles

This is a basic example which shows you how to extract the reviews form a Takedown zip file.

library(gtakeout)

# devtools::load_all()

takeout_zipfile <- fs::dir_ls(here::here("data", "input"), glob = "*.zip") |>
  head(1)

output_path <- fs::dir_create(here::here("data", "output"))

gtakeout_reviews(takeout_zipfile, exdir = output_path)
#> # A tibble: 1 × 9
#>   account         location   reviewer star_raw comment created updated review_id
#>   <chr>           <chr>      <chr>    <chr>    <chr>   <chr>   <chr>   <chr>    
#> 1 account-example location-… Example… FIVE     exampl… 2025-0… 2025-0… accounts…
#> # ℹ 1 more variable: listing_name <chr>

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.