Description Usage Arguments Value Examples
get_collection_id returns the Nevada Report Card (NRC) collection id that is used to reference a collection of schools and/or districts when requesting data (e.g. assessment data, personnel data, etc.). This function is referenced internally by most of the other functions in the nrc package.
1 | get_collection_id(org_ids)
|
org_ids |
A numeric vector of NRC organization ids. You can look them up for a school or district by using get_org_id(name). These can be viewed by looking at the nrc_orgs data frame that comes with the nrc package, View(nrc_orgs). |
returns a collection id for the set of organization ids provided.
1 2 3 4 5 6 7 8 | # Get the collection id for all organizations (c18172)
get_collection_id(unique(nrc_orgs$id))
# Get the collection id for organizations in Clark County
get_collection_id(nrc_orgs$id[nrc_orgs$parent_id == 64827])
# Get the collection id for all the districts in Nevadda
get_collection_id(nrc_orgs$id[nrc_orgs$type == 'D'])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.