get_org_id: get_org_id

Description Usage Arguments Details Value Examples

Description

get_org_id returns the Nevada Report Card (NRC) organization ids and names for all organizations whose name matches the string provided as the org_name parameter. The organization id is the unique id used by NRC, it is different than the state id used by the Nevada Department of Education.

Usage

1

Arguments

org_name

a string that is part of an organization's name (district or school).

Details

The nrc package comes with a data frame 'nrc_orgs' that contains all the districts and schools that hava a org_id. That is the data set this function pulls information from. You can inspect it by executing: 'View(nrc_orgs)'

Value

returns a data frame of ids and names for all the organizations that matched the org_name that was provided and prints them to the console.

Examples

1
2
3
4
5
# Note the function ignores case (capitalization doesn't matter)
get_org_id('forbuss')
get_org_id('Forbuss')

get_org_id('churchill')

DataInsightPartners/nevadaReportCardr documentation built on May 7, 2019, 2:53 a.m.