Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to submit new analyses for Achilles (which SQL flavor to code) #33

Closed
vojtechhuser opened this issue Oct 28, 2014 · 2 comments
Closed

Comments

@vojtechhuser
Copy link
Contributor

In Achilles.sql file thare are many analyses. (most likely in SQL server flavor) (or what flavor exactly)
These get translated to postgres flavor using R package.

I would like to contribute new analyses. Probably some semi-final SQL code that gets incorporated by core developer.

For authoring new analyses, in which sql flavor should I author them?
(I need rounding of real number to integer and then to multiple of 5)
e.g., 21 rounded to 20
7 rounded to 5
6.3 rounded to 5

so it will be like x- (x % 5) (modulo function)

How sophisticated is the flavor translation?

@fdefalco
Copy link
Contributor

Unfortunately you would have to dig through the guts of SQLRender to get a feel for the sophistication of the flavor translation right now. I would suggest looking at the existing queries in the Achilles for some indication of what it is capable of today.

The 'template' SQL format we use is closest to the MS SQL Server T-SQL implementation so I would advise authoring in the same format.

@t-abdul-basser
Copy link
Contributor

Asked and answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants