Description Usage Arguments Value Author(s) References See Also Examples
Retrieves a list of all field names that can be used with data retrieval functions
1 2 3 | ala_fields(fields_type = "occurrence", as_is = FALSE)
field_info(field_id, maxrows = 50, record_count_only = FALSE)
|
fields_type |
text: one of the following
|
as_is |
logical: if FALSE, apply ALA4R's renaming of fields for consistency across functions. If TRUE, leave the field names as they are returned from the ALA web service |
field_id |
text: id of environmental/contextual layer field for which to look up information Prepend "el" for "environmental" (gridded) layers and "cl" for "contextual" (polygonal) layers |
maxrows |
integer: maximum number of records to
download. Some contextual layers (those with
|
record_count_only |
logical: if TRUE, return just the count of records that would be downloaded, but don't download them. This really only makes sense for contextual layers, because environmental layers have only one record per layer |
If record_count_only
is TRUE, the number of records
is returned as numeric. Otherwise, a data frame containing
the field name and various attributes; an empty data frame
is returned if no match is found
Atlas of Living Australia support@ala.org.au
ALA web service API: http://api.ala.org.au/
Descriptions of the spatial layers: http://spatial.ala.org.au/layers/
search_layers
to search for spatial layers
1 2 3 4 5 6 7 8 | l=ala_fields("layers")
l[,4]
o=ala_fields("occurrence")
o[1:13,]
a=ala_fields("assertions")
a[,5]
field_info("cl22")
field_info("el773")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.