Learn R Programming

⚠️There's a newer version (3.1.3) of this package.Take me there.

Civis Data Science API Client

Introduction

civis is an R package that helps analysts and developers interact with the Civis Platform. The package includes a set of tools around common workflows as well as a convenient interface to make requests directly to the Civis Data Science API.

Documentation

The full documentation is hosted here. The fastest way to get started is with the getting started guide.

API Keys

Installing and using civis requires an API key. Instructions for creating an API key can be found here. All API keys have a set expiration date and so a new key will need to be created at least every 30 days.

Once you have created an API key, you will then need to add it to your .Renviron so the civis package can access it.

Linux/MacOS

touch ~/.Renviron
open -t ~/.Renviron

Then add the following line replacing the fake key sadf8sadf9jasdf with the API key from your Civis Platform Profile:

CIVIS_API_KEY=sadf8sadf9jasdf

After saving the .Renviron file, you'll need to restart R/Rstudio.

Windows

A .Renviron file can be created in the R user home directory, Sys.getenv("R_USER"). Typically this is "C:/username/Documents". Open or create .Renviron with notepad and add the key as above. Save with type all files, not .txt. Restart R/Rstudio.

:heavy_exclamation_mark: You must keep your API key secret. If you use version control tools, ensure you do not commit .Renviron or any scripts in which you have hard-coded an API key.

Install

install.packages("civis")

Updating

The civis package automatically generates R functions and documentation to interact with the Civis Platform when the package installs. From time to time, new API functions are added. These can be obtained immediately by re-installing the package from github:

devtools::install_github("civisanalytics/civis-r")

If the dependencies are already installed (such as in docker containers), skipping dependency upgrades will be considerably faster:

devtools::install_github("civisanalytics/civis-r", upgrade_dependencies = FALSE)

Usage

civis includes functionality for both

  1. Making single calls to accomplish a specific task (which may involve

making multiple calls to the API) 2. Making direct calls to the API

Many useful tasks will require making multiple direct calls to the API. civis includes a number of wrapper functions to make common tasks like IO and modeling easier. For example, reading data from a table in Platform is as easy as

library(civis)

# Read an entire table in to memory
my_table <- "schema.tablename"
df <- read_civis(my_table, database="my_database")

# Run a query and read the results into memory
query <- sql("SELECT a, b, c FROM schema.tablename WHERE b > 42")
df2 <- read_civis(query, database="my_database")

civis includes many more functions for tasks like writing data to tables and files as well as for creating reports. For more detailed documentation, see the included vignettes:

browseVignettes('civis')

Direct calls to API

Functions which make direct calls to the API are prefixed with the name of the resource that the function accesses. For example, the users resource encapsulates all the functionality of Platform regarding users. We can make various calls to the users resource to get information about ourselves and our team.

# Data about me
civis::users_list_me()

<civis_api>
List of 14
 $ id                      : int 971
 $ name                    : chr "A User"
 $ email                   : chr "a_user@example.com"
 $ username                : chr "a_user"
 $ initials                : chr "AU"
# ...
# Data about my team
my_team <- civis::users_list()
team_members <- sapply(my_team, function(x) x$name)
print(team_members)

[1] "Jean-Luc Picard"      "Beverly Crusher"     "Q"

API Documentation

https://platform.civisanalytics.com/api

Contributing

Contributions to the code are very welcome! Issues and bug reports can filed through the standard Github issue interface.

git-flow

  1. Fork the repo, make changes in your branch.
  2. Unit tests must pass, and can be run with devtools::test() or cmd-shift-t in Rstudio.
  3. New code must be backed with tests, mocking all API calls.
  4. R CMD check must pass, i.e. using devtools::check().
  5. Make a pull request from the fork to the master branch of the main repo. In your pull request, link to the issue the pull request addresses.
  6. Tag a maintainer for review. Once it has been approved, squash and merge!

Adding the environment variable R_CLIENT_DEV = "TRUE" to .Renviron will prevent new API functions and documentation from being generated based on your API Key. The default generated API functions included in the package are only updated when this package releases to CRAN.

Integration tests

For major, potentially breaking changes, integration tests should be run with

cd tools/integration_tests
Rscript smoke_test.R

Note, integration tests require a valid API key to run, and my be slow.

Authorship

All contributors of code should include themselves in DESCRIPTION by adding the following object in the Authors@R section:

person("FirstName", "LastName", email = "email@email.com", role = "ctb")

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Copy Link

Version

Install

install.packages('civis')

Monthly Downloads

208

Version

1.6.1

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Miller

Last Published

February 12th, 2019

Functions in civis (1.6.1)

announcements_list

List announcements
apps_delete_instances_projects

Remove a AppInstance from a project
apps_list_instances_shares

List users and groups permissioned on this object
apps_get_releases

Return a given app release
CivisFuture

Evaluate an expression in Civis Platform
apps_list

List apps
apps_list_releases

List the releases of a particular Decision Application
apps_delete_instances_shares_groups

Revoke the permissions a group has on this object
apps_delete_instances_shares_users

Revoke the permissions a user has on this object
DBI

DBI methods
apps_patch_instances

Update a given app instance
apps_list_instances

List the instances of a Decision Application
apps_list_instances_projects

List the projects a AppInstance belongs to
apps_put_instances_shares_groups

Set the permissions groups has on this object
apps_get

List details of a Decision Application
apps_post_instances

Create a new instance of an application of the given slug
apps_put_instances_shares_users

Set the permissions users have on this object
apps_get_instances

Return a given app instance
civis_platform

Evaluate an expression in Civis Platform
civis_ml

Interface for modeling in the Civis Platform
await

Call a function repeatedly until a status is reached.
civis_table

A table in the Civis Platform
civis_ml_extra_trees_classifier

