Posts by Natalia Soares • 81 points
5 posts
-
0
votes1
answer85
viewsQ: How to return a number as if it were a date?
Receive the date in the dd/mm/yyyy text format and return the date in the yyyymmdd number format (example: take "05/10/1983" and return 19831005). But it presented an error in the syntax. def…
-
1
votes1
answer1846
viewsQ: Language R: How to get scientific numbers out of graphs?
data frame taken from this command in the database: mes = base_final %>% group_by(mes)%>% summarise(soma_trs = sum(valor_trs)) dataframe mes <- data.frame(mes=c ("agosto/2017" ,…
-
2
votes3
answers1276
viewsQ: A: Creating a new variable using if and Else
I’m with a base of 9 million lines. I’m trying to make a new variable called base$trs_localidade using the variable base$iso_pais being: base$iso_pais<- c( '076', '840', '076','442' , '052' ,…
-
2
votes3
answers121
viewsQ: How to exclude a specific row from a base in R
I’m validating a base on R and I’ve identified some lines that don’t make sense so I’ll have to exclude some of them. What is the best way to delete lines containing 'N', 'P' and 'K' from the…
rasked Natalia Soares 81 -
2
votes2
answers349
viewsQ: Import csv - 18 million lines in R
How to import a base of 20 million lines with 24 variables. There are two variables that are string. The base is importing these two variables as Numeric and excluding the zeros at the beginning. I…