Latest questions in Data Analytics

0 votes
1 answer

Different ways to write into database using R

The below functions are used to update ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
458 views
+1 vote
1 answer

Write r output into table (in database)

Use dbWriteTable () function and set overwrite ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
818 views
+1 vote
1 answer

How to setup any database connection in R?

Here is how you set up a ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
1,635 views
0 votes
1 answer

Show SQL equivalent code of dplyr code in R

show_query() translated dplyr code into sql equivalent ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,817 views
0 votes
1 answer

Error with running SQL Query:

Use below code. ofc <- dbGetQuery(db,'select * from ...READ MORE

Oct 1, 2019 in Data Analytics by anonymous
• 33,030 points
828 views
0 votes
1 answer

How to connect to mysql database from rstudio?

Connect to the database as below. install.packages("odbc") db = ...READ MORE

Oct 7, 2019 in Data Analytics by anonymous
• 33,030 points
3,413 views
+1 vote
1 answer

How to create polygons around states in leaflet?

Use addPolygons() to create polygons in a ...READ MORE

Oct 29, 2019 in Data Analytics by Cherukuri
• 33,030 points
943 views
0 votes
1 answer

How to create color functions for mappers in lealet?

Hey, Create a function using colorNumeric.Factor/bins. Then call ...READ MORE

Sep 25, 2019 in Data Analytics by anonymous
• 33,030 points
418 views
0 votes
1 answer

How to highlight polygon/hovered a region in a map?

Hey, Try this code example to highlight polygon ...READ MORE

Sep 25, 2019 in Data Analytics by anonymous
• 3,450 points
669 views
0 votes
1 answer

How to create and call groups in maps?

Groups are used to group a set ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
428 views
0 votes
0 answers

Allow user input on maps

Can anyone explain how to add controls ...READ MORE

Sep 24, 2019 in Data Analytics by ch
• 3,450 points
579 views
0 votes
1 answer

How to color categorical data markers?

Hey, Use colorFactor function. Check this example. pal <- colorFactor(c("navy", ...READ MORE

Sep 25, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,133 views
0 votes
1 answer

Save lefalet maps as html output

Use saveWidget to save the output as ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
457 views
0 votes
1 answer

Reduce markers overlapping in maps

Hey, You can either reduce the font size ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
1,827 views
0 votes
1 answer

How to add only label or popup withpout markers in a map?

Hi, @ch Use addLabelOnlyMarkers( ) to add labels ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
2,795 views
0 votes
1 answer

Hide and show labels by default in maps

Hi, You need to just add an attribute ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
1,229 views
0 votes
1 answer

Pop up always visible without clicking on the marker in leaflet

@Ch, Pop-up cannot be enabled by default. Another ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,007 views
0 votes
1 answer

Add variable size and color of circle marker depending on condition

Hey, Give conditions for color or radius within ...READ MORE

Sep 23, 2019 in Data Analytics by Cherukuri
• 33,030 points
7,056 views
0 votes
1 answer

Create markerclusters in leaflet

Hi, It's quite simple, add below snippet along ...READ MORE

Sep 23, 2019 in Data Analytics by ch
• 3,450 points
1,046 views
0 votes
1 answer

How to create icons for markers in leaflet?

Hi @ch, Create an icon use makeicon function ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
815 views
0 votes
1 answer

How to create clusers in leaflet?

Hey! Try using marker cluster. See this post, its ...READ MORE

Sep 23, 2019 in Data Analytics by anonymous
• 3,450 points
518 views
0 votes
1 answer

Difference between label and popup in addmarkers() in leaflet

Hey, its quite simple. Label in leaflet displays ...READ MORE

Sep 20, 2019 in Data Analytics by rajitha
1,950 views
+1 vote
1 answer

map data not yet available

It could be due to the limited ...READ MORE

Oct 15, 2019 in Data Analytics by anonymous
• 33,030 points
1,335 views
0 votes
0 answers

Add multiple maps over each other

How to multiple layers of maps over ...READ MORE

Sep 19, 2019 in Data Analytics by anonymous
• 33,030 points
607 views
0 votes
1 answer

How to save leaflet object as an image?

Yes, you can save leaflet objects as ...READ MORE

Oct 28, 2019 in Data Analytics by Cherukuri
• 33,030 points
4,942 views
0 votes
0 answers

fix the map area using leaflet and use ggplot

I created a map using leaflet and ...READ MORE

Sep 18, 2019 in Data Analytics by anonymous
• 33,030 points
491 views
0 votes
1 answer

How to add legend or any text on the map in leaflet?

See below example, > p = colorFactor(palette = ...READ MORE

Oct 28, 2019 in Data Analytics by anonymous
• 33,030 points
8,437 views
0 votes
1 answer

Navigate from one page to another using R

Use the below functions for navigating between ...READ MORE

Oct 14, 2019 in Data Analytics by anonymous
• 33,030 points
729 views
0 votes
1 answer

Download file from website using web scraping

Hi, Follow the below steps: 1. Use rvest package ...READ MORE

Sep 20, 2019 in Data Analytics by rishabh
5,688 views
0 votes
1 answer

How to add external markers in maps?

Use external markers by creating icons using ...READ MORE

Oct 14, 2019 in Data Analytics by Cherukuri
• 33,030 points
654 views
0 votes
1 answer

plot map points from a dataframe

Hi Peter, Use below code. leaflet(df) %>% addTiles() %>% ...READ MORE

Sep 17, 2019 in Data Analytics by priya
736 views
0 votes
1 answer

Check if a website permits web scraping - R

Vinutha, While doing web scraping its necessary ...READ MORE

Sep 17, 2019 in Data Analytics by aditya
1,893 views
0 votes
1 answer

How to provide xpath value for web scraping?

Hey Karthik, XPath uses path expressions to select ...READ MORE

Sep 18, 2019 in Data Analytics by anonymous
• 33,030 points
765 views
0 votes
1 answer

update dataframe automatically

Hi Gavin, Try web scraping to download the ...READ MORE

Sep 18, 2019 in Data Analytics by anonymous
• 33,030 points
780 views
0 votes
1 answer

How to convert a dataframe into json data?

Hi, kalyan. Use toJSON function from jsonlite package. ...READ MORE

Sep 24, 2019 in Data Analytics by Cherukuri
• 33,030 points
2,192 views
0 votes
1 answer

Differences between html_nodes( ) and html_node( )?

Pallava, both the functions return nodes from ...READ MORE

Sep 17, 2019 in Data Analytics by rajeev
1,938 views
0 votes
1 answer

Read table from webpage and convert it into dataframe

Hi Kalyan, Use html_table to create tables from ...READ MORE

Sep 17, 2019 in Data Analytics by prajwal
1,393 views
+1 vote
2 answers

web scraping on Tripadvisor's review

Hi, I used the below code to ...READ MORE

Sep 16, 2019 in Data Analytics by Cherukuri
• 33,030 points
3,872 views
0 votes
2 answers

how to convert a data frame into a list in R

Convert whole data frame into a list?? ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,030 points
979 views
0 votes
0 answers

SVM model in R

What is svm model? How to use ...READ MORE

Sep 3, 2019 in Data Analytics by ratna
446 views
0 votes
1 answer

help with calculation

Hi Karthik, use pmap( ) to find ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,030 points
349 views
0 votes
0 answers

Error installing mailR package.

Error installing mailR package. Below error in console. ...READ MORE

Sep 3, 2019 in Data Analytics by nitya
750 views
0 votes
1 answer

How to use mailR package?

Hi Prarthana, Install mailR and load the package. install.packages("mailR", ...READ MORE

Sep 4, 2019 in Data Analytics by anonymous
• 33,030 points
1,714 views
0 votes
1 answer

provide a delay to call function in r

Hi, Mehareen slowly() takes a function and modifies ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
415 views
0 votes
1 answer

Convert nested list to hclusters in R

Hi Kajal, I don't its possible to create ...READ MORE

Sep 2, 2019 in Data Analytics by anonymous
• 33,030 points
606 views
0 votes
1 answer

R - convert tree to nested list

Hi Akshay, To convert data.tree structure to a list-of-list ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
802 views
0 votes
0 answers

Convert nested list to dendogram - R

How to convert nested lists to dendrogram? ...READ MORE

Aug 30, 2019 in Data Analytics by ramya
516 views
0 votes
1 answer

How to create a tree like structure from R list/vector?

Hi, puja. Use below function to create a ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
722 views
0 votes
1 answer

Convert hclusters to tree in R

Hi Kalyan, 1. Create hcluster using hclust for example, object <- ...READ MORE

Aug 30, 2019 in Data Analytics by anonymous
• 33,030 points
605 views