Programmatic access

You can access data from LongCat programmatically using the Redivis API for R or Python.

  1. Install the redivis-r package:
devtools::install_github("redivis/redivis-r")
  1. Generate and set an API token.

  2. Access the data:

library(redivis)

user <- redivis::user("sconte")
dataset <- user$dataset("LongCat")
table <- dataset$table("E1_sample")

# load table as tidyverse tibble
df <- table$to_tibble()

View documentation

  1. Install the redivis-python client library:
pip install --upgrade redivis
  1. Generate and set an API token.

  2. Access the data:

import redivis

user = redivis.user("sconte")
dataset = user.dataset("LongCat")
table = dataset.table("E1_sample")

# Load table as a dataframe
df = table.to_pandas_dataframe()

View documentation