Description Usage Arguments Value Note Examples
Output from this function is useful in creating subsets of data meeting survey-eligibility requirements.
1 | getSWNodes(pWav, pSch, pNQW = 1, pFQW = 0)
|
pWav |
A specific survey wave. Waves 2, 6, and 10 are summer waves; no Short Survey or Long Survey data were collected. Hence these waves should not ever be specified. |
pSch |
A specific School ID. |
pNQW |
If 1, short-survey-eligible SIDs in this wave and school are returned (this would also include long-survey-eligibles as a subset). |
pFQ |
If 1, only long-survey-eligible SIDs in this wave and school are returned. |
An integer vector of SIDs
This function will not necessarily return correct SIDs if the table dbo.StudentEligibilityWindow is not up to date. The calling code should always check this first! If 'checkEligUpdate' returns FALSE, you're OK. If not, the code should first run 'updateStuEligWin'
1 2 3 | # Returns a vector of SIDs of individuals who were short-survey (NQ)
# eligible at wave 1, from school #3.
nodes <- getNQTVCs(pWav = 1, pSch = 3, pNQW = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.