CivisML Extra Trees Classifier
cancel

Cancel the evaluation of a CivisFuture.
CIVIS_ML_CLASSIFIERS

List of classification models.
CIVIS_ML_REGRESSORS

List of civis_ml regression models.
civis_ml_sparse_logistic

CivisML Sparse Logistic
civis_ml_random_forest_regressor

CivisML Random Forest Regressor
apps_put_instances_archive

Update the archive status of this object
civis_ml_sparse_ridge_regressor

CivisML Sparse Ridge Regression
civis_ml_extra_trees_regressor

CivisML Extra Trees Regressor
apps_put_instances_projects

Add a AppInstance to a project
civis_ml_gradient_boosting_classifier

CivisML Gradient Boosting Classifier
civis_file

A file in the Civis Platform
civis_file_manifest

A manifest file in the Civis Platform
clusters_list_workers_active_jobs

List Active Jobs for a Worker Cluster
clusters_list_workers_queued_jobs

List Queued Jobs for a Worker Cluster
codes_list

List codes
civis_ml_sparse_linear_regressor

CivisML Sparse Linear Regression
civis_ml_gradient_boosting_regressor

CivisML Gradient Boosting Regressor
codes_patch

Update a code
databases_delete_whitelist_ips

Remove a whitelisted IP address
civis_to_multifile_csv

Split a Redshift table into multiple CSV parts on S3
clusters_delete_kubernetes_partitions

Delete a Cluster Partition
civis_ml_random_forest_classifier

CivisML Random Forest Classifier
clusters_get_workers

Describe a Worker Cluster
clusters_list_kubernetes_partitions

List Cluster Partitions for given cluster
clusters_get_kubernetes

Describe a Kubernetes Cluster
databases_get_whitelist_ips

View details about a whitelisted IP
clusters_list_workers

List Worker Clusters
clusters_list_kubernetes

List Kubernetes Clusters
databases_list_tables

List tables in the specified database, deprecated use "GET /tables" instead
databases_list_tables_search

List tables in the specified database, deprecated use "GET /tables" instead
credentials_delete_shares_users

Revoke the permissions a user has on this object
credentials_get

Get a credential
clusters_patch_kubernetes_partitions

Update a Cluster Partition
enhancements_delete_cass_ncoa_shares_groups

Revoke the permissions a group has on this object
clusters_post_kubernetes_partitions

Create a Cluster Partition for given cluster
coef.civis_ml

Get civis_ml model coefficients
clusters_get_kubernetes_partitions

Describe a Cluster Partition
codes_post

Create a new code
enhancements_delete_cass_ncoa_shares_users

Revoke the permissions a user has on this object
credentials_delete_shares_groups

Revoke the permissions a group has on this object
enhancements_delete_data_unification_projects

Remove a container docker from a project
codes_delete

Delete a code
enhancements_delete_data_unification_runs

Cancel a run
codes_put

Update a code
codes_get

Show basic code info
credentials_post_temporary

Generate a temporary credential for accessing S3
credentials_put

Update an existing credential
credentials_list

List credentials
credentials_put_shares_groups

Set the permissions groups has on this object
enhancements_get_table_deduplication_runs

Check status of a run
databases_list_whitelist_ips

List whitelisted IPs for the specified database
credentials_list_shares

List users and groups permissioned on this object
enhancements_list

List Enhancements
credentials_put_shares_users

Set the permissions users have on this object
databases_list

List databases
databases_list_schemas

List schemas in this database
credentials_post

Create a credential
dbIsReadOnly

Is this DBMS object in read-only mode
enhancements_delete_cass_ncoa_projects

Remove a JobTypes::CassNcoa from a project
enhancements_list_person_matching_projects

List the projects a container docker belongs to
enhancements_delete_person_matching_shares_users

Revoke the permissions a user has on this object
enhancements_list_person_matching_shares

List users and groups permissioned on this object
enhancements_delete_civis_data_match_projects

Remove a container docker from a project
db_query_fields.CivisConnection

Query field names.
databases_post_whitelist_ips

Whitelist an IP address
credentials_post_authenticate

Authenticate against a remote host
enhancements_delete_civis_data_match_runs

Cancel a run
enhancements_delete_cass_ncoa_runs

Cancel a run
enhancements_delete_person_matching_projects

Remove a container docker from a project
enhancements_delete_table_deduplication_projects

Remove a container docker from a project
dbi_driver

Civis DBI driver
default_credential

The current user's default credential.
download_civis

Download a table or a file from the Civis Platform to local disk
endpoints_list

List API endpoints
enhancements_delete_person_matching_shares_groups

Revoke the permissions a group has on this object
enhancements_list_table_deduplication_shares

List users and groups permissioned on this object
enhancements_get_data_unification_runs

Check status of a run
enhancements_delete_table_deduplication_shares_users

Revoke the permissions a user has on this object
enhancements_get_table_deduplication

Get a Table Deduplication Enhancement
enhancements_get_cass_ncoa

Get a CASS/NCOA Enhancement
enhancements_delete_civis_data_match_shares_users

Revoke the permissions a user has on this object
enhancements_delete_civis_data_match_shares_groups

Revoke the permissions a group has on this object
enhancements_list_cass_ncoa_projects

List the projects a JobTypes::CassNcoa belongs to
enhancements_delete_table_deduplication_runs

Cancel a run
enhancements_list_types

List available enhancement types
enhancements_list_cass_ncoa_runs_logs

Get the logs for a run
enhancements_get_civis_data_match_runs

Check status of a run
enhancements_delete_table_deduplication_shares_groups

Revoke the permissions a group has on this object
enhancements_delete_data_unification_shares_groups

Revoke the permissions a group has on this object
enhancements_delete_data_unification_shares_users

