get_fulcrum: Fetches Data from Fulcrum.app and Formats Them for Use in...

Description Usage Arguments Value Author(s) Examples

View source: R/get_fulcrum.R

Description

Fetch and clean Fulcrum data from USQ/DAFQ in-paddock surveys of crop disease incidence and other related notes for reporting.

Usage

1
get_fulcrum(fulcrum_url = NULL, locations_only = FALSE)

Arguments

fulcrum_url

A url provided by https://www.fulcrumapp.com/ for sharing a 'CSV' format file of Fulcrum data

locations_only

Boolean. If TRUE, return locations surveyed along with location and crop metadata but no disease observations. Defaults to FALSE.

Value

A sf object of Fulcrum survey data projected into Australia Albers for mapping

Author(s)

Sparks, Adam H. adam.sparks@usq.edu.au

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
# using a URL set in the .Renviron, get data from Fulcrum
x <- get_fulcrum()

## End(Not run)
## Not run: 
# fetch only location information with no disease data
x <- get_fulcrum(locations_only = TRUE)

## End(Not run)

## Not run: 
# specify a url to get data from Fulcrum
x <- get_fulcrum(fulcrum_url = "https://web.fulcrumapp.com/shares/########.csv")

## End(Not run)

adamhsparks/fulcrum documentation built on Nov. 19, 2019, 4:49 a.m.