# Google BigQuery: Import fails with Error : No method asJSON S3 class: wk\_vctr error

**URL:** <https://community.exploratory.io/t/google-bigquery-import-fails-with-error-no-method-asjson-s3-class-wk-vctr-error/2275>\
**Category:** Issues\
**Created:** [January 10, 2023, 9:11pm UTC](https://community.exploratory.io/t/google-bigquery-import-fails-with-error-no-method-asjson-s3-class-wk-vctr-error/2275 "2023-01-10T21:11:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hide\_Kojima1](https://community.exploratory.io/user_avatar/community.exploratory.io/hide_kojima1/32/398_2.png) [@Hide\_Kojima1](https://community.exploratory.io/u/Hide_Kojima1)\
**Post date:** [January 10, 2023, 9:11pm UTC](https://community.exploratory.io/t/google-bigquery-import-fails-with-error-no-method-asjson-s3-class-wk-vctr-error/2275/1 "2023-01-10T21:11:16Z")

</div>

When you try to import data from Google BigQuery, it fails to import data when your SQL query contains GEOGRAPHY data type columns and you might get the below error.

```r
Error : No method asJSON S3 class: wk_vctr

```

To work around this, you want to use the below functions in your SQL query.

- ST\_X(GEOPOINT\_COL) AS longitude
- ST\_Y(GEOPOINT\_COL) AS latitude

ref: [Geography functions &nbsp;|&nbsp; BigQuery &nbsp;|&nbsp; Google Cloud](https://cloud.google.com/bigquery/docs/reference/standard-sql/geography_functions)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Cachat\_PhD](https://community.exploratory.io/user_avatar/community.exploratory.io/jonathan_cachat_phd/32/1707_2.png) [@Jonathan\_Cachat\_PhD](https://community.exploratory.io/u/Jonathan_Cachat_PhD)\
**Post date:** [August 28, 2023, 4:59pm UTC](https://community.exploratory.io/t/google-bigquery-import-fails-with-error-no-method-asjson-s3-class-wk-vctr-error/2275/2 "2023-08-28T16:59:44Z")

</div>

Is there any way to get Exploratory,io to support these GEOGRAPHY datatypes?

for example, [CRAN - Package wk](https://cran.r-project.org/web/packages/wk/index.html)? or [GitHub - paleolimbot/wk: Lightweight Well-Known Geometry Parsing](https://github.com/paleolimbot/wk)?
