-
Notifications
You must be signed in to change notification settings - Fork 0
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
short series of videos on CSVY (by me) #37
Comments
Hey @aammd In case it wasn't on purpose, just thought I'd let you know that the video about "reading csvy with comments" was uploaded twice to the playlist. And no video about writing csvy. |
@jas-wong oh no! that was definitely my mistake! |
Wait no this is the video about CSVY I called it "writing yaml" by mistake (the Y in CSVY stands for YAML, because that is the format the metadata is written in) |
@aammd |
This was very helpful @aammd. I have an issue! When I try to read in my csvy file to edit it manually, R gives error "The file is too large to open in the source editor". I imagine that I can edit the file in a different text editor. However, I was wondering if there is a way I can write a YAML in R and later attach it to the csv to produce my csvy? |
@LinneaSandell this is an interesting problem. In your case, I would probably write the metadata in its own text file ( |
@LinneaSandell something like this (readr makes this easy): library(readr)
one <- read_lines("YAMLFILE.yaml")
two <- read_lines("DATAFILE.csv")
write_lines(c(one, two), "COMBINEDFILE.csvy") |
@aammd I can't read in my data package using datapkg_read... I get the error message: "Error in read_tokens_(data, tokenizer, col_specs, col_names, locale_, : |
hello @BIOL548O/2017_students ,
I have made a few short videos talking about how to create CSVY data. They're not mandatory, but you might find them useful if you have chosen that metadata format.
https://www.youtube.com/playlist?list=PLlsfgzA47vkgvwpNSZp7k93kKVhJygN_u
The text was updated successfully, but these errors were encountered: