edinburghlivinglab / dds-notebooks

IPython Notebooks for Data, Design and Society
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Files created when rendering html Map in notebook (4 files in total) #15

Closed franciscovargas closed 8 years ago

franciscovargas commented 8 years ago

Whenever folium is used to render a map html, json,js files are created in the source directory of the notebook the rendering is done by. I cant seem to manage to carry out a procedure which allows the rendering to happen and automarically deletes the files post the rendering within the same ipython-notebook code snippet. So I am not sure how to deal with this. @gngdb Would it be possible to have a routine that takes place each time a specific notebook is closed ?

franciscovargas commented 8 years ago

I have managed a partial fix by creating a folder called metadata within the notebooks folder and this is where all the html files needed to render the choropleth go. I think it is a good idea ?

ewan-klein commented 8 years ago

This sounds like a good approach. But I wonder whether we should choose a different name from 'metadata'. Maybe 'build-data'?

franciscovargas commented 8 years ago

yeah I dont know why I called it metadata... folder names are not my forte. It is also possible for this folder to actually be inside the data folder and not the ipython one within data a folder called ipython_build_data for example but I dont know if this is any better.

On Fri, Sep 4, 2015 at 6:50 PM, Ewan Klein notifications@github.com wrote:

This sounds like a good approach. But I wonder whether we should choose a different name from 'metadata'. Maybe 'build-data'?

— Reply to this email directly or view it on GitHub https://github.com/edinburghlivinglab/dds-notebooks/issues/15#issuecomment-137804778 .