Git Product home page Git Product logo

Comments (6)

arturochian avatar arturochian commented on August 18, 2024

I have this warning message

Warning message:
In FUN(X[[2L]], ...) :
converting an R function to JSON as null. To change this, define a method for toJSON() for a 'function' object.

from rpivottable.

arturochian avatar arturochian commented on August 18, 2024

R version 3.1.2 (2014-10-31)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Spanish_Peru.1252
[2] LC_CTYPE=Spanish_Peru.1252
[3] LC_MONETARY=Spanish_Peru.1252
[4] LC_NUMERIC=C
[5] LC_TIME=Spanish_Peru.1252

attached base packages:
[1] stats graphics grDevices utils
[5] datasets methods base

other attached packages:
[1] rpivotTable_0.1.2.3

loaded via a namespace (and not attached):
[1] devtools_1.7.0 digest_0.6.8
[3] htmltools_0.2.6 htmlwidgets_0.3.2
[5] RJSONIO_1.3-0 tools_3.1.2
[7] yaml_2.1.13

from rpivottable.

smartinsightsfromdata avatar smartinsightsfromdata commented on August 18, 2024

Interesting. Are you supplying data or using the example project?
I confess that currently example dataset does not contain "votes", so it is normal to expect it to give an error.
I used "votes" in the README as an example of additive variable, but currently it is NOT in the dataset!.

But many thanks for this: it means (as I mention "votes" in the README as an example) that I need to add votes to avoid confusions. I'll try to do it later today.

Thanks you again!

from rpivottable.

smartinsightsfromdata avatar smartinsightsfromdata commented on August 18, 2024

I've just pushed an amendment of the library. Now the dataset aligns to the example (e.g. you can set the sum of votes with
rpivotTable(data = jsdf_, rows = "Party", cols = "Province", vals = "votes", aggregatorName = "Sum")

from rpivottable.

arturochian avatar arturochian commented on August 18, 2024

Hi @smartinsightsfromdata I reinstalled the package. However I have the same issue.

I tried with data = jsdf_ and data = dt.

I tried to find the data on the package.. where is it?

from rpivottable.

arturochian avatar arturochian commented on August 18, 2024

I ran this and it worked πŸ˜„

https://github.com/smartinsightsfromdata/rpivotTable/blob/master/inst/examples/dat01.R

from rpivottable.

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.