qd_raster

qd_raster(data)

Arguments

data

a tibble object resulted from qd_tidy()

Value

a tibble object with x and y coordinate of the raster matrix

Examples

qd_read("apple") %>% qd_tidy(1) %>% qd_raster()
#> QuickDraw file: apple.ndjson has been downloaded already!
#> Adding missing grouping variables: `id`
#> # A tibble: 859 x 2 #> x y #> <dbl> <dbl> #> 1 255 255 #> 2 255 255 #> 3 255 255 #> 4 255 255 #> 5 255 255 #> 6 255 255 #> 7 255 255 #> 8 255 255 #> 9 255 255 #> 10 255 255 #> # … with 849 more rows