# Introduction To install this package you can use the code below:

devtools::install_github('mubhu398/lab5G26',build_vignettes = TRUE)

Import

    library(lab5G26)

Methods

To start with, we can use the initialize the class to input city name to get corridnates.

example <- geocode("Stockholm")
example$getCoordinate()

The geocode() is an initialize method for this lab assignment we create a package that connect to API and comptute coordinates longitude and latitude form user given input.

The getCoordinate() method can print out the cooridantes like Longitude and Latitude and city name.



mubarak27/lab5G26 documentation built on Nov. 22, 2019, 12:06 a.m.