Revoke the permissions a user has on this object
enhancements_list_cass_ncoa_runs_outputs

List the outputs for a run
enhancements_list_civis_data_match_runs

List runs for the given civis_data_match
enhancements_get_cass_ncoa_runs

Check status of a run
enhancements_list_cass_ncoa_runs

List runs for the given cass_ncoa
enhancements_get_data_unification

Get a Data Unification Enhancement
enhancements_list_data_unification_projects

List the projects a container docker belongs to
enhancements_list_cass_ncoa_shares

List users and groups permissioned on this object
enhancements_list_data_unification_runs

List runs for the given data_unification
enhancements_get_civis_data_match

Get a Civis Data Match Enhancement
enhancements_list_civis_data_match_projects

List the projects a container docker belongs to
enhancements_list_civis_data_match_runs_logs

Get the logs for a run
enhancements_list_table_deduplication_projects

List the projects a container docker belongs to
enhancements_list_data_unification_shares

List users and groups permissioned on this object
enhancements_list_table_deduplication_runs

List runs for the given table_deduplication
enhancements_patch_cass_ncoa

Update some attributes of this CASS/NCOA Enhancement
enhancements_patch_civis_data_match

Update some attributes of this Civis Data Match Enhancement
enhancements_list_field_mapping

List the fields in a field mapping for Civis Data Match, Data Unification, and Table Deduplication jobs
enhancements_post_civis_data_match_cancel

Cancel a run
enhancements_patch_data_unification

Update some attributes of this Data Unification Enhancement
enhancements_list_civis_data_match_runs_outputs

List the outputs for a run
enhancements_post_table_deduplication_cancel

Cancel a run
enhancements_post_cass_ncoa_runs

Start a run
enhancements_post_table_deduplication_runs

Start a run
enhancements_post_civis_data_match

Create a Civis Data Match Enhancement
enhancements_post_cass_ncoa

Create a CASS/NCOA Enhancement
enhancements_list_civis_data_match_shares

List users and groups permissioned on this object
enhancements_post_cass_ncoa_cancel

Cancel a run
enhancements_post_civis_data_match_runs

Start a run
enhancements_patch_table_deduplication

Update some attributes of this Table Deduplication Enhancement
enhancements_post_data_unification

Create a Data Unification Enhancement
enhancements_put_civis_data_match_archive

Update the archive status of this object
enhancements_put_cass_ncoa

Replace all attributes of this CASS/NCOA Enhancement
enhancements_list_data_unification_runs_logs

Get the logs for a run
enhancements_post_data_unification_cancel

Cancel a run
enhancements_put_civis_data_match_projects

Add a container docker to a project
enhancements_put_civis_data_match_shares_groups

Set the permissions groups has on this object
enhancements_put_civis_data_match_shares_users

Set the permissions users have on this object
enhancements_put_cass_ncoa_archive

Update the archive status of this object
enhancements_list_data_unification_runs_outputs

List the outputs for a run
enhancements_put_person_matching_shares_users

Set the permissions users have on this object
enhancements_put_table_deduplication

Replace all attributes of this Table Deduplication Enhancement
enhancements_put_data_unification_shares_users

Set the permissions users have on this object
enhancements_put_person_matching_archive

Update the archive status of this object
enhancements_put_data_unification

Replace all attributes of this Data Unification Enhancement
exports_list

List
enhancements_put_data_unification_archive

Update the archive status of this object
fetch_all

Retrieve all results from a paginated endpoint
files_delete_shares_groups

Revoke the permissions a group has on this object
enhancements_put_cass_ncoa_shares_users

Set the permissions users have on this object
files_delete_shares_users

Revoke the permissions a user has on this object
fetch_and_generate_client

Fetches and generates the client in generated_client.R
enhancements_put_civis_data_match

Replace all attributes of this Civis Data Match Enhancement
files_post_multipart

Initiate a multipart upload
files_post_multipart_complete

Complete a multipart upload
fetch_logs

Fetch job logs from the Civis Platform
get_feature_importance

Get model feature importance
get_metric

Get model metrics
files_put_projects

Add a Data::S3File to a project
enhancements_put_person_matching_projects

Add a container docker to a project
enhancements_put_person_matching_shares_groups

Set the permissions groups has on this object
enhancements_list_table_deduplication_runs_logs

Get the logs for a run
files_put_shares_groups

Set the permissions groups has on this object
enhancements_list_table_deduplication_runs_outputs

List the outputs for a run
files_get

Get details about a file
groups_list

List Groups
git_repos_delete

Remove the bookmark on a git repository
fetch_oos_scores

Retrieve out of sample/fold predictions
imports_put_syncs

Update a sync
hist.civis_ml

Plot a histogram of the predicted scores or probabilities for a CivisML object
enhancements_post_data_unification_runs

Start a run
enhancements_post_table_deduplication

Create a Table Deduplication Enhancement
imports_list_files_runs_logs

Get the logs for a run
imports_list_files_runs

List runs for the given import
files_list_projects

List the projects a Data::S3File belongs to
get_error

Get error data from civis_errors
media_get_ratecards

Get a Ratecard
imports_delete_shares_groups

Revoke the permissions a group has on this object
git_repos_get

Get a bookmarked git repository
enhancements_put_table_deduplication_archive

Update the archive status of this object
enhancements_put_cass_ncoa_projects

Add a JobTypes::CassNcoa to a project
enhancements_put_cass_ncoa_shares_groups

Set the permissions groups has on this object
enhancements_put_table_deduplication_projects

Add a container docker to a project
imports_delete_syncs

Archive a sync (deprecated, use the /archive endpoint instead)
imports_post_cancel

Cancel a run
fetch_predictions

