Skip to content

conversion errors on more complex example #7

@Analect

Description

@Analect

Hi. I happily came across your tool, but I'm stumbling a little on my first attempt to convert what admittedly might be a more complex example at https://observablehq.com/@tashapiro/intro-observable-plot.

I ran ohq2quarto --ohq-ref @tashapiro/intro-observable-plot --output-dir ./test_ohq2quarto --verbose and this output a series of files per below.

|-- _quarto.yml
|-- big_tech_stock_prices.csv
|-- intro-observable-plot.qmd
|-- rladies\ philly.jpeg
|-- taylor_all_songs.csv
`-- tswift_pivoted.csv

When I ran quarto preview intro-observable-plot.qmd, it complained about empty {ojs} cells. ERROR: Fatal: OJS cell starting on line 327 is empty. OJS cells require at least one declaration., so I deleted circa 6 of these. It renders, but with lots of OJS Errors. It seems it is somehow not accessing the data files.

image

If I look at this section of the original file, it uses various data table cells and SQL cells (per the image below).

image

However, in the converted *.qmd file, these are somehow ignored, with just the markdown parts getting converted.

```{ojs}
md`<b>Taylor Swift Songs</b>`
```

```{ojs}
md`<b>Taylor Swift Songs - Pivoted by Feature</b><br>
Long format data set that we will use for the facetted plot example.`
```

It would be great to get this working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions