Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Nov 28, 2023
1 parent 1f7f70e commit b36fb53
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
14 changes: 14 additions & 0 deletions r/R/dev.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# library(serdesri)
#
# url <- "https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/ACS_Population_by_Race_and_Hispanic_Origin_Boundaries/FeatureServer/2/query?where=1=1&outFields=objectid&resultRecordCount=10&f=json"
#
# req <- httr2::request(url)
# resp <- httr2::req_perform(req)
# json <- httr2::resp_body_string(resp)
#
# stream <- parse_esri_json_str(json, 2)
# stream
#
# df <- as.data.frame(stream)
#
# str(df, 1)
2 changes: 1 addition & 1 deletion r/src/rust/Cargo.lock

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

4 changes: 2 additions & 2 deletions r/src/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = 'serdesri'

[dependencies]
arrow = { git = "https://github.com/apache/arrow-rs", rev="fbbb61d94282165f9bb9f73fb4d00a3af16d4aee"}
arrow_extendr = { path = "../../../arrow-extendr" }
arrow_extendr = { path = "../../../../arrow-extendr" }
extendr-api = '*'
serde_esri = { path = "../../../rust/serde_esri", version = "0.1.0", features = ["geoarrow"] }
serde_esri = { path = "../../../", version = "0.1.0", features = ["geoarrow"] }
serde_json = "1.0.108"
1 change: 0 additions & 1 deletion r/src/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use serde_esri::{
use arrow_extendr::to::IntoArrowRobj;
// use arrow::record_batch::RecordBatch;


#[extendr]
/// @export
fn parse_esri_json_str(str: &str, n_dim: i32) -> Robj {
Expand Down

0 comments on commit b36fb53

Please sign in to comment.