Giter Club home page Giter Club logo

homodatum's People

Contributors

brazadas avatar camilaachuri avatar jpmarindiaz avatar lenafm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

homodatum's Issues

Identify color indicator column

Agregar un tipo de datos que sea el identificador de una
variable que solo contenga colores en las filas (hexadecimales, etc..)

Error in fringe$data when original df has date column with missings

When running f <- homodatum::fringe(df) on a df with a date column with missing values, the resulting fringe f$data raises the following error:

Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Error during wrapup: evaluation nested too deeply: infinite recursion / options(expressions=)?

Only filtering the dataframe for only rows with non-missings in this date column returns the fringe without problems.

To reproduce problem: data example_data.xlsx, read in with df <- readxl::read_xlsx("example_data.xlsx"), problematic column is called date_with_missing.

Add sources parameter to fringe

fringe doesn't have a sources parameter, it has to be passed through the meta parameter.

However, dsviz and drop both have a sources parameter that can be passed through args (see below example of dsviz). Obviously dsviz, drop and fringe need to have some different parameters but I suggest that the ones that can be the same, are accessed in the same way.

E.g., fringe could have a sources parameter like dsviz and drop.

  args <- list(...)

[...]

  dv <- list(
    name = name,
    description = description,
    slug = create_slug(name),
    type = type,
    viz_type = type,
    width = 600L,
    height = 400L,
    access = args$access %||% "private",
    license = NULL,
    #time_created = NULL,
    time_last_updated = args$time_last_updated %||% unix_timestamp(),
    formats = args$formats %||% formats,
    tags = args$tags,
    sources = args$sources,
    dsapp = args$dsapp,
    fringe = args$fringe,
    viz = viz
  )

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.