Skip to content

Instantly share code, notes, and snippets.

@katembu
katembu / rapidpro_r_connector.R
Last active July 9, 2021 08:38
rapidpro_r_connector
library(httr)
library(jsonlite)
#> API Token
API_token <- "Token XXXXX"
#> First URL without pagination
url_api <- "https://rapidpro.ona.io/api/v2/runs.json?flow=XXXXX"
@katembu
katembu / map.geojson
Last active April 17, 2019 15:54
Kenya Counties Map Geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
version = "0.1"
setup(
name="rapidsms",
version="0.1",