knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

rapidpror

R-CMD-check Codecov test
coverage Lifecycle:
experimental Project Status: Initial development is in progress, but there
has not yet been a stable, usable release suitable for the
public. license-lightgrey.svg)

Reading in data from RapidPro API into R.

Overview

rapidpror is a package in R to import chatbot data from RapidPro into R.

Installation

You can install the development version of rapidpror from GitHub with:

# install.packages("devtools")
devtools::install_github("IDEMSInternational/rapidpror")

Functions in rapidpror

rapidpror is a package in R to import data from RapidPro into R for analysis. This section outlines the functions used to import into R. These functions are divided into three parts: Identifying Information, Flow and User Data, and Archived Data.

Identifying Information:

In RapidPro, each website is associated with a unique token or "key." To simplify data retrieval and avoid repetitive key entry, we've designed the following functions to be defined in the package environment:

Once the key and site are defined, you can use the corresponding get functions to access them from other rapidpror functions effortlessly:

Flow Data and User Data:

In this package, we retrive two types of data from RapidPro: user data and flow data. Each type requires its own functions due to unique characteristics:

Archived Data:

Data in RapidPro gets archived after a specific period. To access archived data, we provide the following functions:

Usage

We aim to add some examples here in using the functions in rapidpror.



lilyclements/Rapidreadr documentation built on April 17, 2025, 6:10 p.m.