Retrieve predictions from a CivisML prediction job
media_delete_optimizations_shares_users

Revoke the permissions a user has on this object
imports_delete_shares_users

Revoke the permissions a user has on this object
imports_post_files

Initate an import of a tabular file into the platform
media_post_spot_orders

Create a spot order
imports_delete_projects

Remove a JobTypes::Import from a project
media_put_spot_orders_shares_groups

Set the permissions groups has on this object
jobs_post_trigger_email

Generate and retrieve trigger email address
enhancements_put_data_unification_projects

Add a container docker to a project
imports_get_batches

Get details about a batch import
enhancements_put_data_unification_shares_groups

Set the permissions groups has on this object
jobs_list_shares

List users and groups permissioned on this object
imports_list_runs

Get the run history of this import
files_list_shares

List users and groups permissioned on this object
git_repos_list

List bookmarked git repositories
files_post

Initiate an upload of a file into the platform
enhancements_put_table_deduplication_shares_groups

Set the permissions groups has on this object
imports_get_files_runs

Check status of a run
imports_put_archive

Update the archive status of this object
files_put_shares_users

Set the permissions users have on this object
imports_put_syncs_archive

Update the archive status of this sync
enhancements_put_table_deduplication_shares_users

Set the permissions users have on this object
jobs_delete_runs

Cancel a run
imports_list_projects

List the projects a JobTypes::Import belongs to
get_database_id

Return the database id for a given database name
media_get_spot_orders

Show a single spot order
imports_list_shares

List users and groups permissioned on this object
files_delete_projects

Remove a Data::S3File from a project
imports_delete_files_runs

Cancel a run
generate_client

Generate a client
fetch_until

Retrieve some results from a paginated endpoint
jobs_list_workflows

List the workflows a job belongs to
get_table_id

Return the table id for a given table
reports_list_services_shares

List users and groups permissioned on this object
imports_list_runs_logs

Get the logs for a run
media_delete_optimizations_shares_groups

Revoke the permissions a group has on this object
media_put_optimizations_archive

Update the archive status of this object
git_repos_post

Bookmark a git repository
get_status

Get the status from results of await
media_post_optimizations

Create a new optimization
imports_post

Create a new import configuration
models_list_schedules

Show the model build schedule
imports_post_batches

Upload multiple files to Redshift
media_delete_spot_orders_shares_groups

Revoke the permissions a group has on this object
models_delete_shares_users

Revoke the permissions a user has on this object
media_get_optimizations_runs

Check status of a run
imports_get

Get details about an import
jobs_put_shares_users

Set the permissions users have on this object
imports_post_files_runs

Start a run
media_list_optimizations_shares

List users and groups permissioned on this object
scripts_get_r_git_commits

Get file contents at commit_hash
imports_list

List
jobs_put_shares_groups

Set the permissions groups has on this object
jobs_get_runs

Check status of a job
imports_put_shares_groups

Set the permissions groups has on this object
imports_put_projects

Add a JobTypes::Import to a project
jobs_delete_projects

Remove a Job from a project
jobs_delete_shares_users

Revoke the permissions a user has on this object
jobs_get

Show basic job info
imports_put_shares_users

Set the permissions users have on this object
media_delete_spot_orders_shares_users

Revoke the permissions a user has on this object
media_put_spot_orders_shares_users

Set the permissions users have on this object
jobs_put_projects

Add a Job to a project
imports_post_syncs

Create a sync
imports_list_batches

List batch imports
media_patch_optimizations

Edit an existing optimization
media_put_optimizations_shares_groups

Set the permissions groups has on this object
match_targets_get

Show Match Target info
imports_put

Update an import
media_patch_ratecards

Update some attributes of this Ratecard
media_list_dmas

List all Designated Market Areas
imports_post_runs

Run an import
jobs_post_runs

Run a job
media_list_optimizations

List all optimizations
media_list_optimizations_runs

List runs for the given optimization
models_put_projects

Add a models to a project
media_put_ratecards_shares_groups

Set the permissions groups has on this object
media_post_optimizations_clone

Clone an existing optimization
models_get

Retrieve model configuration
match_targets_list

List match targets
notebooks_list_git_commits

Get the git commits for this Notebook
models_list

List
jobs_delete_shares_groups

Revoke the permissions a group has on this object
jobs_list

List
media_list_optimizations_runs_logs

Get the logs for a run
media_put_ratecards

Replace all attributes of this Ratecard
media_get_optimizations

Show a single optimization
notifications_list

Receive a stream of notifications as they come in
notebooks_list

List Notebooks
match_targets_patch

Update a match target
media_list_targets

List all Media Targets
notebooks_list_deployments

List deployments for a Notebook
jobs_list_parents

Show chain of parents as a list that this job triggers from
jobs_list_projects

List the projects a Job belongs to
jobs_list_children

Show nested tree of children that this job triggers
media_list_spot_orders_shares

List users and groups permissioned on this object
models_delete_shares_groups

Revoke the permissions a group has on this object
media_put_optimizations_shares_users

Set the permissions users have on this object
models_list_shares

List users and groups permissioned on this object
media_list_ratecards_shares

List users and groups permissioned on this object
media_list_spot_orders

List all spot orders
models_put_archive

Update the archive status of this object
models_put_predictions

Add a table on which to apply the predictive model
reports_delete_shares_users

Revoke the permissions a user has on this object
queries_post_runs

Start a run
media_post_optimizations_runs

Start a run
media_put_spot_orders

Edit the specified spot order
notebooks_delete

Archive a Notebook (deprecated, use archiving endpoints instead)
models_put_schedules

Schedule the model build
media_post_ratecards

Create a Ratecard
queries_get_runs

Check status of a run
media_put_ratecards_shares_users

Set the permissions users have on this object
notebooks_delete_shares_groups

