Posts by Décio Vieira da Rocha • 73 points
7 posts
-
0
votes0
answers43
viewsQ: Pull a list with multiple search names with Rselenium
Good evening, I’m trying to pull data from google scholar with Rselenium but I’m having a hard time getting the information from the magazines I’m looking for. Playing the code below: #Primeiro…
-
0
votes1
answer42
viewsQ: How to insert year by year into a time series graph in ggplot?
I’m running the remote ggplot(Regulation, aes(Regulation$year, Regulation$rqe)) + geom_line() + geom_point(Colour = "blue")+ Labs(title = "REGULATORY QUALITY ESTIMATOR (1996-2017)", x = "YEAR", y =…
-
1
votes1
answer258
viewsA: Turning the y-axis into a percentage
To add percentage to the y-axis, simply modify the syntax as below: CANDIDATOS_2018_LEGISLATIVO %>% group_by(DS_ESTADO_CIVIL, DS_GENERO) %>% count() %>% ggplot(., aes(x =…
-
1
votes1
answer258
viewsQ: Turning the y-axis into a percentage
Good afternoon, I have the following command which generates the following graph: CANDIDATOS_2018_LEGISLATIVO %>% group_by(DS_ESTADO_CIVIL, DS_GENERO) %>% count() %>% ggplot(., aes(x =…
-
1
votes2
answers283
viewsQ: x-axis for time series in ggplot
I have a graph with the following syntax in ggplot n <-data.frame(x = c(NEP$NEPeleitoral), y = c(NEP$`NEP parlamentar`), z = c(NEP$anoeleicao)) ggplot(n, aes(x = n$z, y = n$x)) +…
-
4
votes4
answers145
viewsQ: How to count strings from a variable
I have a variable in the database that’s like COMPOSIÇÃO DA COLIGAÇÃO : DS_COMPOSICAO DA COLIGACAO AVANTE / PDT / PODE / PMN AVANTE / PR / PV DC / PRTB / AVANTE / SOLIDARIEDADE / PRP / PATRI DC /…
rasked Décio Vieira da Rocha 73 -
0
votes1
answer48
viewsQ: Searching for specific names within lines
I have a database about parties and on one line I have a series of acronym like: PT/PSDC/PCB/PMDB. How do I select only the PMDB within those lines?
rasked Décio Vieira da Rocha 73