NEWS
camalienr 0.6.0
ca_get_image(), ca_get_imagemeta() and ca_get_detectionsummary() reach
tables that only exist on hosts using the original (v1) image model. On a
host that has retired them they no longer fail with a raw
relation "data.image" does not exist, but name the data2 table that took
over and the accessor that reaches it (#7).
- New
ca_get_tbl() returns any table from any schema, so data2, gbif,
tasks and backup are reachable without a wrapper of their own. Every
ca_get_*() function is now a thin wrapper around it, and the schema is no
longer hardcoded in each of them.
- New accessors for the v2 image model:
ca_get_imagefile() (the file, which
replaces data.image), ca_get_imagedata() (the capture, which replaces
data.imagemeta), ca_get_additionalimagedata() and ca_get_session().
- New
ca_get_session_tbl(), the v2 counterpart of ca_get_join_tbl().
Ownership in the v2 model runs partner → session → imagedata, so join it to
ca_get_imagedata() on sessionid. The chunk chain is not a substitute
there: data2.imagefile.chunkid is empty for a good part of the images.
- New
ca_image_model() reports whether a connection carries the v1 or the v2
image model, for code that has to run against either.
ca_stat_images() and ca_stat_tagged() follow whichever image model the
host carries, and so return the same summary on both.
camalienr 0.5.0
ca_connect() no longer hardcodes the connection target. Host, database name
and port are read from the environment, and can be overridden with the new
host, dbname and port arguments, so the same function can now reach any
camalien database (#6).
- Breaking: CAMALIEN_HOST is now required. There is no default host, so a
connection is never silently made to a database you did not ask for. Add
CAMALIEN_HOST=<HOST> to your .REnviron file. CAMALIEN_DB and CAMALIEN_PORT
are optional and default to camalien and 5432.
ca_connect() fails with an informative error listing the missing
environment variables, instead of handing an incomplete connection to libpq.
ca_connect() now disables GSSAPI encryption negotiation. Kerberos was
attempted before password authentication, which masked authentication
failures behind a misleading GSSAPI error.
camalienr 0.4.2
- Update the
ias dataset with names from GBIF
camalienr 0.4.1
camalienr 0.4.0
- Version bump after publication on r-universe.dev.
- Minor change to the
ias dataset (swapped the gbif used for Zizania latifolia to that which is used by Plantnet)
- Require R version >= 3.5
camalienr 0.3.7
- Update partners data set with Belgium.
- Update ias dataset after Sweden added species to the googlesheet with species. Moe of Dk added additional species for ExEa. Belgian and Azores species also added. Add species to the Czech list. A few issues with synonyms were also resolved for Humulus japonica and Conyza canadensis.
- Update installation instructions with info on how to install from a specific branch.
camalienr 0.3.6
- Add
images dataset
- Add examples to the ca_img functions.
- Fix bug in
camalienr::ca_img_detection where nrow and ncol was swapped.
- lwd arg was being ignored in
camalienr::ca_img_detection, now fixed.
camalienr 0.3.5
- Bugfix for printing issue which was not fixed in previous version
camalienr 0.3.4
- Fix for unwanted printing to console from the ca_img family of functions.
camalienr 0.3.3
- Allow for filled polygons to be plotted in
camalienr::ca_img_detection. This allows for overlayed transparent polygons.
camalienr 0.3.2
- Update
camalienr::ias data on invasive alien species
camalienr 0.3.1
- Use {dm} for database visualisation.
- Update
camalienr::ias data on invasive alien species
camalienr 0.3.0
- Add
camalienr::partners data with names and acronyms
- Update
camalienr::ias data on invasive alien species
camalienr 0.2.9
- Add
camalienr::ca_json_read() to read json files.
- Add
camalienr::ca_parse_job() to parse the job file from the uploader
- Add
camalienr::ca_parse_chunks() to parse the chunk files from the uploader
camalienr 0.2.8
- Add
camalienr::ca_stat_images() to get image numbers per partner.
- Add
camalienr::ca_stat_jobsize() to get job sizes per partner.
- Add
camalienr::ca_stat_tagged() to get the ratio of tagged per partner.
camalienr 0.2.7
- Add
camalienr::ca_get_chunk()
- Add
camalienr::ca_get_partner()
camalienr 0.2.6
- Add package start up message
- Add dataset with Danish invasive alien species
camalienr 0.2.5
- Add
camalienr::ca_get_detectionsummary()
- Add
camalienr::ca_get_species()
camalienr 0.2.4
- Add Positions section to the detections article
camalienr 0.2.3
- Add
ca_img_detection() to visualize detections
camalienr 0.2.2
- Add article about detections.
- Internal refactoring.
camalienr 0.2.1
- Add
camalienr::ca_img_read() to read images from URL.
- Add
camalienr::ca_img_plot() to plot images.
- Add
camalienr::ca_img_grid() to plot grid of images.
- Import {glue}
camalienr 0.2.0
- Launch package website.
- Change
camalienr::ca_connect() to use hardcoded values for those that stay the same between users.
camalienr 0.1.0
- Add ca_connect function.
- Add ca_as_sf to convert tables to sf.
- Add ca_get family of function to get the most commonly used tables from the database.