Revoke the permissions a group has on this object
models_put_shares_groups

Set the permissions groups has on this object
query_civis

Run a Query on Platform
results_put_services_shares_users

Set the permissions users have on this object
media_put_spot_orders_archive

Update the archive status of this object
media_list_ratecards

List all ratecards
match_targets_post

Create a new match target
notebooks_delete_shares_users

Revoke the permissions a user has on this object
notebooks_get_git_commits

Get file contents at commit_hash
media_delete_ratecards_shares_users

Revoke the permissions a user has on this object
media_delete_ratecards_shares_groups

Revoke the permissions a group has on this object
media_delete_optimizations_runs

Cancel a run
models_get_builds

Check status of a build
models_patch

Update model configuration
projects_put

Update a project
models_list_builds

List builds for the given model
notebooks_put

Replace all attributes of this Notebook
notebooks_list_git

Get the git metadata attached to this Notebook
notebooks_list_projects

List the projects a Notebook belongs to
predictions_post_runs

Start a run
queries_get

Get details about a query
reports_put_services_shares_users

Set the permissions users have on this object
notebooks_delete_deployments

Delete a Notebook deployment
results_post_services

Create a service report
predictions_put_schedules

Schedule the prediction
remote_hosts_post_authenticate

Authenticate against a remote host using either a credential or a user name and password
reports_list_git

Get the git metadata attached to this Report
models_delete_builds

Cancel a build
models_list_types

List all available model types
models_post_builds

Start a build
notebooks_list_shares

List users and groups permissioned on this object
results_delete_grants

Revoke permission for this report to perform Civis platform API operations on your behalf
notebooks_put_archive

Update the archive status of this object
remote_hosts_list_data_sets

List data sets available from a remote host
reports_put_services_shares_groups

Set the permissions groups has on this object
notebooks_list_deployments_logs

Get the logs for a Notebook deployment
models_post

Create new configuration for a model
results_list_shares

List users and groups permissioned on this object
reports_delete_grants

Revoke permission for this report to perform Civis platform API operations on your behalf
projects_get

Get a detailed view of a project and the objects in it
notebooks_post

Create a Notebook
notebooks_put_shares_users

Set the permissions users have on this object
media_put_ratecards_archive

Update the archive status of this object
projects_list_shares

List users and groups permissioned on this object
predictions_list_schedules

Show the prediction schedule
ontology_list

List the ontology of column names Civis uses
notebooks_post_deployments

Deploy a Notebook
notebooks_post_git_commits

Commit and push a new version of the file
reports_patch_services

Update some attributes of this service report
predictions_patch

Update a prediction
reports_list

List
models_put_shares_users

Set the permissions users have on this object
notebooks_delete_projects

Remove a Notebook from a project
notebooks_put_shares_groups

Set the permissions groups has on this object
predictions_get_runs

Check status of a run
reports_delete_projects

Remove a Report from a project
models_list_builds_logs

Get the logs for a build
queries_list

List
scripts_delete_containers_shares_users

Revoke the permissions a user has on this object
remote_hosts_list

List the remote hosts
queries_put_scripts

Update the query's associated script
projects_post

Create a project
remote_hosts_post

Create a new remote host
results_list_projects

List the projects a Report belongs to
scripts_post_r_clone

Clone this R Script
results_get_services

Show a single service report
scripts_delete_javascript_runs

Cancel a run
results_post_snapshots

Generate and optionally email a snapshot of the specified report
predictions_list

List predictions
results_delete_projects

Remove a Report from a project
models_delete_projects

Remove a models from a project
projects_put_shares_users

Set the permissions users have on this object
results_post

Create a report
predictions_get

Show the specified prediction
models_list_projects

List the projects a models belongs to
refresh_table

Refresh a table
projects_put_archive

Update the archive status of this object
reports_patch_snapshots

Update the report's snapshot automation settings
scripts_list_sql_runs

List runs for the given sql
scripts_get_r_runs

Check status of a run
notebooks_post_clone

Clone this Notebook
notebooks_put_projects

Add a Notebook to a project
multipart_upload

Upload to files endpoint in parts.
scripts_get_sql_runs

Check status of a run
scripts_delete_javascript_shares_groups

Revoke the permissions a group has on this object
results_list_services_shares

List users and groups permissioned on this object
scripts_delete_javascript_shares_users

Revoke the permissions a user has on this object
notebooks_get_deployments

Get details about a Notebook deployment
publish_addin

Add in to Publish an R Markdown file to Platform Reports from RStudio
projects_list

List projects
publish_rmd

Publish an R Markdown file to Platform Reports
reports_list_shares

List users and groups permissioned on this object
predictions_delete_runs

Cancel a run
reports_delete_services_shares_groups

Revoke the permissions a group has on this object
results_list

List
scripts_delete_python3_shares_groups

Revoke the permissions a group has on this object
reports_get

Show a single report
queries_list_runs

List runs for the given query
reports_get_services

Show a single service report
plot.civis_ml_classifier

Decile plot for classification with civis_ml
scripts_delete_sql_shares_groups

Revoke the permissions a group has on this object
notebooks_put_git

Attach this Notebook to a git repo/file
projects_put_shares_groups

Set the permissions groups has on this object
notebooks_get

Get a Notebook
plot.civis_ml_regressor

Y-yhat plot for regression with civis_ml
notebooks_patch

Update some attributes of this Notebook
scripts_delete_sql_shares_users

Revoke the permissions a user has on this object
queries_list_runs_logs

Get the logs for a run
results_patch_snapshots

Update the report's snapshot automation settings
projects_delete

Archive a project (deprecated, use the /archive endpoint instead)
results_put_projects

Add a Report to a project
results_delete_services_shares_groups

