Comments (4)
I want to say "Amen!": this is something that both readr and readxl allow (and, I think, people really use) and it would be nice to make available in more circumstances.
from vctrs.
It now occurs to me that the way to implement this is as a new vector type. Then it would be straightforward to implement custom coercing and casting semantics using the existing framework.
from vctrs.
This would also be nice if we implemented a vec_assert()
function - then you could assert that a data frame input had at least the columns that you needed (while not caring about any extras) .
from vctrs.
Some experiments checked in to local partial branch — it's totally do-able, but it requires more time than I have right now (it's a bit more complicated than I anticipated). Mostly need to think about what vec_type2(partial(), data.frame())
should return
from vctrs.
Related Issues (20)
- Check size more carefully before calling `compact_rep()` in all places, error on long sizes
- errore in operazioni di join:
- dplyr crash when we parse sf columns with different names
- Error when using lubridate arithmetic in if_else loop HOT 1
- Error in `vec_rbind()` when using ggplot2 for very large dataframe HOT 1
- `rbind` errors on vctrs_rcrd objects
- feature request: `vec_proxy_na()`
- minor documentation inaccuracies
- Investigate `vec_match()` performance for integers
- bind_rows produced internal error HOT 1
- `vec_rbind` coerces POSIXlt to POSIXct HOT 1
- Use recent important-standalone-types check
- Non-API calls HOT 4
- Error in `vec_rbind() HOT 3
- Segfault with `rowwise_df` and `rbind()`
- Data Join Attempt HOT 1
- Error in `vctrs::vec_locate_matches() HOT 1
- `vec_group_id` crashes with stack overflow for matrix with custom class
- There is a limit on the number of rows in a table
- Map functions with vctrs semantics HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vctrs.