Package: modelc Title: A Linear Model to 'SQL' Compiler Version: 1.0.0.0 Authors@R: person("Sparkfish Analytics", role=c("cph")) person(given = "Hugo", family = "Saavedra", email = "analytics+hugo@sparkfish.com", role = c("aut", "cre")) Description: This is a cross-platform linear model to 'SQL' compiler. It generates 'SQL' from linear and generalized linear models. Its interface consists of a single function, modelc(), which takes the output of lm() or glm() functions (or any object which has the same signature) and outputs a 'SQL' character vector representing the predictions on the scale of the response variable as described in Dunn & Smith (2018) and originating in Nelder & Wedderburn (1972) . The resultant 'SQL' can be included in a 'SELECT' statement and returns output similar to that of the glm.predict() or lm.predict() predictions, assuming numeric types are represented in the database using sufficient precision. Currently log and identity link functions are supported. License: MIT + file LICENSE URL: https://github.com/sparkfish/modelc BugReports: https://github.com/sparkfish/modelc/issues Encoding: UTF-8 Suggests: testthat (>= 2.1.0) RoxygenNote: 7.1.0 Repository: https://sparkfish.r-universe.dev Date/Publication: 2020-06-18 19:06:14 UTC RemoteUrl: https://github.com/sparkfish/modelc RemoteRef: HEAD RemoteSha: 2f6a779e2349ac49898fff749dffbf0ad12d40cb NeedsCompilation: no Packaged: 2026-09-16 08:00:21 UTC; root Author: Hugo Saavedra [aut, cre] Maintainer: Hugo Saavedra