occurrences_plot: Quick geographic plot of occurrence data

Description Usage Arguments Value Author(s) References Examples

View source: R/occurrences_plot.R

Description

Generates a plot of occurrence data retrieved using occurrences.The plot uses an Australian basemap and colours the occurrence records dots according to parameters

Usage

1
2
occurrences_plot(x, filename = "Rplots.pdf", qa = c("fatal", "error"),
  grouped = FALSE, taxon_level = "species", pch, cex = 0.75, ...)

Arguments

x

list: a list object that has been downloaded using occurrences

filename

string: name of file to be created; defaults to RPlots.pdf

qa

string vector: list of record issues to be mapped; these can be assertion columnnames, or 'all' or 'none' or any combination of 'error', 'warning' or 'fatal'. Column or categories in your dataset can be viewed using check_assertions.

grouped

logical: TRUE creates a single plot for all observations; FALSE plots individual maps for the taxon level defined.

taxon_level

string: taxonomic level at which to create maps; possible values are 'species', 'genus', 'family' or 'order'

pch

single number or character representing point type. See description of pch in points.

cex

numeric: character (or symbol) expansion. See description of cex in points.

...

: other options passed to pdf()

Value

Generates a pdf that maps the distributions.

Author(s)

Atlas of Living Australia support@ala.org.au

References

http://api.ala.org.au/

Examples

1
2
3
4
5
6
7
8
## Not run: 
#download some observations
x=occurrences(taxon="Eucalyptus gunnii",download_reason_id=10)
occurrences_plot(x)
x=occurrences(taxon="Cider Gum",download_reason_id=10)
occurrences_plot(x,"alaPlot.pdf",qa="fatal",grouped=FALSE, taxon_level="species",pch='+')

## End(Not run)

jjvanderwal/ALA4R documentation built on May 19, 2019, 11:40 a.m.