Notebook Viewer in RStudio errors when viewing a geoarrow_vctr
Opened this issue · 0 comments
paleolimbot commented
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(arrow, warn.conflicts = FALSE)
library(geoarrow)
bucket <- s3_bucket("voltrondata-public-datasets")
ds <- open_dataset(bucket$path("phl-parking"))
ds %>%
head() %>%
collect()
#> # A tibble: 6 × 13
#> anon_ticket_number issue_datetime state anon_plate_id division location
#> <int> <dttm> <chr> <int> <int> <chr>
#> 1 39985 2011-12-31 21:17:00 PA 1606959 NA 832 N 40T…
#> 2 41812 2011-12-31 21:54:00 PA 503820 NA 7200 N 19…
#> 3 41814 2011-12-31 21:45:00 PA 1102245 NA 7900 PROV…
#> 4 46288 2011-12-31 20:09:00 NJ 427139 NA 450 N 6TH…
#> 5 46289 2011-12-31 20:10:00 NJ 308463 NA 448 N 6TH…
#> 6 46290 2011-12-31 20:12:00 PA 1585402 NA 446 N 6TH…
#> # … with 7 more variables: violation_desc <chr>, fine <dbl>,
#> # issuing_agency <chr>, gps <lgl>, zip_code <int>, geometry <grrw_pnt>,
#> # year <int>
(Except in in RStudio Notebook I get:
Error in wk_handle.geoarrow_vctr(handleable, wkt_format_handler(precision = precision, :
`` is an external pointer to NULL