Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Errors with Package #49

Open
castower opened this issue May 19, 2020 · 0 comments
Open

Parsing Errors with Package #49

castower opened this issue May 19, 2020 · 0 comments

Comments

@castower
Copy link

Hello @datadotworld,
I am currently working with the COVID-19 data on the site, but I am running into parsing errors with my queries.

I have tried the following codes:

df2 <- dwapi::sql(
  owner_id = "covid-19-data-resource-hub",
  dataset_id = "covid-19-case-counts",
  "SELECT * FROM covid_19_cases")

and

library("data.world")
sql_stmt <- qry_sql("SELECT * FROM covid_19_cases")
df <- data.world::query(
  sql_stmt, "covid-19-data-resource-hub/covid-19-case-counts")

Both queries run, but I get the following error:

1517712 parsing failures.
  row    col           expected     actual         file
58631 admin2 1/0/T/F/TRUE/FALSE Jackson    literal data
58631 fips   1/0/T/F/TRUE/FALSE 20085      literal data
58632 admin2 1/0/T/F/TRUE/FALSE Sequatchie literal data
58632 fips   1/0/T/F/TRUE/FALSE 47153      literal data
58633 admin2 1/0/T/F/TRUE/FALSE Wayne      literal data
..... ...... .................. .......... ............
See problems(...) for more details.

Is there a way to fix this error? I'm new to the packages and how they work. I can't seem to find any info on this in the documentation.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant