Learn R Programming

pluscode (version 0.1.0)

pluscode_encode: Pluscode Encoder

Description

This package retrieves a pluscode by inputting latitude and longitude

Usage

pluscode_encode(lats, lngs, precision)

Arguments

lats

A valid latitude within the range -90 to 90

lngs

A valid latitude within the range -180 to 180

precision

Options are 2, 4, 8, or 10

Examples

Run this code
# NOT RUN {
pluscode_encode(52.501450, -6.567180, 8)

# }

Run the code above in your browser using DataLab