Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create as.vpts() function #555

Closed
peterdesmet opened this issue Apr 5, 2023 · 2 comments
Closed

Create as.vpts() function #555

peterdesmet opened this issue Apr 5, 2023 · 2 comments
Assignees
Milestone

Comments

@peterdesmet
Copy link
Collaborator

It is currently possible to convert a vpts object to a dataframe with as.data.frame(). The reverse is not possible, i.e. when you have a dataframe with vpts data, you cannot create a vpts object (to plot or use for other functions).

In the short term, it would be good to have such a function create_vpts(df). This function could then also be used by the new read_vpts() function (#551).

In the longer term, vpts objects should become data frames (rather than currently lists), so it is easier to use e.g. dplyr::filter() and import data from vpts csv without having to convert them to objects.

@bart1
Copy link
Collaborator

bart1 commented May 15, 2023

Quickly tagging @jedgroev as he might be intrested here

@adokter adokter added this to the 1.0.0 milestone Jun 6, 2023
@bart1 bart1 mentioned this issue Jun 8, 2023
9 tasks
@iskandari iskandari self-assigned this Jun 14, 2023
@adokter adokter changed the title Create create_vpts() function Create as.vpts() function Jul 7, 2023
@adokter
Copy link
Owner

adokter commented Jul 7, 2023

included in #590

@adokter adokter modified the milestones: 1.0.0, 0.7.0 Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants