Description Usage Arguments Value Author(s) See Also Examples
This is a wrapper of API result parsers for google, baidu and gaode map. 
It can serve as a subsequent handler to convert 'raw' results yielded
using revgeocode() to a structured data.frame.
1 2  | parse_revgeocodes(rgclst, output = c("address", "addressc", "all"),
  gcs = NULL, idf = TRUE, ...)
 | 
rgclst | 
 a list comprising of lists of class 'google_revgeocode', 'baidu_revgeocode' or 'gaode_revgeocode', subclasses of 'api_data'.  | 
output | 
 character, 'address', 'addressc', or 'all'. Default 
'address'. Refer to   | 
gcs | 
 character, the geo-coordinate system for output. 'WGS-84', 'GCJ-02', or 'BD-09'. Default NULL, which indicates that no coordinate conversion will be conducted on the results.  | 
idf | 
 logical, whether generate an identifier column 'idf' in the output. Default TRUE.  | 
... | 
 optional arguments. Generic args: 
 API-specific args: 
  | 
a tibble
Yiying Wang, wangy@aetna.com
parse_api_data(), revgeocode(),
geocode(), parse_geocodes();
geohost(), parse_geohosts();
1 2 3 4 5  | ## Not run: 
rgc <- revgeocode(c(<lat1>, <lon1>), api='google', output='raw')
parse_revgeocodes(rgc, output='all')
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.