Code Monkey home page Code Monkey logo

Comments (10)

karthik avatar karthik commented on June 11, 2024

I'd say we skip base for time being.
I can take on ggplot.

re vectorization, here's an idea. I don't think it's worthwhile to create a many class. Why don't we just have a function similar to compact that can take many occdat objects and squash them to be passed on to the mapping functions?

from spocc.

sckott avatar sckott commented on June 11, 2024

Sweet, thanks for taking ggplot

Good idea. I do have occ_todf to squash data from a single output of occ that can have data from many sources (gbif, inaturalist, etc.) to a single data.frame, but not from many outputs of occ. Will make a new fxn.

from spocc.

sckott avatar sckott commented on June 11, 2024

@karthik and I talked about a general purpose maps library for R for interactive maps. So eventually map fxns can be broken off and imported via whatever the pkg name will be

from spocc.

sckott avatar sckott commented on June 11, 2024

Added base maps in commit 149807d

from spocc.

karthik avatar karthik commented on June 11, 2024

We can also now do Leaflet maps quite easily thanks to the leafletR package. See this function in ecoengine.

This can be easily generalized the occ class. I think with that we could finish up all the remaining loose ends and get this package to CRAN. Build more advanced features for the next round.

from spocc.

sckott avatar sckott commented on June 11, 2024

Right, but the maprcharts function uses leaflet. But if you'd rather use leafletR thats fine, but we can more easily get help and modify things using rCharts perhaps

from spocc.

karthik avatar karthik commented on June 11, 2024

TRUE. Only downside with using maprcharts is that it requires a non-CRAN dependency and we don't have an ETA on that. rCharts also has many other dependencies of its own. We could use leafletR (ultimately the same end result) for now, which would allow us to get a first version to CRAN fairly soon.

from spocc.

sckott avatar sckott commented on June 11, 2024

Okay, sounds good

from spocc.

sckott avatar sckott commented on June 11, 2024

@karthik leafletR isn't working for me. You? Seems like the geojson is not included in the output html file, but rather refers to a locally stored file without the correct path to that file. Seems like you should be able to just source the data from a different file, but not working on my machine at least, even with the correct path to the geojson file.

from spocc.

sckott avatar sckott commented on June 11, 2024

Closing for now, opened a new issue #37 to add back in an rCharts function once it's on CRAN.

from spocc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.