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

New variable request: Year as continuous variable #69

Open
DougManuel opened this issue Sep 23, 2020 · 1 comment
Open

New variable request: Year as continuous variable #69

DougManuel opened this issue Sep 23, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request new variable request PUMF Request a new variable transformation for CCHS PUMF new variable request Share Request a new variable transformation for CCHS Share

Comments

@DougManuel
Copy link
Contributor

Introduction

We accept requests and PR for new variables. Providing information about your request helps discussion about whether and how to include the variable.

Is the variable an existing CCHS variable, or a derived variable?

Does this variable exist already in CCHS cycles, or is it a newly derived variable?

What is the name of the variable?

What is the most consistent name for this variable (usually the variable name used from 2007-2014). If this is an derived variable, what is the name of the newly derived variable?

Description of variable

Provide a brief description of the variable.

Is it consistent across CCHS cycles? If not, explain changes between cycles

For existing variables in the CCHS.

Which cycles is this variable found?

For existing variables in the CCHS.

Derived variables only. What variables are used to create this variable?

List the variables in cchsflow used to create this variable

Additional context

Add any other context or screenshots about the feature request here.

Additional instructions for derived variables

Derived variables use R code for more complex operations and multiple starting variables. Note: cchsflow currently uses only base R to derive variables. More complex derived variables that require dependancies are currently out-of-scope for cchsflow.

If possible, attach an .R file that includes documentation of the derived variable as per roxygen2 standards, along with the code to derive the variable. Include all starting variables.

@kittychenn
Copy link
Collaborator

@DougManuel The VERDATE variable is the date of file creation from cycles 2007 and onwards. There is one date of creation for each cycle. This variable can be used to define survey years from 2007 and onwards. We may need to create a function if we want defined survey years across all cycles.

@kittychenn kittychenn added enhancement New feature or request new variable request PUMF Request a new variable transformation for CCHS PUMF new variable request Share Request a new variable transformation for CCHS Share labels Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new variable request PUMF Request a new variable transformation for CCHS PUMF new variable request Share Request a new variable transformation for CCHS Share
Projects
None yet
Development

No branches or pull requests

3 participants