getPM: get all real-time PM2.5 data near any location

Description Usage Arguments Value Examples

View source: R/getPM.R

Description

Query real-time PM2.5 levels near any location with a radius.

Usage

1
getPM(locationname = "New York", radius = 20, zoomlevel = 10)

Arguments

locationname

a string contains location name

radius

miles (default = 20)

zoomlevel

map zoom level (default = 12)

Value

a tibble

Examples

1
2
## Not run: getPM() #require personal token
## Not run: getPM(locationname = 'forbidden city')

jinhuali/globalPM25 documentation built on May 19, 2019, 7:16 a.m.