This repository contains the data engineering code for the Nonprofit Trends and Impacts survey dashboard.
Always check that the latest template is downloaded and specified in R/config.R
Y://drive access- Google Sheets access to the
metricsMasteranddataTemplatesheet. - Alternative data template URL. Has download links for
dataTemplateandmetricsmaster.
Rcontains the data engineering scrips in the order they should be run. Non-numbered scripts containing either helper functions or configuration parameters.datacontains raw and processed data, and datasets used for validation.raw: stores raw data downloaded from Y drive or Google Sheets, for validation datasetsintermediate: Intermediate datasetsprocessed: Final datasets_filtered: dataset for dashboard_formatted: string formatting without removing metrics where n < 25_full_postprocessed: numeric variables for validation/inspectionvalidate- Validation datasets used in unittests.
data_requestscontains additional code used to run ad-hoc data pulls.testscontainstestthatunit tests