export: Export content to target

Description Usage Arguments Details Value

View source: R/export.R

Description

Determine the type and dispatch to that method to produce files to serve up as the final viz

This returns the target location to write the page to, in its current form this is a single page, but may result in a list of pages named according to different formats (tags, media type, language, etc.)

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export(viz)

## S3 method for class 'page'
export(viz)

## S3 method for class 'img'
export(viz)

## S3 method for class 'ico'
export(viz)

## S3 method for class 'svg'
export(viz)

## S3 method for class 'js'
export(viz)

## S3 method for class 'css'
export(viz)

## S3 method for class 'resource'
export(viz)

## S3 method for class 'thumbnail'
export(viz)

Arguments

viz

object to export

Details

Currently the publish phase is responsible for exporting, but this could be separated in the future.

Value

location to export or NULL if export shouldn't take place


USGS-VIZLAB/vizlab documentation built on July 10, 2019, 12:08 a.m.