showClusters: Clustering of Point Data

Description Usage Arguments Value Examples

Description

This function allows you to visualize an input point data file (as a CSV) on top of a basemap, as point clusters. As one zooms in, specific data points are revealed with their particular locations. You may additionally select a field to use for popups on the points, so the map becomes interactive. NOTE: the fields for latitude and longitude (coordinates to plot the points) must be labeled as "lat" and "lon" in your input CSV file (without the quotation marks)

Usage

1
showClusters(dataset, field)

Arguments

dataset

Path to CSV file used as input

field

Optional field that will enable informational popups upon hover (note that if no field is desired as input, an empty set of quotations must be specified (e.g., " "))

Value

A map of the points clustered based on proximity

Examples

1
showClusters(dataset = "../data/food.csv", field = STORE_NAME)

martabc/pointvis documentation built on May 24, 2019, 5:07 a.m.