DjShadow wrote:
> No, David,
>
> They are not going separated.
> Here is my dataset http://www.cienciapolitica.com.br/db/dj.dat (tab
> separated)
>
> and Exhibit JSON http://www.cienciapolitica.com.br/db/datasets.js
>
> You can see that the field "Partes", has just one value and not three
> values.
>
> I tried to do this using Babel. I think I'm doing something wrong.
I'm actually still not understanding the problem. So, looking at
"partes": [
"agte: AUGUSTO VICENTE ESTEVES",
"adv(a/s): DAVE GESZYCHTER",
"agdo(a/s): FORD LEASING S/A ARRENDAMENTO MERCANTIL",
"adv(a/s): SAMIR JORGE"
],
there are clearly several separate values for the "partes" property.
Could you elaborate further? Perhaps pointing to your exhibit page and
telling what you want to happen in details.
... or do you mean you want
"partes1" : "agte: AUGUSTO VICENTE ESTEVES",
"partes2" : "adv(a/s): DAVE GESZYCHTER",
"partes3" : "agdo(a/s): FORD LEASING S/A ARRENDAMENTO MERCANTIL",
"partes4" : "adv(a/s): SAMIR JORGE"
In that case you need 4 separate columns in your original data file.
Note that Babel splits the text inside a cell by semicolons. I see that
your original data file contains commas instead of semicolons. Is that
the problem? By the way, I didn't see "agte", "adv(a/s)", "agdo(a/s)",
and "adv(a/s)" in your original data file. How did they get into the
JSON file?
David
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general