Posts by aguch • 39 points
8 posts
-
1
votes0
answers304
viewsQ: Pass parameter in URL
I am using the code below to search in google latitude and longitude based on the address, I would like to know how to pass to the URL the address in parameter form? The code below works perfectly,…
-
0
votes1
answer188
viewsQ: Search error cep invalido
I am trying to make an application to query a list of cep’s that I have, but when ex: cep=40717000 does not exist is displayed an error and I can’t proceed to the next record of the table, can…
-
0
votes1
answer38
viewsQ: Work with two cursors on the same connection
I need to read two tables in the database in order to compare them later, the code I did this giving error, because I am going through two queries in the same connection how could I be correcting…
python-3.xasked aguch 39 -
0
votes2
answers709
viewsQ: double for with python
Good evening. Staff made the connection to the database and I need to compare two tables tab1 and tab2 so that the external "for" fixes the first line of "tab1" in the zero column and "for" internal…
python-3.xasked aguch 39 -
0
votes1
answer231
viewsQ: SQL Server - count records by combination
I am needing to make a query in sql server so that it identifies to me when combinations 1,2 and 3 or 2 and 3 of the "desc" column are present for repeated values of the "Cod" column the result…
sql-serverasked aguch 39 -
0
votes1
answer48
viewsQ: Replace double for with double lapply
Personal I am trying to replace my code that has double for by one with double lapply in order to optimize the program since the r works matrix, this functional in this way: k<-1 for(i in…
-
0
votes2
answers98
viewsA: Language R - Use of function to prevent code repetitions
k<-1 for(i in 1:nrow(tabela1)){ print(k) for(j in 1:nrow(tabela2)){ if(is.na(tabela1$col1[i]) && tabela1$col2[i]=="xx" && isTRUE(tabela2$col3[j]==tabela1$col3[i]) &&…
-
2
votes2
answers98
viewsQ: Language R - Use of function to prevent code repetitions
Staff I am developing a program in R language, the same compares data from two data.frame and writes in a third, the program presents several conditional structures of the type else if within two…