read_vft | R Documentation |
read_vft()
and read_taxa()
help you to read ViewFullTable and
ViewTaxonomy data from text files delivered by the ForestGEO database.
These functions avoid common problems about column separators, missing
values, column names, and column types.
read_vft(file, delim = NULL, na = c("", "NA", "NULL"), ...)
read_taxa(file, delim = NULL, na = c("", "NA", "NULL"), ...)
file |
A path to a file. |
delim |
Single character used to separate fields within a record. The
default ( |
na |
Character vector of strings to interpret as missing values. Set this
option to |
... |
Other arguments passed to |
A tibble.
Thanks to Shameema Jafferjee Esufali for inspiring the feature that
automatically detects delim
(issue 65).
readr::read_delim()
, type_vft()
, type_taxa()
.
Other functions to read text files delivered by ForestgGEO's database:
type_vft()
assert_is_installed("fgeo.x")
library(fgeo.x)
example_path()
file_vft <- example_path("view/vft_4quad.csv")
read_vft(file_vft)
file_taxa <- example_path("view/taxa.csv")
read_taxa(file_taxa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.