count_fp <- system.file("count.pbf", package = "arcpbf")
oid_fp <- system.file("ids.pbf", package = "arcpbf")
tbl_fp <- system.file("small-table.pbf", package = "arcpbf")
fc_fp <- system.file("small-points.pbf", package = "arcpbf")
# count response
count_raw <- open_pbf(count_fp)
process_pbf(count_raw)
# object id response
oid_raw <- open_pbf(oid_fp)
head(process_pbf(oid_raw))
# table feature collection
tbl_raw <- open_pbf(tbl_fp)
process_pbf(tbl_raw)
# feature collection with geometry
fc_raw <- open_pbf(fc_fp)
process_pbf(fc_raw)
Run the code above in your browser using DataLab