fmisokort: fmisokort

Description Usage Arguments Value Examples

View source: R/fmisokort.R

Description

fmisokort

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
fmisokort(
  data = NULL,
  lat = NULL,
  lon = NULL,
  color = NULL,
  quota = 500,
  profile = "driving-car",
  range = 10,
  intervals = 1,
  api_key = NULL,
  legend = FALSE,
  output = NULL,
  map = NULL,
  farver = NULL,
  background = rgb(249/255, 248/255, 224/255),
  filetype = ".png"
)

Arguments

data

Choose the data frame

lat

The name of the column in the data with the latitude coordinates.

lon

The name of the column in the data with the longitude coordinates.

color

The color of the isochrones

quota

Set the quota left on the api key

profile

Choose the profile. This is the same as the profile for openrouteservice::ors_isochrones. Default = 'driving-car'.

range

Choose the range in km for the isochrones. Defalut = 10.

intervals

Choose the number of isochrones for each coorinate. Default = 1

api_key

Set the api key

legend

Add a legend? default = FALSE

output

The name of the output (a .png file). If not specified, not outcome will b exported.

map

Add the isochrones to a map.

farver

A character vector containing colors. (default = FM colors)

background

Choose the background color

filetype

Choose the file type of the output file ("png" (= defalut), "pdf" or ".jpeg")

Value

a map

Examples

1
2
3
4
## Not run: 
fmisokort()

## End(Not run)

August-Emil/fmkort documentation built on June 7, 2020, 7:16 a.m.