Revoke the permissions a group has on this object
predictions_list_runs_logs

Get the logs for a run
queries_post

Execute a query
results_put_services_shares_groups

Set the permissions groups has on this object
scripts_get_javascript

Get a JavaScript Script
results_put_shares_groups

Set the permissions groups has on this object
notebooks_list_update_links

Get URLs to update notebook
reports_get_git_commits

Get file contents at commit_hash
reports_put_archive

Update the archive status of this object
results_put_archive

Update the archive status of this object
reports_post_snapshots

Generate and optionally email a snapshot of the specified report
results_put_shares_users

Set the permissions users have on this object
scripts_delete_python3

Archive a Python Script (deprecated, use archiving endpoints instead)
publish_html

Publish HTML to Platform Reports
scripts_post_containers_runs_logs

Add log messages
print.civis_api

Print results from a Civis API call
scripts_patch_containers

Update a container
services_delete_deployments

Delete a Service deployment
scripts_delete_r_shares_users

Revoke the permissions a user has on this object
reports_post

Create a report
reports_patch

Update a report
query_civis_file

Export results from a query to S3 and return a file id.
reports_list_snapshots

Get details about the report's snapshot automation settings
scripts_list_r_git

Get the git metadata attached to this r docker
predictions_list_runs

List runs for the given prediction
reports_put_shares_groups

Set the permissions groups has on this object
projects_delete_shares_groups

Revoke the permissions a group has on this object
scripts_delete_sql

Archive a SQL script (deprecated, use archiving endpoints instead)
scripts_post_python3

Create a Python Script
projects_delete_shares_users

Revoke the permissions a user has on this object
scripts_delete_python3_shares_users

Revoke the permissions a user has on this object
results_delete_shares_groups

Revoke the permissions a group has on this object
scripts_get_custom_runs

Check status of a run
reports_post_git_commits

Commit and push a new version of the file
scripts_delete_custom_shares_groups

Revoke the permissions a group has on this object
scripts_delete_containers_runs

Cancel a run
scripts_list_r_runs_logs

Get the logs for a run
reports_delete_shares_groups

Revoke the permissions a group has on this object
scripts_list_javascript_runs

List runs for the given javascript
scripts_list_containers_runs

List runs for the given container
results_delete_services_shares_users

Revoke the permissions a user has on this object
reports_put_git

Attach this Report to a git repo/file
results_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_javascript_projects

List the projects a scripted sql belongs to
scripts_list

List scripts
scripts_delete_custom_projects

Remove a Job from a project
scripts_delete

Archive a script (deprecated, use archive endpoints instead)
scripts_get_sql

Get a SQL script
scripts_post_python3_runs

Start a run
scripts_delete_sql_runs

Cancel a run
queries_delete_runs

Cancel a run
scripts_list_custom_projects

List the projects a Job belongs to
scripts_list_python3_runs_outputs

List the outputs for a run
scripts_list_python3_projects

List the projects a python docker belongs to
read_civis

Read a table or file from the Civis Platform as a data frame
scripts_list_containers_projects

List the projects a container docker belongs to
scripts_delete_python3_projects

Remove a python docker from a project
results_list_git

Get the git metadata attached to this Report
scripts_delete_custom_shares_users

Revoke the permissions a user has on this object
services_put_shares_groups

Set the permissions groups has on this object
reports_post_grants

Grant this report the ability to perform Civis platform API operations on your behalf
scripts_list_custom_runs_logs

Get the logs for a run
scripts_list_javascript_shares

List users and groups permissioned on this object
scripts_delete_python3_runs

Cancel a run
scripts_get_javascript_git_commits

Get file contents at commit_hash
reports_delete_services_shares_users

Revoke the permissions a user has on this object
reexports

Objects exported from other packages
reports_put_projects

Add a Report to a project
scripts_list_python3_git_commits

Get the git commits for this python docker
scripts_delete_containers_projects

Remove a container docker from a project
scripts_get_javascript_runs

Check status of a run
scripts_list_sql_runs_logs

Get the logs for a run
scripts_list_custom_runs_outputs

List the outputs for a run
results_patch

Update a report
scripts_list_r_git_commits

Get the git commits for this r docker
results_list_snapshots

Get details about the report's snapshot automation settings
reports_list_git_commits

Get the git commits for this Report
scripts_list_history

Get the run history and outputs of this script
scripts_list_python3_shares

List users and groups permissioned on this object
scripts_list_custom_shares

List users and groups permissioned on this object
scripts_get_custom

Get a Custom Script
scripts_delete_custom_runs

Cancel a run
results_list_git_commits

Get the git commits for this Report
scripts_put_r_projects

Add a r docker to a project
scripts_post_containers_runs

Start a run
scripts_post_containers_runs_outputs

Add an output for a run
reports_list_projects

List the projects a Report belongs to
scripts_post_javascript_clone

Clone this JavaScript Script
results_patch_services

Update some attributes of this service report
reports_put_shares_users

Set the permissions users have on this object
scripts_delete_containers

Archive a container (deprecated, use archive endpoints)
scripts_post_custom

Create a Custom Script
scripts_delete_sql_projects

Remove a scripts from a project
scripts_get_containers_runs

Check status of a run
scripts_patch_python3

Update some attributes of this Python Script
scripts_post_r_runs

Start a run
scripts_list_python3_git

Get the git metadata attached to this python docker
scripts_post_javascript_git_commits

Commit and push a new version of the file
scripts_put_custom_shares_users

Set the permissions users have on this object
scripts_get_sql_git_commits

Get file contents at commit_hash
results_post_grants

Grant this report the ability to perform Civis platform API operations on your behalf
scripts_get_r

Get an R Script
results_get

Show a single report
results_post_git_commits

