- update dictionary for 10 October 2024 release of date
- update dictionary for 13 June 2024 release of date
- 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
- 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)
- update dictionary for 10 October 2023 release of date
- update dictionary for 25 April 2023 release of data
- update dictionary for 14 September 2022 release of data
- update dictionary for 12 September 2022 release of data
- update dictionary for 2 May 2022 release of data
- update dictionary for 14 March 2022 release of data
- update dictionary for 7 February 2022 release of data
- update dictionary for 20 July 2021 release of data
- corrected for changes to magrittr 2.0 function evaluation order (last to first) that meant error messages weren't correctly displaying
- new error messages for missing
sc_select()
function - updated error messages
- additional tests for new base R pipe
|>
- update to only allow filtering on variables allowed due to API changes on 4 April 2021
- update dictionary for 12 January 2021 release of data
- update dictionary for 2 December 2020 release of data
- update dictionary for 1 June 2020 release of data
- update dictionary for 30 March 2020 release of data
-
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
- update dictionary for 30 September 2019 release of data
- update dictionary for 21 May 2019 release of data
- 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
- added tests for conversion
- update dictionary for 30 October 2018 release of data
- update dictionary for 28 September 2018 release of data
- 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.
- 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
- 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
- update dictionary for March 2018 release of scorecard data
- update dictionary for 19 December 2017 release of scorecard data
- allow
sc_zip()
to take zip codes that start with zero (h/t @nateaff), either with string value or by returning leading zeros to numeric values that R drops
- changed way API call is made (now using
httr
to make call rather thanjsonlite
directly) in order to improve parsing on bad lines - added
debug
option tosc_get()
so that the API URL string could be returned when debugging call - removed old namespace import/exports no longer being used
- 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)
- allow
sc_filter()
to use subset object vectors
- allow
sc_filter()
to use vectors stored in objects - allow
sc_filter()
to use%in%
operator
- 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
- fixed
sc_dict()
bug that wouldn't allow for search by developer friendly names
- initial release