Displaying 5 results from an estimated 5 matches for "example_5".
Did you mean:
example5
2015 Jul 27
2
Error sql en función
...Gracias y saludos.
On Mon, 27 Jul 2015 12:45:50 +0200
Carlos Ortega <cof en qualityexcellence.es> wrote:
> Hola,
>
> Mira la página de "sqldf" en GitHub, viene un ejemplo, entre otras muchas
> cosas, que lo explica:
>
> https://github.com/ggrothendieck/sqldf#Example_5._Insert_Variables
>
> #------------------------------
> # 5
> minSL <- 7
> limit <- 3
> fn$sqldf('select * from iris where "Sepal.Length" > $minSL limit $limit')
> #------------------------------
>
> Saludos,
> Carlos Ortega
> www.qualit...
2015 Jul 27
2
Error sql en función
Hola:
No consigo que la función sqldf () funcione dentro de una función. Alguien puede echarme una mano. En resumen, el problema es que cuando lo ejecuto fuera de una función no tengo ningún problema:
==========================
> # install.packages("sqldf")
> library(MASS)
> library (sqldf)
> data(Aids2, package="MASS")
> options(digits=3)
> table
2013 Jan 14
1
sqldf package: using variables in where condition
Sent from my iPhone
On Jan 13, 2013, at 9:47 PM, ravsre <ravishree51 at hotmail.com> wrote:
> I am trying to use the sqldf package to create independent data frames from a
> master dataframe.
> I want to use sqldf package and perform a simple select statement. However,
> what I want to do is to create a loop and repeatedly send a variable to the
> where clause condition
2012 Jul 11
2
Passing Multiple Variable Into SQLDF Statement as parameters of function
Hey guys,
So I'm working with a project where I manage a database within R, and I'm
developing a script/function that will automatically run my queries in R
depending on the date parameters passed in.
The problem is that when I create variables for the dates, and use those
variables in my sqldf statements, R says that there is no such column in the
dataframe (which is true!). My question
2012 Nov 23
3
read.csv.sql() to select from a large csv file
Dear list,
Dear list,
I am using read.csv.sql() from the sqldf package to read
individual-based data from a csv file that is too large for R.
My original file contains a column called “ID” that
identifies the individual. I would like to read in data for only
one individual at a
time, for example "Bobby".
read.csv.sql("filename",sql = 'select * from file where ID =