Commit and push a new version of the file
scripts_get_python3_runs

Check status of a run
scripts_list_containers_shares

List users and groups permissioned on this object
scripts_post_r_runs_outputs

Add an output for a run
scripts_list_custom_runs

List runs for the given custom
scripts_list_custom

List Custom Scripts
reports_post_services

Create a service report
scripts_list_r_projects

List the projects a r docker belongs to
scripts_put_containers_archive

Update the archive status of this object
scripts_post_python3_clone

Clone this Python Script
scripts_get

Get details about a script
scripts_list_types

List available script types
scripts_delete_javascript

Archive a JavaScript Script (deprecated, use archiving endpoints instead)
tables_post_enhancements_table_matchings

Match person records against an arbitrary Redshift table
scripts_put_containers_projects

Add a container docker to a project
scripts_list_r_runs

List runs for the given r
services_delete_shares_groups

Revoke the permissions a group has on this object
scripts_delete_r

Archive an R Script (deprecated, use archiving endpoints instead)
scripts_delete_containers_shares_groups

Revoke the permissions a group has on this object
scripts_post_javascript_runs

Start a run
scripts_delete_custom

Archive a Custom Script (deprecated, use archiving endpoints instead)
scripts_put_javascript

Replace all attributes of this JavaScript Script
results_get_git_commits

Get file contents at commit_hash
scripts_list_sql_runs_outputs

List the outputs for a run
scripts_list_r_runs_outputs

List the outputs for a run
scripts_patch_sql

Update some attributes of this SQL script
results_put_git

Attach this Report to a git repo/file
scripts_patch_custom

Update some attributes of this Custom Script
services_list_shares

List users and groups permissioned on this object
scripts_list_sql_shares

List users and groups permissioned on this object
scripts_post_r_git_commits

Commit and push a new version of the file
scripts_post_sql_clone

Clone this SQL script
scripts_get_python3_git_commits

Get file contents at commit_hash
scripts_patch_r

Update some attributes of this R Script
scripts_delete_javascript_projects

Remove a scripted sql from a project
scripts_list_containers_runs_outputs

List the outputs for a run
scripts_list_javascript_runs_logs

Get the logs for a run
scripts_delete_r_runs

Cancel a run
scripts_post_cancel

Cancel a run
scripts_put_r_shares_groups

Set the permissions groups has on this object
scripts_delete_r_projects

Remove a r docker from a project
scripts_post_sql_git_commits

Commit and push a new version of the file
scripts_delete_r_shares_groups

Revoke the permissions a group has on this object
scripts_get_containers

View a container
scripts_list_python3_runs

List runs for the given python
scripts_post_custom_clone

Clone this Custom Script
scripts_list_javascript_git

Get the git metadata attached to this scripted sql
scripts_put_r_archive

Update the archive status of this object
scripts_list_javascript_git_commits

Get the git commits for this scripted sql
scripts_list_r_shares

List users and groups permissioned on this object
scripts_get_python3

Get a Python Script
tables_post_enhance

Run an enhancement on a table, deprecated use "POST /tables/:source_table_id/enhancements/<enhancement-type>" instead
sql_escape_ident.CivisConnection

Escape SQL identifiers.
scripts_list_containers_runs_logs

Get the logs for a run
services_delete_shares_users

Revoke the permissions a user has on this object
tables_get_enhancements_geocodings

View the status of a geocoding table enhancement
workflows_list_projects

List the projects a Workflow::Workflow belongs to
scripts_list_javascript_runs_outputs

List the outputs for a run
services_list_projects

List the projects a Service belongs to
sql_translate_env.CivisConnection

Translate R functions to their SQL (Redshift flavor) equivalent.
scripts_put_sql_git

Attach this scripts to a git repo/file
with_tempfile

Call a function with a temporary file.
scripts_put_javascript_shares_users

Set the permissions users have on this object
scripts_list_python3_runs_logs

Get the logs for a run
scripts_put_python3

Replace all attributes of this Python Script
scripts_post_sql_runs

Start a run
scripts_post_custom_runs

Start a run
scripts_list_sql_git

Get the git metadata attached to this scripts
scripts_put_sql_shares_groups

Set the permissions groups has on this object
scripts_post_javascript

Create a JavaScript Script
scripts_patch

Update a script
scripts_post_javascript_runs_outputs

Add an output for a run
scripts_post_python3_runs_outputs

Add an output for a run
templates_list_reports_shares

List users and groups permissioned on this object
scripts_put_custom

Replace all attributes of this Custom Script
scripts_post_sql

Create a SQL script
tables_post_refresh

Request a refresh for column and table statistics
scripts_post_r

Create an R Script
services_list_deployments

List deployments for a Service
templates_put_scripts_projects

Add a Template::Script to a project
services_list_tokens

List tokens
users_list

List users
scripts_patch_javascript

Update some attributes of this JavaScript Script
scripts_put_sql_archive

Update the archive status of this object
services_post_redeploy

Redeploy a Service
scripts_post_custom_runs_outputs

Add an output for a run
scripts_put_custom_archive

Update the archive status of this object
tables_post_enhancements_cass_ncoa

Standardize addresses in a table
scripts_put_sql_projects

Add a scripts to a project
scripts_put_custom_projects

Add a Job to a project
services_post

Create a Service
scripts_put_custom_shares_groups

Set the permissions groups has on this object
scripts_put_python3_shares_users

Set the permissions users have on this object
templates_delete_reports_shares_users

Revoke the permissions a user has on this object
users_get_api_keys

Show the specified API key
services_post_clone

Clone this Service
templates_list_scripts

List Script Templates
users_delete_api_keys

Revoke the specified API key
stash_local_dataframe

Stash a data frame in feather or csv format, depending on CivisML version.
scripts_put_r_git

