Posts by RodGreg • 69 points
3 posts
-
0
votes0
answers23
viewsQ: Keep the original class of a value imported from SQL to R
I imported a table from an SQL database, but R is automatically converting the values from a column of character for num and I need him to preserve them in class character. It seems that this occurs…
-
1
votes2
answers100
viewsQ: Correctly convert value into scientific notation for text in R
I am a bit aimless with a problem with my data frame. Below a table of an SQL server and one of the columns brings the numbers of each process. This value is a long numerical sequence that R…
-
5
votes1
answer35
viewsQ: How to check if a value is contained in another list
I need to check if the value of a column is contained in a list and, if it is, copy its value to a third column. Let’s take the example: df <- data.frame(Nome = c("Maria", "Pedro",…