knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of lfcdata
R package is to provide access to the
Laboratori Forestal CatalĂ public databases.
You can install the released version of lfcdata from GitHub with:
# install.packages("remotes") remotes::install_github("MalditoBarbudo/lfcdata", ref = "master", build_vignettes = TRUE)
And the development version from GitHub with:
# install.packages("remotes") remotes::install_github("MalditoBarbudo/lfcdata", ref = "staging", build_vignettes = TRUE)
A quick glance on the current availbale databases. See vignette(package = 'lfcdata')
to
get a more detailed explanation of each db as well as their tables and variables.
library(lfcdata) library(dplyr) nfidb <- nfi() nfidb nfidb |> nfi_get_data('plot_nfi_4_results', spatial = TRUE) |> select(geometry, density, basal_area) |> plot()
allometriesdb <- allometries() allometriesdb allometriesdb |> allometries_get_data('allometries')
lidardb <- lidar() lidardb lidardb |> lidar_get_data('lidar_provinces', 'AB') |> plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.