Skip to content

Commit

Permalink
clean up internal data
Browse files Browse the repository at this point in the history
- rebuild sysdata.rda
- remove references to corroboree from README and corella-package help
- remove code for eml checks (moved to paperbark)
  • Loading branch information
mjwestgate committed Dec 5, 2024
1 parent d3999aa commit b9d7564
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 1,395 deletions.
3 changes: 2 additions & 1 deletion R/corella-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#' Using `{corella}` will allow users to verify that their data can be used to
#' build 'Darwin Core Archives' using the `{galaxias}` package
#'
#' The package is named for an endangered species of alpine frog.
#' The package is named for a genus of Australian birds. The logo image is of
#' the Little Corella (_Cacatua sanguinea_), and was drawn by Dax Kellie.
#'
#' @name corella-package
#' @docType package
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
8 changes: 2 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ knitr::opts_chunk$set(
`corella` is an R package that helps users standardize their data using the
[*Darwin Core*](https://dwc.tdwg.org) data standard, used for biodiversity data like species occurrences. `corella` provides tools to prepare, manipulate and validate data against the standard's criteria. Once standardized, data can be subsequently shared as a [*Darwin Core Archive*](https://ipt.gbif.org/manual/en/ipt/latest/dwca-guide#what-is-darwin-core-archive-dwc-a) and published to open data infrastructures like the [Atlas of Living Australia](https://www.ala.org.au) and [GBIF](https://www.gbif.org/).

`corella` was
built, and is maintained, by the [Science & Decision Support
Team](https://labs.ala.org.au) at the [Atlas of Living
Australia](https://www.ala.org.au) (ALA). The package is named for an endangered Australian species of [alpine frog](https://bie.ala.org.au/species/https://biodiversity.org.au/afd/taxa/cbf9278d-64b7-43d6-9691-78b99b2eb65f#overview) native to the marshlands and forests of ACT and NSW.
`corella` was built, and is maintained, by the [Science & Decision Support Team](https://labs.ala.org.au) at the [Atlas of Living Australia](https://www.ala.org.au) (ALA). It is named for the Little Corella ([_Cacatua sanguinea_](https://bie.ala.org.au/species/https%3A//biodiversity.org.au/afd/taxa/34b31e86-7ade-4cba-960f-82a6ae586206)).

If you have any comments, questions or suggestions, please [contact
us](mailto:[email protected]).
If you have any comments, questions or suggestions, please [contact us](mailto:[email protected]).


## Installation
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ Australia](https://www.ala.org.au) and [GBIF](https://www.gbif.org/).

`corella` was built, and is maintained, by the [Science & Decision
Support Team](https://labs.ala.org.au) at the [Atlas of Living
Australia](https://www.ala.org.au) (ALA). The package is named for an
endangered Australian species of [alpine
frog](https://bie.ala.org.au/species/https://biodiversity.org.au/afd/taxa/cbf9278d-64b7-43d6-9691-78b99b2eb65f#overview)
native to the marshlands and forests of ACT and NSW.
Australia](https://www.ala.org.au) (ALA). It is named for the Little
Corella ([*Cacatua
sanguinea*](https://bie.ala.org.au/species/https%3A//biodiversity.org.au/afd/taxa/34b31e86-7ade-4cba-960f-82a6ae586206)).

If you have any comments, questions or suggestions, please [contact
us](mailto:[email protected]).
Expand Down Expand Up @@ -149,7 +148,7 @@ df |>
#> ℹ Testing data
#> ✔ | E P | Column
#> ⠙ | 0 eventDate
#> ✔ | 1 ✖ | eventDate [268ms]
#> ✔ | 1 ✖ | eventDate [62ms]
#> ══ Results ═════════════════════════════════════════════════════════════════════
#>
#> [ Errors: 1 | Pass: 0 ]
Expand Down
1,368 changes: 0 additions & 1,368 deletions data-raw/eml-gbif-profile.xsd

This file was deleted.

14 changes: 0 additions & 14 deletions data-raw/internal-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@
# https://r-pkgs.org/data.html

devtools::load_all()
# library(xml2) # convert example XML to list
library(usethis) # adding content to sysdata.rda

# # eml validation
# download.file(
# url = "http://rs.gbif.org/schema/eml-gbif-profile/1.1/eml-gbif-profile.xsd",
# destfile = "./data-raw/eml-gbif-profile.xsd")
# metadata_validator_xsd <- read_xml("http://rs.gbif.org/schema/eml-gbif-profile/1.1/eml-gbif-profile.xsd")
# # NOTE: using `read_xml()` on local file causes `xml_validate()` to break
# # Hence we cache the file here for safety reasons, but load it with `read_xml`
# # from the url to ensure it actually works.

# eml.xml template
# https://support.ala.org.au/support/solutions/articles/6000261427-sharing-a-dataset-with-the-ala

library(readr)
library(dplyr)

Expand Down
10 changes: 9 additions & 1 deletion man/corella-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9d7564

Please sign in to comment.