npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ap-score-processor-node

v0.1.4

Published

AP score pre-processor (for Node)

Downloads

9

Readme

AP Score Report Pre-processor

The Problem

The AP exam score reports contain all of the information you would expect -- name, address, school, etc.

However... AP test scores are listed on the same line that contains the student records in the order they were administered. This makes it extremely difficult to analyze the scores in any meaningful way because individual courses won't be in the same columns for different students.

The Solution

This pre-processor reads the data file provided by the AP program and rearranges the data so it can be read into an Excel or Google spreadsheet where it can be analyzed via pivot tables.

Five sets of spreadsheet tables are generated:

  • Students
  • Ethnicities
  • Scores
  • Scores with Ethnicities
  • Awards

Ethnicities

Students can report multiple ethnicities. The pre-processor will generate one line of student data for each ethnicity, so if a student reports two ethnicities, there will be one line of student information for each ethnicity.

Scores

Scores are treated like ethnicities. The AP score report shows all of the AP tests the student has taken, including those taken in previous years. The pre-processor generates one line of data for each exam and score.

Scores and Ethnicities

This report permutes ethnicities and scores so that each score is paired with every ethnicity. This pairing allows the spreadsheet to generate a pivot table that looks at AP scores vs ethnicities.

Awards

Since students may receive more than one award over their AP career, awards are presented in the same way as scores and ethnicities.

Usage

  1. Download the files
  2. npm install
  3. npm build
  4. cd build/src
  5. node main <year> <path/to/datafile> [path/to/output/folder]

Notes

  • There is an anonymized data file in the data folder you can use to try it out.

  • The output folder defaults to output in the project folder

  • The contents of the output folder will be overwritten with no warning! Be careful!

  • Paths are relative to the current folder when running the program. You can use relative paths (i.e. ../data/2022-tiny.csv or absolute paths /usr/User/data/2022-tiny.csv)

References