Skip to contents

This function returns all observations from the VespaDB API export.

Usage

get_vespadb_export(domain = c("production", "uat"))

Arguments

domain

The domain to query. Either "uat" for the testing instance, or "prod" for the production instance.

Value

A tibble with the observations from the VespaDB API export.

Details

Daily around 4 AM a export is created from the VespaDB API and stored in S3. This function retrieves the latest export from S3 and returns it as a tibble.

This function is useful for getting a snapshot of the data in the VespaDB API or for getting a large amount of data.

Examples

if (FALSE) { # \dontrun{
# Get the latest export from the VespaDB API
get_vespadb_export()
# Get the latest export from the VespaDB API in the production instance
get_vespadb_export(domain = "production")
} # }