Skip to main content

R SDK Getting Started

The CloudQuant Data Liberator R package provides functions for querying datasets and converting results to R DataFrames.

Required Security Files

Place the following files from your Downloads ZIP in your working directory:
  • liberator.pfx — Security certificate
  • liberator.json — Contains your Username and Token

Quick Start

Query and Get DataFrame

res = liberator::get_dataframe(liberator::query(
    symbols="AAPL",
    name="daily_bars",
    as_of="2025-01-01",
    back_to="2024-12-01"
))

print(res)

Function Reference

The get_dataframe function accepts a query result and converts it into a DataFrame:
get_dataframe <- function(res, muts_order_batches=TRUE)
You can send debug output to stderr:
print(liberator::get_dataframe(liberator::query(
    name="daily_bars",
    symbols="AAPL",
    as_of="2019-09-15",
    back_to="2019-09-10",
    debug_stream=stderr()
)))