Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
import_st fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-sikaria committed Oct 31, 2019
1 parent 9cc02c1 commit 12c32aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions R/import_st.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@
#' @return the output of the FUN function
#'
#' @examples
#' # for data on local
#' filepath = system.file("extdata", "mtcars.csv", package = "flyio")
#' data = import_st(filepath, data_source = "local")
#' \dontrun{
#' # for data on cloud
#' flyio_set_datasource("gcs")
#' flyio_set_bucket("your-bucket-name")
#' data = import_table("excel-file-on-gcs.xlsx", read_excel, dir = tempdir())
#' data = import_table("excel-file-on-gcs.geojson", dir = tempdir())
#' }

import_st <- function(file, FUN = sf::read_sf, data_source = flyio_get_datasource(),
Expand Down
5 changes: 1 addition & 4 deletions man/import_st.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 12c32aa

Please sign in to comment.