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

Import tool returns empty report if quotes in string fields in the CSV have not been escaped #191

Open
pulkit-s opened this issue Nov 29, 2022 · 0 comments

Comments

@pulkit-s
Copy link
Contributor

I was trying to import a csv which included geoJsons. I had not followed https://github.com/datacommonsorg/data/blob/master/docs/formatting_tips.md#emitting-dc-string-values, so I hadn't escaped the quotes. While I was running the tool, I kept getting a result with only API_EmptyDcCallResponse=1. Would expect errors in case the string is badly formatted.
perimeter_sample3.csv

tmcf:
Node: E:processed_data->E0
dcid: C:processed_data->fire_id
typeOf: C:processed_data->typeOf
fireGeoJsonCoordinatesDP1: C:processed_data->geojson_dp1

Report.json:
{
"levelSummary": {
"LEVEL_WARNING": {
"counters": {
"API_EmptyDcCallResponse": "1"
}
}
},
"commandArgs": {
"existenceChecks": true,
"resolution": "RESOLUTION_MODE_LOCAL",
"numThreads": 1,
"statChecks": true,
"observationAbout": false,
"allowNanSvobs": false
}
}

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