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

Example using Date variable #21

Open
quirksahern opened this issue Aug 23, 2024 · 1 comment
Open

Example using Date variable #21

quirksahern opened this issue Aug 23, 2024 · 1 comment
Assignees

Comments

@quirksahern
Copy link

The AMR data provided by UKHSA has a field spec_date - the date the specimen was collected.

With the exception of age at time of specimen collection which I can calculate, all the other variable are binary or categorical.

Is there a way of incorporating the spec_date, which I can convert to a date as spec_date_YMD in a model?
I've struggled to find any examples online and if I add it in as date to the glm it massively changes things for region.

Any ideas? I've ignored it for now.

@milanmlft
Copy link
Member

Could you provide some example code + data and/or point to the relevant lines in the episode for what you're trying to achieve?

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

2 participants