Releases: growthcharts/james
JAMES 1.7.0 (Nov 2024)
- Adds a target height indicator to height charts for ages 1–21 years and 0–21 years. The target height is calculated using the mid-parental height method described by Hermanussen and Cole (2004). This indicator is plotted at the age of 20.5 years and includes the 95% target height range.
- The calculation requires the heights of both biological parents (preferred) but can also be performed using only the mother’s height. The target height is adjusted based on the child’s sex and the population standard used for comparison. In the JAMES interface, the target height is automatically recalculated when the user selects a different population.
- Solves a problem with the incorrect labels in the centile strip on charts with the design E (0-4 years, weight for age).
JAMES 1.6.5
- Solves an issue for same-sex couples with two mothers or two fathers in BDS 63 field . The
bdsreader 0.27.0
package returns the correct data for these cases. See growthcharts/bdsreader#10. - Adds a
inst/CITATION
file for suggestion a citation to JAMES - Changes the return value of
version
to conform to swagger documentation
james 1.6.4 (May 2024)
- Solves an issue where the week sliders for pre-terms were not properly initialized in the case that the child has no data for the first four years (#6)
james 1.6.3 (May 2024)
Automatic donordata selection
- Simplifies individual prediction by means of curve matching. The user needs to specify "now" and "future" age and the number of desired matches, and JAMES automatically select appropriate donor data based on the "future" age. This update resolves two issues related to choice and updating of the donordata menu. (#5, #31)
james 1.6.2 (May 2024)
Better chart initialisation
- When the data contain only developmental data, JAMES initialises to the D-score chart (#33)
james 1.6.1 (May 2024)
Administrative updates and workflow improvements
- Updates to
R 4.4.0
and associated libraries - Adds helper
james:::update_version_files()
to automate references to current version (#32) - Adds a description of package update actions:
qmd/deploy_JAMES.rmd
- Updates the GH workflow for package checking
v1.6.0
james 1.6.0 (Apr 2024)
Visible changes
- Changes the version number so that the JAMES package has the same version as the JAMES docker
- Updates to
growthscreener 1.21.0
, which changes weight for height criteria into weight-for-age - Changes the definition and processing of BDS 71 (parental birth land) to provide a string with 4 digits (was numeric and integer previously) to conform to alphanumeric typology in BDS (updates to
bdsreader 0.25.0
) - Introduces throttling of 3 sec for checkbox, sliders and radio buttons
- Resolves the WFH sequence problem when later height is shorter (#24)
- Added JAMES, version and copyright note to "Meldingen"
- Removed the superfluous header "GROEIDIAGRAMMEN" from the left panel
- Adds a check and warning if the stored OpenCPU session does not contain data created by read_bds()
More informative Meldingen
panel
JAMES now writes on Meldingen
for rq1
(james::convert_tgt_chartadvice()
) and rq2
(james::draw_chart()
):
- The session ID
- The
ocpu.call
from javascript to theR
function - A summary of the response from
R
- If present: warnings from
R
- If present: messages from
R
Note: The update of "Meldingen" when the call failed does always work, so it may be that "Meldingen" displays the results from the last functional call instead of the failed call. If the request failed, there will be a pop-up window with a stack trace from R.
Internal changes
- Updates javascript, HTML and CSS for clarity and efficiency
- Moves styling from
index.html
tomain.css
- Removes allegro blend (#20)
- Returns
txt
,session
andsite
in blend response as strings (#21) - Transfers all event binding functionality from
index.html
intostart.js
- Refactors JS code #26
- Updates all packages and renv to CRAN version March 2024
Bug fixes
- Fixes a bug during initialization of children > 4y (#29)
- Resolves
Error in eval(predvars, data, env) : object 'hgt_z_0' not found
(#23) - Solves issue #19 which appears when JAMES cannot find the child data.
Simplified update logic (failed)
- The JS call to
update()
(which draws the chart) is now removed from the call-back function ofrq1
. Thus, initialization of controls and drawing of charts are now done independently and in parallel. This removes a nestedocpu.call()
call, thereby improveing performance. - This change was undone in because controls were not properly updated.
james 1.5.10
james 1.5.10
- Fixes a bug during initialization of children > 4y (#29)
james 1.5.9
- Removes unused code from
index.html
- Uses
defer
option forstart.js
and moves it into the head - Moves styling from
index.html
tomain.css
- Changes the definition and processing of BDS 71 (parental birth land) to provide a string with 4 digits (was numeric and integer previously) to conform to alphanumeric typology in BDS (updates to
bdsreader 0.25.0
) - Removes allegro blend (#20)
- Returns
txt
,session
andsite
in blend response as strings (#21)
james 1.5.8
- Introduces throttling of 3 sec for checkbox, sliders and radio buttons
- Transfers all event binding functionality from
index.html
intostart.js
james 1.5.7
- Refactors JS code #26
james 1.5.6
- Changes the version update so that the JAMES package has the same version as the JAMES docker
james 0.70.1 (= james 1.5.5)
- Resolves the WFH sequence problem when later height is shorter (#24)
james 0.70.0
- Resolves
Error in eval(predvars, data, env) : object 'hgt_z_0' not found
(#23)
james 0.69.0
More informative Meldingen
panel
JAMES now writes on Meldingen
for rq1
(james::convert_tgt_chartadvice()
) and rq2
(james::draw_chart()
):
- The session ID
- The
ocpu.call
from javascript to theR
function - A summary of the response from
R
- If present: warnings from
R
- If present: messages from
R
Note: The update of "Meldingen" when the call failed does always work, so it may be that "Meldingen" displays the results from the last functional call instead of the failed call. If the request failed, there will be a pop-up window with a stack trace from R.
Resolves R error when there are no data
Solves issue #19 which appears when JAMES cannot find the child data.
Simplified update logic
The JS call to update()
(which draws the chart) is now removed from the call-back function of rq1
. Thus, initialization of controls and drawing of charts are now done independently and in parallel. This removes a nested ocpu.call()
call, thereby improveing performance. This change was undone in 1.5.6 because controls were not properly updated.
Cosmetic changes
- Added JAMES, version and copyright note to "Meldingen"
- Removed the superfluous header "GROEIDIAGRAMMEN" from the left panel
More informative NEWS.md
james 0.68.2
- Adds a check and warning if the stored OpenCPU session does not contain data created by read_bds()
james 0.68.1
- Updates all packages and renv to CRAN version March 2024
james 0.68.0
- Updates all packages, includes
growthscreener 1.20.0
, which include language development guideline - Version meant to test and solve various implementation issues reported by K Nienhuis, okt 2023
james 0.67.0
- Adds support for the
validate
andintermediate
flags toupload_data()
- Updates to faster and cleaner
bdsreader
0.23.0 package
JAMES 1.5.2
Release notes
JAMES 1.5.2 links R package james 0.66.0
.
This is the first release. I include all previous NEWS items below.
james 0.66.0
Solves problems with the javascript interface
-
The interface did not select the correct chart for
lollypop
children.
The problem was related to an incorrect gestational age field in the demodata.
Thebdsreader::write_bds()
was refactored. Alldemodata
were updated with
the correct values. -
Made a change in the data schema:
Reference
-->reference
to adhere tocamelCase
in BDS schema -
Added a new possibility to run the javascript interface in the local environment.
See../notes/debug-javascript.qmd
for details. -
Repaired the
chartcode
field in the interface
james 0.65.0
- Repairs some error in the JSON schema V2.0 and V3.0 by an update to
bdsreader 0.19.0
james 0.64.0
Two major enhancements
- Adds support for JSON schema V3.0 by updating to
bdsreader 0.18.0
- Replaces Dutch D-score charts by GSED Phase 1 references and charts
james 0.63.0
- Resolves a problem with the weight-for-age references for 0-15 months
- Updates JAMES to latest R packages
james 0.62.0
- Add pathname in URL construction to make JAMES browsers requests reachable when URL is something like htpps://site/path/request.
james 0.61.0
A few changes intended to support external hosting of JS functionality:
- Make the href locations of index.html, css and js relative to /var/www/html. The directory james/www should be copied into /var/www/html/app to make JAMES work.
- Support CORS with hostname in ocpu.seturl()
james 0.60.0
- Refreshes
renv.lock
by starting from fresh library - Tweak test to pass windows conf
james 0.59.2
- Version used to build james docker 1.3.0
- Update packages
- Make library snapshot, update
renv.lock
james 0.59.1
- Update all packages
- Make new library snapshot
james 0.59.0
- Update all packages
- Make new library snapshot
james 0.58.2
- Make
sitehost
inrequest_site()
work with URL path
james 0.58.1
- Update README and documentation to JAMES API 1.2.0
james 0.58.0
- Changes to make an isolated
http
API - Allows for host names such as
http://myhost/module
with a partial path - Reads
OpenCPU
session from the local file system - Removes
host
arguments to functions - Removes
host
parameter from javascript calls - Introduces
sitehost
argument forrequest_site()
- Update to
jamesclient 0.30.0
james 0.57.0
- Makes host definitions consistent everywhere as
http://myhost
- Uses txt, host, session, format argument sequence in all functions
- Obtains current host and protocol from javascript URL
- Replaces
uloc
session indicator byuses
(user session) - Adds arguments
scheme
,host
andsession
toconvert_tgt_chartadvice()
- Renames
$key
to$session
in JS
james 0.56.0
Breaking changes
- Uses generalised
httr
response object as defined injamesclient 0.26.1
- Replaces
loc
parameter bysession
parameter - Adds deprecated notes about the
loc
parameter - Replaces all calls to
jamesclient::upload_txt()
byjamesclient::james_post()
- Update
renv.lock
withjamesclient
and other R package updates - Adds processing steps for new
session
query argument
Other changes
- Moves all deprecated functions into
deprecated.R
- Creates new
internal.R
to bundle internal helpers - Removes superfluous
preloads.R
- Adapts the
last_dscore
calculation to work withpsn
andxyz
list components
james 0.55.0
- Updates to
renv 0.15.2
- Update to current R packages
james 0.54.0
- Upgrades james.groeidiagrammen.nl to https
james 0.53.0
- Adds host names
ijgz.eaglescience.nl
andjames.groeidiagrammen.nl
toget_host()
james 0.52.1
- Updates documentation of
request_blend()
james 0.52.0
- Breaking change is data structure
- Change data structure of
read_bds()
to a simple list to ease standard JSON representation - Adapt various JAMES functions to work with change to simple list
- Update to
bdsreader 0.17.0
- Update
renv.lock
james 0.51.2
- Remove chart element from
request_blend()
because of problems with the JSON representation
james 0.51.1
- Return chart from
request_blend()
now contains SVG instead of grob
james 0.51.0
- Add
request_blend()
that acts like a one-stop-shop - Deprecate
custom_list()
in favour ofrequest_blend()
- Add messages that indicate removal of deprecated function in Sept 2022
james 0.49.0
- Replace
screen_curves()
andscreen_growth()
byapply_screeners()
- Make relevant screener parameters visible in james package
james 0.48.1
- Block passing of
\dots
tochartbox::list_charts()
james 0.48.0
- Copy over all arguments from
bdsreader::read_bds()
toupload_data()
- Update documentation
- Do not pass down
\dots
tojsonlite::FROMjson()
james 0.47.0
- Decrecate
fetch_loc()
by the better-namedupload_data()
james 0.46.3
- Update docs for
fetch_loc()
james 0.46.2
- Pass down arguments in all functions using
\dots
- Sync to
jamesclient 0.23.0
james 0.46.1
- Sync to
bdsreader 0.14.0
andjamesclient 0.22.0
james 0.46.0
- Adds
list_screeners()
to produce overview of JGZ guidelines
james 0.45.4
- Send dots in
fetch_loc(...)
tobdsreader::read_bds(...)
james 0.45.3
- Solve authentication bug in
validate_chartcode()
james 0.45.2
- Vectorise and export
validate_chartcode()
james 0.45.1
- Update
renv.lock
tojamesclient 0.20.0
james 0.45.0
- Solves a bug in
bdsreader
that prevented reading data from a URL
james 0.44.1
- Adds a
version()
function
james 0.44.0
- Increase dependencies to
bdsreader 0.11.0
andjamesclient 0.18.0
james 0.43.3
- Prevent "the condition has length > 1 and only the first element will be used" in
draw_chart()
james 0.43.2
- Adds forgotten
authenticate
todraw_chart()
- Updates renv.lock to
chartplotter 0.28.0
james 0.43.1
- Update renv to
donorloader 0.31.1
james 0.43.0
- Update renv to
brokenstick 2.0.0
james 0.41.1
- Adds an explicit
authToken
argument forlist_charts()
james 0.42.0
- Refreshes the public key for Eaglescience integration
- Solves a problem with token validation
james 0.41.0
- Builds in fall back in case
pubkey
is not given toauthenticate
- Changes argument
jwt
toauthToken
for easy integration
james 0.40.0
- Repairs a problem with
bdsreader
that prevented D-score calculation with format = "2.0"
james 0.39.0
- Adds authentication of externally facing services with a JSON web token
james 0.38.0
- Adds full stack of Down Syndrome charts to javascript site
james 0.37.0
Major changes
- Adds support for data formats "1.0" (Allegro Sultum), "1.1" (numeric version) and "2.0" (Eaglescience)
- Introduces the
format
argument tobds_read()
andbds_write()
- Introduces
auto_format
as a way to minimise confusion about the data format
Minor changes
- Uses longer paths in the javascript header to deal with Apache rewrites
james 0.36.0
- Update to R 4.1.0
- Solves a bug that resulted from changes in the internal format of the grid package. The james package now depends on
grid 4.1.0
and hence onR >= 4.1
.
james 0.35.0
- Checks spelling and updates word list
- Adds token to GHA R-CMD-CHECK
- Removes LICENCE file, which makes CMD-CHECK complain
- Install V8 lib in linux workflow
james 0.34.0
- Update dependency versions
- Removes unneeded
nlreferences
dependency
james 0.33.0
- Tranfers repo to
growthcharts
organisation - Adds
schema
argument to users facing functions, setbds_schema_str.json
as default - Adds automatic GHA R CMD check
- Cleans out error so that R CMD check runs without errors
james 0.32.0
- Breaking changes
- Replaces
jamestest
dependency byjamesdemodata
package - Replaces
minihealth
dependency bybdsreader
package - Styles all files
- Switches to
markdown
documentation - Uses
localhost
in examples (localhost should be on)
james 0.31.0
- Removes
clopus
dependency
james 0.30.0
- Uses the
nlreferences
package
james 0.29.1
- Simplifies testing condition in
draw_chart()
james 0.29.0
- Includes
svglite
dependency as needed by the javascript calls
james 0.28.2
- Downgrades to
chartplotter 0.15.0
james 0.28.1
- Includes
jamesyzy
dependency
james 0.28.0
- Switches to an age-related choice for donordata:
0-2
,2-4
and4-18
.
james 0.27.1
- Repairs a problem in the slider_list initialisation
james 0.27.0
- Combines
lollypop.term
andlollypop.preterm
intolollypop
- Simplifies donordata menu
- Renames "anthropometric" to "automatic"
james 0.26.0
- Solves a bug that prevented proper initialisation for 1-21y charts
james 0.25.0
Major changes:
- Splits the site output into "Groei", "Ontwikkeling" and "Voorspeller"
- Add function
fetch_loc()
as a replacement forupload_txt()
andconvert_bds_ind()
- Add function
screen_growth()
as a replacement forscreen_curves()
- Add function
calculate_dscore()
- Add table of primary user functions to README
- Add table of legacy functions indicating preferred alternatives
- Run styler on all R sources
- Move out
upload_txt()
tojamesclient
package - Transfer toJSON() call in
custom_list()
to its caller screen_curves(), socustom_list()
doesn't anymore JSONify the function result
Minor changes
...