Learn R Programming

webdeveloper (version 1.0.5)

Functions for Web Development

Description

Organizational framework for web development in R including functions to serve static and dynamic content via HTTP methods, includes the html5 package to create HTML pages, and offers other utility functions for common tasks related to web development.

Copy Link

Version

Install

install.packages('webdeveloper')

Monthly Downloads

232

Version

1.0.5

License

GPL (>= 2)

Maintainer

Timothy Conwell

Last Published

October 18th, 2022

Functions in webdeveloper (1.0.5)

parseHTTP

Parse a HTTP request
parseMultiPartFormData

Parse multi-part form data
parseMultiPartFormParams

Helper function for parseMultiPartFormData
templateVar

Create a string to use as a placeholder variable in a HTML document.
serveHTTP

Conveniently create HTTP server using httpuv::startServer() or httpuv::runServer().
idParseSuffix

Remove a suffix from an id
parseQueryString

Parse a query string
parseContentTypeHeader

Parse the content type header string to return the content type and boundary
idAddSuffix

Add a suffix to an id
findTemplateVars

Find the names of any placeholder variables that exist in a HTML document string.
idParseAffixes

Remove a prefix and suffix from an id
dynamicTemplate2

Replace placeholder variables in a HTML document string, after reading the file into R.
idAddAffixes

Add a prefix and suffix to an id
idAddPrefix

Add a prefix to an id
create_options

Creates HTML option tags for each position of a list of values and labels by calling HTML5::option(), returning a string of HTML to pass to a select tag through HTML5::select().
dynamicTemplate

Replace placeholder variables in a HTML document string.
idParsePrefix

Remove a prefix from an id
endServer

Stop HTTP server(s) by calling httpuv::stopServer() or httpuv::stopAllServers().