Attach this r docker to a git repo/file
scripts_list_sql_git_commits

Get the git commits for this scripts
templates_patch_scripts

Update some attributes of this Script Template
scripts_put_r

Replace all attributes of this R Script
services_delete

Archive a Service (deprecated, use archiving endpoints instead)
scripts_put_javascript_shares_groups

Set the permissions groups has on this object
scripts_post

Create a script
scripts_list_sql_projects

List the projects a scripts belongs to
services_delete_projects

Remove a Service from a project
scripts_put_javascript_projects

Add a scripted sql to a project
services_get

Get a Service
services_list_deployments_logs

Get the logs for a Service deployment
workflows_get

Get a Workflow
tables_get_enhancements_prepared_matchings

View a prepared matching enhancement
scripts_post_containers

Create a container
scripts_post_python3_git_commits

Commit and push a new version of the file
scripts_post_run

Run a script
templates_delete_scripts_projects

Remove a Template::Script from a project
tables_list_columns

List columns in the specified table
templates_patch_reports

Update some attributes of this Report Template
scripts_put_containers

Edit a container
workflows_post

Create a Workflow
scripts_put_r_shares_users

Set the permissions users have on this object
scripts_put_python3_archive

Update the archive status of this object
templates_put_scripts_shares_groups

Set the permissions groups has on this object
services_patch

Update some attributes of this Service
scripts_put_sql

Replace all attributes of this SQL script
tables_list

List tables
workflows_list_git_commits

Get the git commits for this Workflow::Workflow
services_put_shares_users

Set the permissions users have on this object
workflows_put_archive

Update the archive status of this object
tables_get

Show basic table info
users_list_api_keys

Show API keys belonging to the specified user
tables_get_enhancements_table_matchings

View a table matching enhancement
templates_get_scripts

Get a Script Template
write_civis

Upload a local data frame or csv file to the Civis Platform (Redshift)
workflows_put_git

Attach this Workflow::Workflow to a git repo/file
users_get

Show info about a user
scripts_post_containers_clone

Clone this Container Script
templates_delete_scripts

Archive a Script Template (deprecated, use archiving endpoints instead)
services_post_tokens

Create a new long-lived service token
templates_post_reports

Create a Report Template
services_list

List Services
templates_put_scripts_shares_users

Set the permissions users have on this object
write_civis_file

Upload a R object or file to Civis Platform (Files endpoint)
workflows_delete_projects

Remove a Workflow::Workflow from a project
services_put_archive

Update the archive status of this object
users_patch_me

Update info about the logged-in user
search_list_types

List available search types
workflows_delete_shares_users

Revoke the permissions a user has on this object
services_get_deployments

Get details about a Service deployment
templates_post_scripts

Create a Script Template
workflows_list_shares

List users and groups permissioned on this object
workflows_put_shares_users

Set the permissions users have on this object
services_put_projects

Add a Service to a project
users_list_me

Show info about the logged-in user
transfer_table

Transfer a table from one location to another.
workflows_get_executions

Get a workflow execution
workflows_post_clone

Clone this Workflow
scripts_put_containers_shares_groups

Set the permissions groups has on this object
scripts_put_python3_projects

Add a python docker to a project
tables_patch

Update a table
scripts_put_python3_shares_groups

Set the permissions groups has on this object
scripts_put_javascript_git

Attach this scripted sql to a git repo/file
workflows_post_executions_resume

Resume a paused workflow execution
workflows_list_git

Get the git metadata attached to this Workflow::Workflow
templates_get_reports

Get a Report Template
workflows_post_executions_retry

Retry a failed task, or all failed tasks in an execution
templates_delete_scripts_shares_users

Revoke the permissions a user has on this object
services_post_deployments

Deploy a Service
write_chunks

Split a file into chunks of a given chunk size, returning a list of file names.
scripts_put_containers_shares_users

Set the permissions users have on this object
templates_list_reports

List Report Templates
scripts_put_javascript_archive

Update the archive status of this object
templates_delete_reports

Archive a Report Template (deprecated, use archiving endpoints instead)
scripts_put_sql_shares_users

Set the permissions users have on this object
templates_put_reports

Replace all attributes of this Report Template
templates_delete_reports_shares_groups

Revoke the permissions a group has on this object
scripts_put_python3_git

Attach this python docker to a git repo/file
search_list

Perform a search
workflows_delete_shares_groups

Revoke the permissions a group has on this object
workflows_post_executions

Execute a workflow
workflows_put_projects

Add a Workflow::Workflow to a project
tables_post

Import a file into a table
services_delete_tokens

Revoke a token by id
templates_put_reports_shares_groups

Set the permissions groups has on this object
workflows_post_git_commits

Commit and push a new version of the file
workflows_list_executions

List workflow executions
users_post_api_keys

Create a new API key belonging to the logged-in user
services_put

Replace all attributes of this Service
workflows_patch

Update some attributes of this Workflow
templates_list_scripts_projects

List the projects a Template::Script belongs to
workflows_put

Replace all attributes of this Workflow
workflows_put_shares_groups

Set the permissions groups has on this object
tables_get_enhancements_cass_ncoa

View the status of a CASS / NCOA table enhancement
tables_post_enhancements_geocodings

Geocode a table
templates_list_scripts_shares

List users and groups permissioned on this object
tables_post_enhancements_prepared_matchings

Match person records against a dynamo table prepared by Civis
workflows_post_executions_cancel

Cancel a workflow execution
templates_delete_scripts_shares_groups

Revoke the permissions a group has on this object
templates_put_reports_shares_users

Set the permissions users have on this object
workflows_list

List Workflows
templates_put_scripts

Replace all attributes of this Script Template
workflows_get_git_commits

Get file contents at commit_hash