get_dataset_from_url: Get a data set from a URL

Description Usage Arguments Value Examples

View source: R/get_dataset_from_url.R

Description

Download and import a data set from a URL. This function assumes that the URL points to a zip archive.

Usage

1

Arguments

x

character URL containing data to download and import.

force

logical If the argument to x contains a data set that is greater than 100 Mb in size, should the data set still be downloaded?.

Value

tibble or sfc object.

Examples

1
2
3
4
5
url <- paste0("https://datagovau.s3.amazonaws.com/bioregionalassessm",
              "ents/LEB/PED/DATA/Resources/Other/110_Context_statement",
              "NTGAB_Selected_Wetlands/062801f2-dcf9-4a2d-b65b-52f20d4",
              "da721.zip")
dataset <- get_dataset_from_url(url)

AU-BURGr/ozdata documentation built on Oct. 7, 2021, 6:38 a.m.