MazamaWebUtils v0.1.7

0

Monthly downloads

0th

Percentile

Utility Functions for Building Web Databrowsers

A suite of utility functions providing standardized functionality often needed in web services including: logging, cache management and parsing of http request headers.

Readme

CRAN\_Status\_Badge Downloads Build Status

MazamaWebUtils

A suite of utility functions providing standardized functionality
often needed in web services including: logging, cache management
and parsing of http request headers.

Background

The MazamaWebUtils package was created by MazamaScience to regularize our work building R-based web services.

The main goal of this package is to create an internally standardized set of functions that we can use in various web-data projects. Areas of functionality supported by this package include:

  • python style logging
  • cache management
  • CGI request parsing
  • generation of HTTP response headers

Installation

Install from CRAN with:


Install the latest version from GitHub with:

``` devtools::install_github('mazamascience/MazamaWebUtils')

This project is supported by Mazama Science.

Functions in MazamaWebUtils

Name Description
logger.setLevel Set Console Log Level
manageCache Manage the Size of a Cache
logger.warn Python-Style Logging Statements
logger.fatal Python-Style Logging Statements
logger.error Python-Style Logging Statements
logger.setup Set Up Python-Style Logging
logger.trace Python-Style Logging Statements
initializeLogging Initialize Standard Log Files
cgiRequest Create a CGI Request Object
logger.info Python-Style Logging Statements
logger.debug Python-Style Logging Statements
httpResponse.contentType Create a Content Type String
logLevels Log Levels
httpResponse.header Create a HTTP Response Header
stopOnError Error Message Translator
No Results!

Last month downloads

Details

Type Package
License GPL-3
URL https://github.com/MazamaScience/MazamaWebUtils
BugReports https://github.com/MazamaScience/MazamaWebUtils/issues
Encoding UTF-8
LazyData true
RoxygenNote 6.1.0
NeedsCompilation no
Packaged 2018-09-27 21:34:48 UTC; jonathan
Repository CRAN
Date/Publication 2018-09-29 19:50:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/MazamaWebUtils)](http://www.rdocumentation.org/packages/MazamaWebUtils)