datasketch / homodatum Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Agregar un tipo de datos que sea el identificador de una
variable que solo contenga colores en las filas (hexadecimales, etc..)
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
.
See an example for vctrs color palettes
https://www.wjakethompson.com/blog/taylor/2021-10-24-taylor-palettes/
as.POSIXct("2020-04-30")
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
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.