Comments (10)
I think I fixed some of the issues. See the new way of creating the dataset: https://github.com/steno-aarhus/ukbAid/blob/main/inst/templates/create-data.R
from ukbaid.
Ooo, that same issue again eh. Ok, thanks. If you want to try to update the data-raw script to remove that variable, that would be great!
from ukbaid.
I'll maybe have time to check into the create_csv_from_database()
issue tomorrow
from ukbaid.
Could the missing username in the file name be due to conflicts with file_prefix
being defined as "data" in builder_table_exporter
?
from ukbaid.
Hmm, I don't think so, since the file_prefix
is actually not even used anymore within the function (it probably should be removed).
from ukbaid.
It might actually be something related to the rap_get_user()
function though. Hmmm, looking at the code, that might be the problem actually...
from ukbaid.
hmm, rap_get_user()
does output username though. I can also see in the table exporter log that the file name with username is preserved up until completion. Maybe the username in the file name is getting mixed up with the username in the path: ~/username/username-data-project_id... would it be worth testing if changing
data_file_name <- glue::glue("{username}-data-{project_id}-{timestamp_now()}")
to
data_file_name <- glue::glue("data-{username}-{project_id}-{timestamp_now()}")
will fix it?
from ukbaid.
Ooo, that same issue again eh. Ok, thanks. If you want to try to update the data-raw script to remove that variable, that would be great!
Unfortunately, I cannot detect the source of the issue. However, I can see that @arborzhang managed to create a test dataset with eid on May 30 12:47 pm. So my guess is that commits made to R/create-date.R
or R/rap.R
after May 30 may somehow have caused the issue.
from ukbaid.
As I reported earlier, some variables were missing when I loaded the data (data <- arrow::read_parquet("data/data.parquet"). So I tried to create a test dataset. But I only keep the test data in the folder under my name, will it influence others' work? @lwjohnst86 . PS. I am also not allowed to delete the test dataset afterwards.
from ukbaid.
@arborzhang it shouldn't affect others!
from ukbaid.
Related Issues (20)
- create dataset using ukbAid HOT 4
- function to create smaller dataset for each project
- Create function to upload protocol to Zenodo
- Create code review guidelines and process HOT 1
- Function to help with converting date times faster
- Test how many variables can be exported by dx
- Use Arrow only, rather than DuckDB (since installing it takes time) HOT 1
- Function to subset data to use to prototype code
- Moving function to create/process ICD data
- Create a community on Zenodo for all UKB content
- In the instructions, include code that forces a restart
- In using-rap, set to ask = yes
- Convert to SDCA theme for website and pkgdown
- Organize reference page in pkgdown website
- Remove prereg from deps and use Quarto for protocol
- remove duckdb from imports?
- Include fields in the projects metadata for DOIs for protocol, repository, preprint, and published paper
- Restructure vignettes quarto website to be in docs/ with _quarto.yml in project folder
- Make use of Python functions instead to export the data? HOT 1
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 ukbaid.