From c8583b9057c3b6e2fec52702b853883d9835464a Mon Sep 17 00:00:00 2001 From: hrodmn Date: Tue, 5 Mar 2024 19:32:41 -0600 Subject: [PATCH] update README with file_dir notes --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed6d966..4fd729a 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,20 @@ FIADB that correspond to an area of interest represented by a geospatial object in R (class `sf`) or a list of state abbreviations (e.g. `c("CA", "NV")`). To get started you can simply run this example command to get the FIA tables for -the state of Minnesota: +the state of Minnesota. ```r mn_data <- tidyFIA::tidy_fia( states = "MN", - postgis = TRUE + postgis = FALSE, + file_dir = tempdir() # replace this with any normal directory to cache downloaded files! ) ``` +By default, state-wise zip files will be downloaded from the FIA datamartto the +R temporary directory(`tempdir()`) but you can specify them to be downloaded +to any directory which makes it possible to use files downloaded during a previous +R session. + ## Database [NCX](https://ncx.com) is hosting a clone of FIADB data in a PostGIS database and you are welcome to use it!