R/master_codebook.R

Defines functions master_codebook

Documented in master_codebook

#' A function to view EdBuild's data sources and variable names
#'
#' This function imports a codebook for EdBuild's master data. The
#' codebook tells the user what each variable name represents and the source of
#' each variable.
#' @keywords master data codebook EdBuild F33 CCD SAIPE EDGE
#' @return A dataframe where each observation is a variable from the master dataset.
#' @usage master_codebook()
#' @import magrittr
#' @importFrom utils read.csv
#' @seealso \link{long_masterpull}, \code{\link{masterpull}}
#' @export
#' @examples
#' codebook <- master_codebook()



master_codebook = function() {

  url = "https://s3.amazonaws.com/data.edbuild.org/public/Processed+Data/Master/master_codebook.csv"
  codebook <- read.csv(file = url, stringsAsFactors = FALSE)
  return(codebook)
}

Try the edbuildr package in your browser

Any scripts or data that you put into this service are public.

edbuildr documentation built on June 2, 2021, 5:07 p.m.