Client Libraries
Python
Install the Python client library to work with +254 data in pandas and Jupyter:
pip install plus254 Once installed, import and query:
from plus254 import Client
client = Client()
tea = client.dataset("tea", source="teaboard")
df = tea.to_pandas()
df.head() JavaScript / TypeScript
Use the JavaScript client for Node.js and browser environments:
npm install plus254 Query datasets using async/await:
import { Plus254 } from "plus254";
const api = new Plus254();
const data = await api.dataset("tea", { source: "teaboard" });
console.log(data); R
Install the R package from CRAN:
install.packages("plus254")
library(plus254)
tea <- get_dataset("teaboard", "tea")
head(tea)