lemis_data: Load the LEMIS database

Description Usage Arguments

View source: R/datastorr.R

Description

This function loads the LEMIS database as an out-of-memory dplyr table. It will download the latest database from the remote repo the first time you use it or if you specify a version of the database not on your computer. Available versions can be found at https://github.com/ecohealthalliance/lemis/releases

Usage

1
2
3
4
5
6
7

Arguments

version

Version number. The default will load the most recent version on your computer or the most recent version known to the package if you have never downloaded the data before. With lemis_del, specifying version=NULL will delete all data sets.

path

Path to store the data at. If not given, datastorr will use rappdirs to find the best place to put persistent application data on your system. You can delete the persistent data at any time by running lemis_del(NULL) (or lemis_del(NULL, path) if you use a different path).

local

Logical indicating if local or github versions should be polled. With any luck, local=FALSE is a superset of local=TRUE. For lemis_version_current, if TRUE, but there are no local versions, then we do check for the most recent github version.


kephelps/LEMIS documentation built on May 7, 2019, 4:40 p.m.