Changelog
Source:NEWS.md
rscorecard v0.28.1
CRAN release: 2024-05-28
- fix to the way columns have their types changed that takes into account column names since not all subsequent data pulls have the same columns
rscorecard v0.28.0
- update to fix error #17
- converted single quotes to double throughout
- converted old magrittr pipe to new base R pipe
- now require at least R version 4.1 (current version is 4.3.3)
rscorecard v0.19.1
CRAN release: 2021-07-20
Bug fix
- corrected for changes to magrittr 2.0 function evaluation order (last to first) that meant error messages weren’t correctly displaying
Updates
- new error messages for missing
sc_select()
function - updated error messages
- additional tests for new base R pipe
|>
rscorecard v0.19.0
- update to only allow filtering on variables allowed due to API changes on 4 April 2021
rscorecard v0.14.0
CRAN release: 2020-01-08
update dictionary for 12 December 2019 release of data
users can now request field of study-level data elements
-
updates to
sc_dict()
command:- can now return tibble with dictionary information using
return_df
argument - can turn off printing with
print_off
argument - console-printed dictionary:
- now returns data element source
- does not return developer-friendly names by default; turn on using
print_dev == TRUE
argument - can return notes from data dictionary (if they exist) by setting
print_notes == TRUE
- can now return tibble with dictionary information using
users can now request JSON version of returned data by using
return_json == TRUE
insc_get()
returned data frame now puts variables in order requested in
sc_select()
some new tests
rscorecard v0.11.1
CRAN release: 2018-11-05
Bug fix
- correct error in regular expression that converted dev-friendly names back to variable names in
sc_get
(h/t @nguyentr17) - moved regular expression conversions to
utility_functions::dev_to_var
rscorecard v0.9.0
CRAN release: 2018-09-10
Potentially breaking changes
- default value for
sc_year()
is now'latest'
rather than 2013. With continued data updates, this makes more sense than keeping an old year. Existing scripts that relied on the default for data from 2013 will need to be updated. - also note that the
year
column will be a character column withlatest
as the value when the most recent data are choosen. The College Scorecard doesn’t clearly note which data are the latest, so I have left the string. When building a panel dataset across multiple years, it will be best to use numeric year values for all years so that the resulting tibbles can be bound together cleanly.
Other changes
- add support for using some tidyselect helper functions when selecting variables with
sc_select()
:starts_with()
,ends_with()
,contains()
, andmatches()
should now be available. - update dictionary for 6 September 2018 release of data
rscorecard v0.8.0
CRAN release: 2018-08-26
Changes
- improved error handling when submitting bad request
- added
sc_select_()
andsc_filter_()
, which allow users to select and filter variables using strings stored in environment variable
rscorecard v0.4.0
CRAN release: 2017-09-28
- update dictionary for 28 September 2017 release of scorecard data
- update link in introduction vignette
- change contact information
- read data dictionary sheet by name instead of sheet number when making
sysdata.rda
in./data-raw/make_dict_hash.R
- correct
sc_get()
to usefloor()
instead ofceiling()
so that it doesn’t make unnecessary API request/pull (h/t @jjchern)
rscorecard v0.3.3
Bug fix
- allow
sc_filter()
to use subset object vectors
rscorecard v0.3.2
- allow
sc_filter()
to use vectors stored in objects - allow
sc_filter()
to use%in%
operator
rscorecard v0.3.1
CRAN release: 2017-01-14
- update dictionary for 13 January 2017 release of scorecard data
- update
sc_dict()
to search all columns by default - update internal hash lookup environment to have less generic name
rscorecard v0.2.5
CRAN release: 2016-05-18
- fixed
sc_dict()
bug that wouldn’t allow for search by developer friendly names