diff --git a/jupyterbook/content/code_gallery/data_management_notebooks/DRAFT-R-netCDF2DwC.ipynb b/jupyterbook/content/code_gallery/data_management_notebooks/DRAFT-R-netCDF2DwC.ipynb index 2c3f62db..5dfcc921 100644 --- a/jupyterbook/content/code_gallery/data_management_notebooks/DRAFT-R-netCDF2DwC.ipynb +++ b/jupyterbook/content/code_gallery/data_management_notebooks/DRAFT-R-netCDF2DwC.ipynb @@ -14,8 +14,7 @@ "\n", "For more information on the tidync package, see this R blog: [https://ropensci.org/blog/2019/11/05/tidync/](https://ropensci.org/blog/2019/11/05/tidync/)\n", "\n", - "**Caution** This notebook uses an example file for testing purposes. The data contained in the file are **not real**, they are within normal bounds to give a perspective of what the observations could look lik\n", - "e." + "Data used in this notebook are available from NCEI at the following link https://www.ncei.noaa.gov/archive/accession/0282699." ] }, { @@ -27,26 +26,32 @@ "name": "stderr", "output_type": "stream", "text": [ - "rgeos version: 0.6-4, (SVN revision 699)\n", - " GEOS runtime version: 3.12.0-CAPI-1.18.0 \n", - " Please note that rgeos will be retired during October 2023,\n", - "plan transition to sf or terra functions using GEOS at your earliest convenience.\n", - "See https://r-spatial.org/r/2023/05/15/evolution4.html for details.\n", - " GEOS using OverlayNG\n", - " Linking to sp version: 2.0-0 \n", - " Polygon checking: TRUE \n", + "The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,\n", + "which was just loaded, will retire in October 2023.\n", + "Please refer to R-spatial evolution reports for details, especially\n", + "https://r-spatial.org/r/2023/05/15/evolution4.html.\n", + "It may be desirable to make the sf package available;\n", + "package maintainers should consider adding sf to Suggests:.\n", + "The sp package is now running under evolution status 2\n", + " (status 2 uses the sf package in place of rgdal)\n", "\n", - "\n", - "-- \u001b[1mAttaching core tidyverse packages\u001b[22m ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse 2.0.0 --\n", - "\u001b[32mv\u001b[39m \u001b[34mdplyr \u001b[39m 1.1.3 \u001b[32mv\u001b[39m \u001b[34mreadr \u001b[39m 2.1.4\n", - "\u001b[32mv\u001b[39m \u001b[34mforcats \u001b[39m 1.0.0 \u001b[32mv\u001b[39m \u001b[34mstringr \u001b[39m 1.5.0\n", - "\u001b[32mv\u001b[39m \u001b[34mggplot2 \u001b[39m 3.4.2 \u001b[32mv\u001b[39m \u001b[34mtibble \u001b[39m 3.2.1\n", - "\u001b[32mv\u001b[39m \u001b[34mlubridate\u001b[39m 1.9.3 \u001b[32mv\u001b[39m \u001b[34mtidyr \u001b[39m 1.3.0\n", - "\u001b[32mv\u001b[39m \u001b[34mpurrr \u001b[39m 1.0.2 \n", - "-- \u001b[1mConflicts\u001b[22m ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse_conflicts() --\n", + "-- \u001b[1mAttaching packages\u001b[22m ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse 1.3.2 --\n", + "\u001b[32mv\u001b[39m \u001b[34mggplot2\u001b[39m 3.4.2 \u001b[32mv\u001b[39m \u001b[34mpurrr \u001b[39m 1.0.1\n", + "\u001b[32mv\u001b[39m \u001b[34mtibble \u001b[39m 3.2.1 \u001b[32mv\u001b[39m \u001b[34mdplyr \u001b[39m 1.1.1\n", + "\u001b[32mv\u001b[39m \u001b[34mtidyr \u001b[39m 1.3.0 \u001b[32mv\u001b[39m \u001b[34mstringr\u001b[39m 1.5.0\n", + "\u001b[32mv\u001b[39m \u001b[34mreadr \u001b[39m 2.1.4 \u001b[32mv\u001b[39m \u001b[34mforcats\u001b[39m 1.0.0\n", + "-- \u001b[1mConflicts\u001b[22m -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- tidyverse_conflicts() --\n", "\u001b[31mx\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mfilter()\u001b[39m masks \u001b[34mstats\u001b[39m::filter()\n", "\u001b[31mx\u001b[39m \u001b[34mdplyr\u001b[39m::\u001b[32mlag()\u001b[39m masks \u001b[34mstats\u001b[39m::lag()\n", - "\u001b[36mi\u001b[39m Use the conflicted package (\u001b[3m\u001b[34m\u001b[39m\u001b[23m) to force all conflicts to become errors\n", + "\n", + "Attaching package: 'lubridate'\n", + "\n", + "\n", + "The following objects are masked from 'package:base':\n", + "\n", + " date, intersect, setdiff, union\n", + "\n", + "\n", "\n", "Attaching package: 'maps'\n", "\n", @@ -96,26 +101,35 @@ "[1] stats graphics grDevices utils datasets methods base \n", "\n", "other attached packages:\n", - " [1] mapdata_2.3.1 maps_3.4.1.1 lubridate_1.9.3 forcats_1.0.0 \n", - " [5] stringr_1.5.0 dplyr_1.1.3 purrr_1.0.2 readr_2.1.4 \n", - " [9] tidyr_1.3.0 tibble_3.2.1 ggplot2_3.4.2 tidyverse_2.0.0 \n", + " [1] mapdata_2.3.1 maps_3.4.1 lubridate_1.9.2 forcats_1.0.0 \n", + " [5] stringr_1.5.0 dplyr_1.1.1 purrr_1.0.1 readr_2.1.4 \n", + " [9] tidyr_1.3.0 tibble_3.2.1 ggplot2_3.4.2 tidyverse_1.3.2 \n", "[13] ncdf4_1.21 obistools_0.0.10 tidync_0.3.0 \n", "\n", "loaded via a namespace (and not attached):\n", - " [1] Rcpp_1.0.11 lattice_0.22-5 digest_0.6.33 utf8_1.2.4 \n", - " [5] IRdisplay_1.1 R6_2.5.1 repr_1.1.6 evaluate_0.21 \n", - " [9] pillar_1.9.0 rlang_1.1.2 uuid_1.1-1 ncmeta_0.3.5 \n", - "[13] geosphere_1.5-18 rmarkdown_2.22 htmlwidgets_1.6.2 munsell_0.5.0 \n", - "[17] compiler_4.1.3 xfun_0.41 pkgconfig_2.0.3 base64enc_0.1-3 \n", - "[21] rgeos_0.6-4 htmltools_0.5.7 tidyselect_1.2.0 fansi_1.0.5 \n", - "[25] tzdb_0.4.0 crayon_1.5.2 withr_2.5.0 rappdirs_0.3.3 \n", - "[29] grid_4.1.3 jsonlite_1.8.7 gtable_0.3.3 lifecycle_1.0.3 \n", - "[33] magrittr_2.0.3 scales_1.2.1 cli_3.6.1 stringi_1.7.12 \n", - "[37] leaflet_2.1.2 sp_2.1-1 xml2_1.3.3 generics_0.1.3 \n", - "[41] vctrs_0.6.4 IRkernel_1.3.2 data.tree_1.0.0 tools_4.1.3 \n", - "[45] glue_1.6.2 RNetCDF_2.6-2 hms_1.1.3 crosstalk_1.2.0 \n", - "[49] fastmap_1.1.1 timechange_0.2.0 colorspace_2.1-0 pbdZMQ_0.3-10 \n", - "[53] knitr_1.43 " + " [1] httr_1.4.6 jsonlite_1.8.4 modelr_0.1.11 \n", + " [4] sp_2.0-0 googlesheets4_1.1.0 cellranger_1.1.0 \n", + " [7] pillar_1.9.0 backports_1.4.1 lattice_0.20-45 \n", + "[10] glue_1.6.2 uuid_1.1-0 digest_0.6.31 \n", + "[13] rvest_1.0.3 colorspace_2.1-0 htmltools_0.5.5 \n", + "[16] pkgconfig_2.0.3 broom_1.0.4 haven_2.5.2 \n", + "[19] scales_1.2.1 tzdb_0.3.0 timechange_0.2.0 \n", + "[22] googledrive_2.1.0 generics_0.1.3 withr_2.5.0 \n", + "[25] repr_1.1.6 cli_3.6.0 readxl_1.4.2 \n", + "[28] magrittr_2.0.3 crayon_1.5.2 evaluate_0.20 \n", + "[31] data.tree_1.0.0 fs_1.6.1 fansi_1.0.4 \n", + "[34] xml2_1.3.3 tools_4.1.3 hms_1.1.3 \n", + "[37] geosphere_1.5-18 gargle_1.4.0 lifecycle_1.0.3 \n", + "[40] reprex_2.0.2 munsell_0.5.0 compiler_4.1.3 \n", + "[43] RNetCDF_2.6-2 rlang_1.1.0 grid_4.1.3 \n", + "[46] pbdZMQ_0.3-9 IRkernel_1.3.2 rappdirs_0.3.3 \n", + "[49] htmlwidgets_1.6.2 crosstalk_1.2.0 base64enc_0.1-3 \n", + "[52] rmarkdown_2.20 gtable_0.3.3 DBI_1.1.3 \n", + "[55] R6_2.5.1 ncmeta_0.3.5 knitr_1.42 \n", + "[58] fastmap_1.1.1 rgeos_0.6-2 utf8_1.2.3 \n", + "[61] stringi_1.7.12 IRdisplay_1.1 Rcpp_1.0.10 \n", + "[64] vctrs_0.6.1 leaflet_2.1.2 dbplyr_2.3.2 \n", + "[67] tidyselect_1.2.0 xfun_0.37 " ] }, "metadata": {}, @@ -617,329 +631,6 @@ "atn" ] }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\n", - "
A tibble: 36 × 5
idnametypendimsnatts
<int><chr><chr><int><int>
0deploy_id NC_STRING0 7
1time NC_DOUBLE113
2z NC_INT 112
3lat NC_DOUBLE114
4lon NC_DOUBLE114
5ptt NC_INT 1 7
6instrument NC_STRING1 6
7type NC_STRING1 6
8location_class NC_STRING110
9error_radius NC_INT 1 9
10semi_major_axis NC_INT 1 9
11semi_minor_axis NC_INT 1 9
12ellipse_orientation NC_INT 1 9
13offset NC_INT 1 9
14offset_orientation NC_INT 1 9
15gpe_msd NC_DOUBLE1 8
16gpe_u NC_DOUBLE1 8
17count NC_INT 1 8
18qartod_time_flag NC_UBYTE 1 9
19qartod_speed_flag NC_UBYTE 1 9
20qartod_location_flagNC_UBYTE 1 9
21qartod_rollup_flag NC_UBYTE 1 9
22crs NC_INT 0 6
23trajectory NC_STRING0 2
24animal_age NC_INT 0 5
25animal_life_stage NC_STRING0 3
26animal_sex NC_STRING0 3
27animal_weight NC_FLOAT 0 5
28animal_length NC_FLOAT 0 6
29animal_length_2 NC_FLOAT 0 6
30animal NC_STRING023
31instrument_tag NC_STRING0 6
32instrument_location NC_STRING0 8
33taxon_name NC_STRING0 5
34taxon_lsid NC_STRING0 5
35comment NC_STRING1 6
\n" - ], - "text/latex": [ - "A tibble: 36 × 5\n", - "\\begin{tabular}{lllll}\n", - " id & name & type & ndims & natts\\\\\n", - " & & & & \\\\\n", - "\\hline\n", - "\t 0 & deploy\\_id & NC\\_STRING & 0 & 7\\\\\n", - "\t 1 & time & NC\\_DOUBLE & 1 & 13\\\\\n", - "\t 2 & z & NC\\_INT & 1 & 12\\\\\n", - "\t 3 & lat & NC\\_DOUBLE & 1 & 14\\\\\n", - "\t 4 & lon & NC\\_DOUBLE & 1 & 14\\\\\n", - "\t 5 & ptt & NC\\_INT & 1 & 7\\\\\n", - "\t 6 & instrument & NC\\_STRING & 1 & 6\\\\\n", - "\t 7 & type & NC\\_STRING & 1 & 6\\\\\n", - "\t 8 & location\\_class & NC\\_STRING & 1 & 10\\\\\n", - "\t 9 & error\\_radius & NC\\_INT & 1 & 9\\\\\n", - "\t 10 & semi\\_major\\_axis & NC\\_INT & 1 & 9\\\\\n", - "\t 11 & semi\\_minor\\_axis & NC\\_INT & 1 & 9\\\\\n", - "\t 12 & ellipse\\_orientation & NC\\_INT & 1 & 9\\\\\n", - "\t 13 & offset & NC\\_INT & 1 & 9\\\\\n", - "\t 14 & offset\\_orientation & NC\\_INT & 1 & 9\\\\\n", - "\t 15 & gpe\\_msd & NC\\_DOUBLE & 1 & 8\\\\\n", - "\t 16 & gpe\\_u & NC\\_DOUBLE & 1 & 8\\\\\n", - "\t 17 & count & NC\\_INT & 1 & 8\\\\\n", - "\t 18 & qartod\\_time\\_flag & NC\\_UBYTE & 1 & 9\\\\\n", - "\t 19 & qartod\\_speed\\_flag & NC\\_UBYTE & 1 & 9\\\\\n", - "\t 20 & qartod\\_location\\_flag & NC\\_UBYTE & 1 & 9\\\\\n", - "\t 21 & qartod\\_rollup\\_flag & NC\\_UBYTE & 1 & 9\\\\\n", - "\t 22 & crs & NC\\_INT & 0 & 6\\\\\n", - "\t 23 & trajectory & NC\\_STRING & 0 & 2\\\\\n", - "\t 24 & animal\\_age & NC\\_INT & 0 & 5\\\\\n", - "\t 25 & animal\\_life\\_stage & NC\\_STRING & 0 & 3\\\\\n", - "\t 26 & animal\\_sex & NC\\_STRING & 0 & 3\\\\\n", - "\t 27 & animal\\_weight & NC\\_FLOAT & 0 & 5\\\\\n", - "\t 28 & animal\\_length & NC\\_FLOAT & 0 & 6\\\\\n", - "\t 29 & animal\\_length\\_2 & NC\\_FLOAT & 0 & 6\\\\\n", - "\t 30 & animal & NC\\_STRING & 0 & 23\\\\\n", - "\t 31 & instrument\\_tag & NC\\_STRING & 0 & 6\\\\\n", - "\t 32 & instrument\\_location & NC\\_STRING & 0 & 8\\\\\n", - "\t 33 & taxon\\_name & NC\\_STRING & 0 & 5\\\\\n", - "\t 34 & taxon\\_lsid & NC\\_STRING & 0 & 5\\\\\n", - "\t 35 & comment & NC\\_STRING & 1 & 6\\\\\n", - "\\end{tabular}\n" - ], - "text/markdown": [ - "\n", - "A tibble: 36 × 5\n", - "\n", - "| id <int> | name <chr> | type <chr> | ndims <int> | natts <int> |\n", - "|---|---|---|---|---|\n", - "| 0 | deploy_id | NC_STRING | 0 | 7 |\n", - "| 1 | time | NC_DOUBLE | 1 | 13 |\n", - "| 2 | z | NC_INT | 1 | 12 |\n", - "| 3 | lat | NC_DOUBLE | 1 | 14 |\n", - "| 4 | lon | NC_DOUBLE | 1 | 14 |\n", - "| 5 | ptt | NC_INT | 1 | 7 |\n", - "| 6 | instrument | NC_STRING | 1 | 6 |\n", - "| 7 | type | NC_STRING | 1 | 6 |\n", - "| 8 | location_class | NC_STRING | 1 | 10 |\n", - "| 9 | error_radius | NC_INT | 1 | 9 |\n", - "| 10 | semi_major_axis | NC_INT | 1 | 9 |\n", - "| 11 | semi_minor_axis | NC_INT | 1 | 9 |\n", - "| 12 | ellipse_orientation | NC_INT | 1 | 9 |\n", - "| 13 | offset | NC_INT | 1 | 9 |\n", - "| 14 | offset_orientation | NC_INT | 1 | 9 |\n", - "| 15 | gpe_msd | NC_DOUBLE | 1 | 8 |\n", - "| 16 | gpe_u | NC_DOUBLE | 1 | 8 |\n", - "| 17 | count | NC_INT | 1 | 8 |\n", - "| 18 | qartod_time_flag | NC_UBYTE | 1 | 9 |\n", - "| 19 | qartod_speed_flag | NC_UBYTE | 1 | 9 |\n", - "| 20 | qartod_location_flag | NC_UBYTE | 1 | 9 |\n", - "| 21 | qartod_rollup_flag | NC_UBYTE | 1 | 9 |\n", - "| 22 | crs | NC_INT | 0 | 6 |\n", - "| 23 | trajectory | NC_STRING | 0 | 2 |\n", - "| 24 | animal_age | NC_INT | 0 | 5 |\n", - "| 25 | animal_life_stage | NC_STRING | 0 | 3 |\n", - "| 26 | animal_sex | NC_STRING | 0 | 3 |\n", - "| 27 | animal_weight | NC_FLOAT | 0 | 5 |\n", - "| 28 | animal_length | NC_FLOAT | 0 | 6 |\n", - "| 29 | animal_length_2 | NC_FLOAT | 0 | 6 |\n", - "| 30 | animal | NC_STRING | 0 | 23 |\n", - "| 31 | instrument_tag | NC_STRING | 0 | 6 |\n", - "| 32 | instrument_location | NC_STRING | 0 | 8 |\n", - "| 33 | taxon_name | NC_STRING | 0 | 5 |\n", - "| 34 | taxon_lsid | NC_STRING | 0 | 5 |\n", - "| 35 | comment | NC_STRING | 1 | 6 |\n", - "\n" - ], - "text/plain": [ - " id name type ndims natts\n", - "1 0 deploy_id NC_STRING 0 7 \n", - "2 1 time NC_DOUBLE 1 13 \n", - "3 2 z NC_INT 1 12 \n", - "4 3 lat NC_DOUBLE 1 14 \n", - "5 4 lon NC_DOUBLE 1 14 \n", - "6 5 ptt NC_INT 1 7 \n", - "7 6 instrument NC_STRING 1 6 \n", - "8 7 type NC_STRING 1 6 \n", - "9 8 location_class NC_STRING 1 10 \n", - "10 9 error_radius NC_INT 1 9 \n", - "11 10 semi_major_axis NC_INT 1 9 \n", - "12 11 semi_minor_axis NC_INT 1 9 \n", - "13 12 ellipse_orientation NC_INT 1 9 \n", - "14 13 offset NC_INT 1 9 \n", - "15 14 offset_orientation NC_INT 1 9 \n", - "16 15 gpe_msd NC_DOUBLE 1 8 \n", - "17 16 gpe_u NC_DOUBLE 1 8 \n", - "18 17 count NC_INT 1 8 \n", - "19 18 qartod_time_flag NC_UBYTE 1 9 \n", - "20 19 qartod_speed_flag NC_UBYTE 1 9 \n", - "21 20 qartod_location_flag NC_UBYTE 1 9 \n", - "22 21 qartod_rollup_flag NC_UBYTE 1 9 \n", - "23 22 crs NC_INT 0 6 \n", - "24 23 trajectory NC_STRING 0 2 \n", - "25 24 animal_age NC_INT 0 5 \n", - "26 25 animal_life_stage NC_STRING 0 3 \n", - "27 26 animal_sex NC_STRING 0 3 \n", - "28 27 animal_weight NC_FLOAT 0 5 \n", - "29 28 animal_length NC_FLOAT 0 6 \n", - "30 29 animal_length_2 NC_FLOAT 0 6 \n", - "31 30 animal NC_STRING 0 23 \n", - "32 31 instrument_tag NC_STRING 0 6 \n", - "33 32 instrument_location NC_STRING 0 8 \n", - "34 33 taxon_name NC_STRING 0 5 \n", - "35 34 taxon_lsid NC_STRING 0 5 \n", - "36 35 comment NC_STRING 1 6 " - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\n", - "
A tibble: 22 × 4
gridndimsvariablenvars
<chr><int><chr><int>
D01time 22
D01z 22
D01lat 22
D01lon 22
D01ptt 22
D01instrument 22
D01type 22
D01location_class 22
D01error_radius 22
D01semi_major_axis 22
D01semi_minor_axis 22
D01ellipse_orientation 22
D01offset 22
D01offset_orientation 22
D01gpe_msd 22
D01gpe_u 22
D01count 22
D01qartod_time_flag 22
D01qartod_speed_flag 22
D01qartod_location_flag22
D01qartod_rollup_flag 22
D01comment 22
\n" - ], - "text/latex": [ - "A tibble: 22 × 4\n", - "\\begin{tabular}{llll}\n", - " grid & ndims & variable & nvars\\\\\n", - " & & & \\\\\n", - "\\hline\n", - "\t D0 & 1 & time & 22\\\\\n", - "\t D0 & 1 & z & 22\\\\\n", - "\t D0 & 1 & lat & 22\\\\\n", - "\t D0 & 1 & lon & 22\\\\\n", - "\t D0 & 1 & ptt & 22\\\\\n", - "\t D0 & 1 & instrument & 22\\\\\n", - "\t D0 & 1 & type & 22\\\\\n", - "\t D0 & 1 & location\\_class & 22\\\\\n", - "\t D0 & 1 & error\\_radius & 22\\\\\n", - "\t D0 & 1 & semi\\_major\\_axis & 22\\\\\n", - "\t D0 & 1 & semi\\_minor\\_axis & 22\\\\\n", - "\t D0 & 1 & ellipse\\_orientation & 22\\\\\n", - "\t D0 & 1 & offset & 22\\\\\n", - "\t D0 & 1 & offset\\_orientation & 22\\\\\n", - "\t D0 & 1 & gpe\\_msd & 22\\\\\n", - "\t D0 & 1 & gpe\\_u & 22\\\\\n", - "\t D0 & 1 & count & 22\\\\\n", - "\t D0 & 1 & qartod\\_time\\_flag & 22\\\\\n", - "\t D0 & 1 & qartod\\_speed\\_flag & 22\\\\\n", - "\t D0 & 1 & qartod\\_location\\_flag & 22\\\\\n", - "\t D0 & 1 & qartod\\_rollup\\_flag & 22\\\\\n", - "\t D0 & 1 & comment & 22\\\\\n", - "\\end{tabular}\n" - ], - "text/markdown": [ - "\n", - "A tibble: 22 × 4\n", - "\n", - "| grid <chr> | ndims <int> | variable <chr> | nvars <int> |\n", - "|---|---|---|---|\n", - "| D0 | 1 | time | 22 |\n", - "| D0 | 1 | z | 22 |\n", - "| D0 | 1 | lat | 22 |\n", - "| D0 | 1 | lon | 22 |\n", - "| D0 | 1 | ptt | 22 |\n", - "| D0 | 1 | instrument | 22 |\n", - "| D0 | 1 | type | 22 |\n", - "| D0 | 1 | location_class | 22 |\n", - "| D0 | 1 | error_radius | 22 |\n", - "| D0 | 1 | semi_major_axis | 22 |\n", - "| D0 | 1 | semi_minor_axis | 22 |\n", - "| D0 | 1 | ellipse_orientation | 22 |\n", - "| D0 | 1 | offset | 22 |\n", - "| D0 | 1 | offset_orientation | 22 |\n", - "| D0 | 1 | gpe_msd | 22 |\n", - "| D0 | 1 | gpe_u | 22 |\n", - "| D0 | 1 | count | 22 |\n", - "| D0 | 1 | qartod_time_flag | 22 |\n", - "| D0 | 1 | qartod_speed_flag | 22 |\n", - "| D0 | 1 | qartod_location_flag | 22 |\n", - "| D0 | 1 | qartod_rollup_flag | 22 |\n", - "| D0 | 1 | comment | 22 |\n", - "\n" - ], - "text/plain": [ - " grid ndims variable nvars\n", - "1 D0 1 time 22 \n", - "2 D0 1 z 22 \n", - "3 D0 1 lat 22 \n", - "4 D0 1 lon 22 \n", - "5 D0 1 ptt 22 \n", - "6 D0 1 instrument 22 \n", - "7 D0 1 type 22 \n", - "8 D0 1 location_class 22 \n", - "9 D0 1 error_radius 22 \n", - "10 D0 1 semi_major_axis 22 \n", - "11 D0 1 semi_minor_axis 22 \n", - "12 D0 1 ellipse_orientation 22 \n", - "13 D0 1 offset 22 \n", - "14 D0 1 offset_orientation 22 \n", - "15 D0 1 gpe_msd 22 \n", - "16 D0 1 gpe_u 22 \n", - "17 D0 1 count 22 \n", - "18 D0 1 qartod_time_flag 22 \n", - "19 D0 1 qartod_speed_flag 22 \n", - "20 D0 1 qartod_location_flag 22 \n", - "21 D0 1 qartod_rollup_flag 22 \n", - "22 D0 1 comment 22 " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "#atn %>% hyper_array()\n", - "vars <- ncmeta::nc_vars(fname)\n", - "vars\n", - "\n", - "ncmeta::nc_grids(fname) %>% tidyr::unnest(cols = c(variables))\n", - "# #hyper_tibble(atn, select_var=\"animal_age\", raw_datavals=TRUE)\n", - "\n", - "# atn %>% activate(\"animal_sex\") %>% hyper_tibble()\n", - "\n", - "# atn %>% hyper_tbl_cube(select_var = \"animal_sex\" )" - ] - }, { "cell_type": "markdown", "metadata": {}, @@ -951,7 +642,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -1313,7 +1004,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -1548,364 +1239,71 @@ }, { "cell_type": "code", - "execution_count": 8, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "
  1. 'animal'
  2. 'animal_age'
  3. 'animal_length'
  4. 'animal_length_2'
  5. 'animal_life_stage'
  6. 'animal_sex'
  7. 'animal_weight'
  8. 'comment'
  9. 'count'
  10. 'crs'
  11. 'deploy_id'
  12. 'ellipse_orientation'
  13. 'error_radius'
  14. 'gpe_msd'
  15. 'gpe_u'
  16. 'instrument'
  17. 'instrument_location'
  18. 'instrument_tag'
  19. 'lat'
  20. 'location_class'
  21. 'lon'
  22. 'offset'
  23. 'offset_orientation'
  24. 'ptt'
  25. 'qartod_location_flag'
  26. 'qartod_rollup_flag'
  27. 'qartod_speed_flag'
  28. 'qartod_time_flag'
  29. 'semi_major_axis'
  30. 'semi_minor_axis'
  31. 'taxon_lsid'
  32. 'taxon_name'
  33. 'time'
  34. 'trajectory'
  35. 'type'
  36. 'z'
\n" - ], - "text/latex": [ - "\\begin{enumerate*}\n", - "\\item 'animal'\n", - "\\item 'animal\\_age'\n", - "\\item 'animal\\_length'\n", - "\\item 'animal\\_length\\_2'\n", - "\\item 'animal\\_life\\_stage'\n", - "\\item 'animal\\_sex'\n", - "\\item 'animal\\_weight'\n", - "\\item 'comment'\n", - "\\item 'count'\n", - "\\item 'crs'\n", - "\\item 'deploy\\_id'\n", - "\\item 'ellipse\\_orientation'\n", - "\\item 'error\\_radius'\n", - "\\item 'gpe\\_msd'\n", - "\\item 'gpe\\_u'\n", - "\\item 'instrument'\n", - "\\item 'instrument\\_location'\n", - "\\item 'instrument\\_tag'\n", - "\\item 'lat'\n", - "\\item 'location\\_class'\n", - "\\item 'lon'\n", - "\\item 'offset'\n", - "\\item 'offset\\_orientation'\n", - "\\item 'ptt'\n", - "\\item 'qartod\\_location\\_flag'\n", - "\\item 'qartod\\_rollup\\_flag'\n", - "\\item 'qartod\\_speed\\_flag'\n", - "\\item 'qartod\\_time\\_flag'\n", - "\\item 'semi\\_major\\_axis'\n", - "\\item 'semi\\_minor\\_axis'\n", - "\\item 'taxon\\_lsid'\n", - "\\item 'taxon\\_name'\n", - "\\item 'time'\n", - "\\item 'trajectory'\n", - "\\item 'type'\n", - "\\item 'z'\n", - "\\end{enumerate*}\n" - ], - "text/markdown": [ - "1. 'animal'\n", - "2. 'animal_age'\n", - "3. 'animal_length'\n", - "4. 'animal_length_2'\n", - "5. 'animal_life_stage'\n", - "6. 'animal_sex'\n", - "7. 'animal_weight'\n", - "8. 'comment'\n", - "9. 'count'\n", - "10. 'crs'\n", - "11. 'deploy_id'\n", - "12. 'ellipse_orientation'\n", - "13. 'error_radius'\n", - "14. 'gpe_msd'\n", - "15. 'gpe_u'\n", - "16. 'instrument'\n", - "17. 'instrument_location'\n", - "18. 'instrument_tag'\n", - "19. 'lat'\n", - "20. 'location_class'\n", - "21. 'lon'\n", - "22. 'offset'\n", - "23. 'offset_orientation'\n", - "24. 'ptt'\n", - "25. 'qartod_location_flag'\n", - "26. 'qartod_rollup_flag'\n", - "27. 'qartod_speed_flag'\n", - "28. 'qartod_time_flag'\n", - "29. 'semi_major_axis'\n", - "30. 'semi_minor_axis'\n", - "31. 'taxon_lsid'\n", - "32. 'taxon_name'\n", - "33. 'time'\n", - "34. 'trajectory'\n", - "35. 'type'\n", - "36. 'z'\n", - "\n", - "\n" - ], - "text/plain": [ - " [1] \"animal\" \"animal_age\" \"animal_length\" \n", - " [4] \"animal_length_2\" \"animal_life_stage\" \"animal_sex\" \n", - " [7] \"animal_weight\" \"comment\" \"count\" \n", - "[10] \"crs\" \"deploy_id\" \"ellipse_orientation\" \n", - "[13] \"error_radius\" \"gpe_msd\" \"gpe_u\" \n", - "[16] \"instrument\" \"instrument_location\" \"instrument_tag\" \n", - "[19] \"lat\" \"location_class\" \"lon\" \n", - "[22] \"offset\" \"offset_orientation\" \"ptt\" \n", - "[25] \"qartod_location_flag\" \"qartod_rollup_flag\" \"qartod_speed_flag\" \n", - "[28] \"qartod_time_flag\" \"semi_major_axis\" \"semi_minor_axis\" \n", - "[31] \"taxon_lsid\" \"taxon_name\" \"time\" \n", - "[34] \"trajectory\" \"type\" \"z\" " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "sort(vars$name)" - ] - }, - { - "cell_type": "code", - "execution_count": 9, + "execution_count": 7, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", "\t\n", "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 29 × 23A tibble: 4 × 23
timezlatlonpttinstrumenttypelocation_classerror_radiussemi_major_axissemi_minor_axisellipse_orientationoffsetoffset_orientationgpe_msdgpe_ucountqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagcommentobs
<dbl><int><dbl><dbl><int><chr><chr><chr><int><int><int><int><int><int><dbl><dbl><int><int><int><int><int><chr><int>
622512000034.030-118.56045866SPOTUser nanNANANANANANANaNNaNNA1211 1
622708920023.590-166.18045866SPOTArgosA NANANANANANANaNNaNNA1414 2
622724940034.024-118.55645866SPOTArgos1 NANANANANANANaNNaNNA1414 3
622725060034.035-118.54945866SPOTArgos0 NANANANANANANaNNaNNA1414 4
622922280034.033-118.54745866SPOTArgos1 NANANANANANANaNNaNNA1111 5
623134860033.517-119.75045866SPOTArgosB NANANANANANANaNNaNNA1111 6
623881440034.038-118.58145866SPOTArgos2 NANANANANANANaNNaNNA1111 7
624452700033.995-118.67845866SPOTArgos0 NANANANANANANaNNaNNA1111 8
624607860034.037-118.54545866SPOTArgos0 NANANANANANANaNNaNNA1111 9
624618000034.026-118.53445866SPOTArgos2 NANANANANANANaNNaNNA111110
624623880034.027-118.54545866SPOTArgos3 NANANANANANANaNNaNNA111111
624703680034.039-118.54845866SPOTArgos1 NANANANANANANaNNaNNA111112
624709560034.031-118.54145866SPOTArgos2 NANANANANANANaNNaNNA111113
624712500034.041-118.53545866SPOTArgos0 NANANANANANANaNNaNNA111114
624795600034.036-118.55745866SPOTArgosA NANANANANANANaNNaNNA111115
625189920033.999-118.61245866SPOTArgos2 NANANANANANANaNNaNNA111116
625190760034.002-118.60445866SPOTArgos0 NANANANANANANaNNaNNA111117
625402380034.022-118.53745866SPOTArgos3 NANANANANANANaNNaNNA111118
625404120034.021-118.57045866SPOTArgosB NANANANANANANaNNaNNA111119
625508460034.010-118.52445866SPOTArgos1 NANANANANANANaNNaNNA111120
625508520034.006-118.52645866SPOTArgos2 NANANANANANANaNNaNNA131321
625665180033.989-118.50445866SPOTArgos2 NANANANANANANaNNaNNA111122
625744980034.021-118.55745866SPOTArgosA NANANANANANANaNNaNNA111123
625866480034.005-118.59145866SPOTArgosA NANANANANANANaNNaNNA111124
625871700034.045-118.53045866SPOTArgos0 NANANANANANANaNNaNNA111125
625957440034.043-118.54145866SPOTArgosA NANANANANANANaNNaNNA111126
626377980034.021-118.61145866SPOTArgosB NANANANANANANaNNaNNA111127
626986080033.993-118.60245866SPOTArgosA NANANANANANANaNNaNNA111128
627801120033.972-118.53445866SPOTArgosB NANANANANANANaNNaNNA111129
622512000034.030-118.56045866SPOTUser nanNANANANANANANaNNaNNA12111
622708920023.590-166.18045866SPOTArgosA NANANANANANANaNNaNNA14142
622724940034.024-118.55645866SPOTArgos1 NANANANANANANaNNaNNA14143
622725060034.035-118.54945866SPOTArgos0 NANANANANANANaNNaNNA14144
\n" ], "text/latex": [ - "A tibble: 29 × 23\n", + "A tibble: 4 × 23\n", "\\begin{tabular}{lllllllllllllllllllllll}\n", " time & z & lat & lon & ptt & instrument & type & location\\_class & error\\_radius & semi\\_major\\_axis & semi\\_minor\\_axis & ellipse\\_orientation & offset & offset\\_orientation & gpe\\_msd & gpe\\_u & count & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & comment & obs\\\\\n", " & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 622512000 & 0 & 34.030 & -118.560 & 45866 & SPOT & User & nan & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 2 & 1 & 1 & & 1\\\\\n", - "\t 622708920 & 0 & 23.590 & -166.180 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 2\\\\\n", - "\t 622724940 & 0 & 34.024 & -118.556 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 3\\\\\n", - "\t 622725060 & 0 & 34.035 & -118.549 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 4\\\\\n", - "\t 622922280 & 0 & 34.033 & -118.547 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 5\\\\\n", - "\t 623134860 & 0 & 33.517 & -119.750 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 6\\\\\n", - "\t 623881440 & 0 & 34.038 & -118.581 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 7\\\\\n", - "\t 624452700 & 0 & 33.995 & -118.678 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 8\\\\\n", - "\t 624607860 & 0 & 34.037 & -118.545 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 9\\\\\n", - "\t 624618000 & 0 & 34.026 & -118.534 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 10\\\\\n", - "\t 624623880 & 0 & 34.027 & -118.545 & 45866 & SPOT & Argos & 3 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 11\\\\\n", - "\t 624703680 & 0 & 34.039 & -118.548 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 12\\\\\n", - "\t 624709560 & 0 & 34.031 & -118.541 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 13\\\\\n", - "\t 624712500 & 0 & 34.041 & -118.535 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 14\\\\\n", - "\t 624795600 & 0 & 34.036 & -118.557 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 15\\\\\n", - "\t 625189920 & 0 & 33.999 & -118.612 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 16\\\\\n", - "\t 625190760 & 0 & 34.002 & -118.604 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 17\\\\\n", - "\t 625402380 & 0 & 34.022 & -118.537 & 45866 & SPOT & Argos & 3 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 18\\\\\n", - "\t 625404120 & 0 & 34.021 & -118.570 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 19\\\\\n", - "\t 625508460 & 0 & 34.010 & -118.524 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 20\\\\\n", - "\t 625508520 & 0 & 34.006 & -118.526 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 3 & 1 & 3 & & 21\\\\\n", - "\t 625665180 & 0 & 33.989 & -118.504 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 22\\\\\n", - "\t 625744980 & 0 & 34.021 & -118.557 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 23\\\\\n", - "\t 625866480 & 0 & 34.005 & -118.591 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 24\\\\\n", - "\t 625871700 & 0 & 34.045 & -118.530 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 25\\\\\n", - "\t 625957440 & 0 & 34.043 & -118.541 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 26\\\\\n", - "\t 626377980 & 0 & 34.021 & -118.611 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 27\\\\\n", - "\t 626986080 & 0 & 33.993 & -118.602 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 28\\\\\n", - "\t 627801120 & 0 & 33.972 & -118.534 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 29\\\\\n", + "\t 622512000 & 0 & 34.030 & -118.560 & 45866 & SPOT & User & nan & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 2 & 1 & 1 & & 1\\\\\n", + "\t 622708920 & 0 & 23.590 & -166.180 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 2\\\\\n", + "\t 622724940 & 0 & 34.024 & -118.556 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 3\\\\\n", + "\t 622725060 & 0 & 34.035 & -118.549 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 4\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 29 × 23\n", + "A tibble: 4 × 23\n", "\n", "| time <dbl> | z <int> | lat <dbl> | lon <dbl> | ptt <int> | instrument <chr> | type <chr> | location_class <chr> | error_radius <int> | semi_major_axis <int> | semi_minor_axis <int> | ellipse_orientation <int> | offset <int> | offset_orientation <int> | gpe_msd <dbl> | gpe_u <dbl> | count <int> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | comment <chr> | obs <int> |\n", "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 622512000 | 0 | 34.030 | -118.560 | 45866 | SPOT | User | nan | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 2 | 1 | 1 | | 1 |\n", - "| 622708920 | 0 | 23.590 | -166.180 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 2 |\n", - "| 622724940 | 0 | 34.024 | -118.556 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 3 |\n", - "| 622725060 | 0 | 34.035 | -118.549 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 4 |\n", - "| 622922280 | 0 | 34.033 | -118.547 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 5 |\n", - "| 623134860 | 0 | 33.517 | -119.750 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 6 |\n", - "| 623881440 | 0 | 34.038 | -118.581 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 7 |\n", - "| 624452700 | 0 | 33.995 | -118.678 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 8 |\n", - "| 624607860 | 0 | 34.037 | -118.545 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 9 |\n", - "| 624618000 | 0 | 34.026 | -118.534 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 10 |\n", - "| 624623880 | 0 | 34.027 | -118.545 | 45866 | SPOT | Argos | 3 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 11 |\n", - "| 624703680 | 0 | 34.039 | -118.548 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 12 |\n", - "| 624709560 | 0 | 34.031 | -118.541 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 13 |\n", - "| 624712500 | 0 | 34.041 | -118.535 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 14 |\n", - "| 624795600 | 0 | 34.036 | -118.557 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 15 |\n", - "| 625189920 | 0 | 33.999 | -118.612 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 16 |\n", - "| 625190760 | 0 | 34.002 | -118.604 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 17 |\n", - "| 625402380 | 0 | 34.022 | -118.537 | 45866 | SPOT | Argos | 3 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 18 |\n", - "| 625404120 | 0 | 34.021 | -118.570 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 19 |\n", - "| 625508460 | 0 | 34.010 | -118.524 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 20 |\n", - "| 625508520 | 0 | 34.006 | -118.526 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 3 | 1 | 3 | | 21 |\n", - "| 625665180 | 0 | 33.989 | -118.504 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 22 |\n", - "| 625744980 | 0 | 34.021 | -118.557 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 23 |\n", - "| 625866480 | 0 | 34.005 | -118.591 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 24 |\n", - "| 625871700 | 0 | 34.045 | -118.530 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 25 |\n", - "| 625957440 | 0 | 34.043 | -118.541 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 26 |\n", - "| 626377980 | 0 | 34.021 | -118.611 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 27 |\n", - "| 626986080 | 0 | 33.993 | -118.602 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 28 |\n", - "| 627801120 | 0 | 33.972 | -118.534 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 29 |\n", + "| 622512000 | 0 | 34.030 | -118.560 | 45866 | SPOT | User | nan | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 2 | 1 | 1 | | 1 |\n", + "| 622708920 | 0 | 23.590 | -166.180 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 2 |\n", + "| 622724940 | 0 | 34.024 | -118.556 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 3 |\n", + "| 622725060 | 0 | 34.035 | -118.549 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 4 |\n", "\n" ], "text/plain": [ - " time z lat lon ptt instrument type location_class\n", - "1 622512000 0 34.030 -118.560 45866 SPOT User nan \n", - "2 622708920 0 23.590 -166.180 45866 SPOT Argos A \n", - "3 622724940 0 34.024 -118.556 45866 SPOT Argos 1 \n", - "4 622725060 0 34.035 -118.549 45866 SPOT Argos 0 \n", - "5 622922280 0 34.033 -118.547 45866 SPOT Argos 1 \n", - "6 623134860 0 33.517 -119.750 45866 SPOT Argos B \n", - "7 623881440 0 34.038 -118.581 45866 SPOT Argos 2 \n", - "8 624452700 0 33.995 -118.678 45866 SPOT Argos 0 \n", - "9 624607860 0 34.037 -118.545 45866 SPOT Argos 0 \n", - "10 624618000 0 34.026 -118.534 45866 SPOT Argos 2 \n", - "11 624623880 0 34.027 -118.545 45866 SPOT Argos 3 \n", - "12 624703680 0 34.039 -118.548 45866 SPOT Argos 1 \n", - "13 624709560 0 34.031 -118.541 45866 SPOT Argos 2 \n", - "14 624712500 0 34.041 -118.535 45866 SPOT Argos 0 \n", - "15 624795600 0 34.036 -118.557 45866 SPOT Argos A \n", - "16 625189920 0 33.999 -118.612 45866 SPOT Argos 2 \n", - "17 625190760 0 34.002 -118.604 45866 SPOT Argos 0 \n", - "18 625402380 0 34.022 -118.537 45866 SPOT Argos 3 \n", - "19 625404120 0 34.021 -118.570 45866 SPOT Argos B \n", - "20 625508460 0 34.010 -118.524 45866 SPOT Argos 1 \n", - "21 625508520 0 34.006 -118.526 45866 SPOT Argos 2 \n", - "22 625665180 0 33.989 -118.504 45866 SPOT Argos 2 \n", - "23 625744980 0 34.021 -118.557 45866 SPOT Argos A \n", - "24 625866480 0 34.005 -118.591 45866 SPOT Argos A \n", - "25 625871700 0 34.045 -118.530 45866 SPOT Argos 0 \n", - "26 625957440 0 34.043 -118.541 45866 SPOT Argos A \n", - "27 626377980 0 34.021 -118.611 45866 SPOT Argos B \n", - "28 626986080 0 33.993 -118.602 45866 SPOT Argos A \n", - "29 627801120 0 33.972 -118.534 45866 SPOT Argos B \n", - " error_radius semi_major_axis semi_minor_axis ellipse_orientation offset\n", - "1 NA NA NA NA NA \n", - "2 NA NA NA NA NA \n", - "3 NA NA NA NA NA \n", - "4 NA NA NA NA NA \n", - "5 NA NA NA NA NA \n", - "6 NA NA NA NA NA \n", - "7 NA NA NA NA NA \n", - "8 NA NA NA NA NA \n", - "9 NA NA NA NA NA \n", - "10 NA NA NA NA NA \n", - "11 NA NA NA NA NA \n", - "12 NA NA NA NA NA \n", - "13 NA NA NA NA NA \n", - "14 NA NA NA NA NA \n", - "15 NA NA NA NA NA \n", - "16 NA NA NA NA NA \n", - "17 NA NA NA NA NA \n", - "18 NA NA NA NA NA \n", - "19 NA NA NA NA NA \n", - "20 NA NA NA NA NA \n", - "21 NA NA NA NA NA \n", - "22 NA NA NA NA NA \n", - "23 NA NA NA NA NA \n", - "24 NA NA NA NA NA \n", - "25 NA NA NA NA NA \n", - "26 NA NA NA NA NA \n", - "27 NA NA NA NA NA \n", - "28 NA NA NA NA NA \n", - "29 NA NA NA NA NA \n", - " offset_orientation gpe_msd gpe_u count qartod_time_flag qartod_speed_flag\n", - "1 NA NaN NaN NA 1 2 \n", - "2 NA NaN NaN NA 1 4 \n", - "3 NA NaN NaN NA 1 4 \n", - "4 NA NaN NaN NA 1 4 \n", - "5 NA NaN NaN NA 1 1 \n", - "6 NA NaN NaN NA 1 1 \n", - "7 NA NaN NaN NA 1 1 \n", - "8 NA NaN NaN NA 1 1 \n", - "9 NA NaN NaN NA 1 1 \n", - "10 NA NaN NaN NA 1 1 \n", - "11 NA NaN NaN NA 1 1 \n", - "12 NA NaN NaN NA 1 1 \n", - "13 NA NaN NaN NA 1 1 \n", - "14 NA NaN NaN NA 1 1 \n", - "15 NA NaN NaN NA 1 1 \n", - "16 NA NaN NaN NA 1 1 \n", - "17 NA NaN NaN NA 1 1 \n", - "18 NA NaN NaN NA 1 1 \n", - "19 NA NaN NaN NA 1 1 \n", - "20 NA NaN NaN NA 1 1 \n", - "21 NA NaN NaN NA 1 3 \n", - "22 NA NaN NaN NA 1 1 \n", - "23 NA NaN NaN NA 1 1 \n", - "24 NA NaN NaN NA 1 1 \n", - "25 NA NaN NaN NA 1 1 \n", - "26 NA NaN NaN NA 1 1 \n", - "27 NA NaN NaN NA 1 1 \n", - "28 NA NaN NaN NA 1 1 \n", - "29 NA NaN NaN NA 1 1 \n", - " qartod_location_flag qartod_rollup_flag comment obs\n", - "1 1 1 1 \n", - "2 1 4 2 \n", - "3 1 4 3 \n", - "4 1 4 4 \n", - "5 1 1 5 \n", - "6 1 1 6 \n", - "7 1 1 7 \n", - "8 1 1 8 \n", - "9 1 1 9 \n", - "10 1 1 10 \n", - "11 1 1 11 \n", - "12 1 1 12 \n", - "13 1 1 13 \n", - "14 1 1 14 \n", - "15 1 1 15 \n", - "16 1 1 16 \n", - "17 1 1 17 \n", - "18 1 1 18 \n", - "19 1 1 19 \n", - "20 1 1 20 \n", - "21 1 3 21 \n", - "22 1 1 22 \n", - "23 1 1 23 \n", - "24 1 1 24 \n", - "25 1 1 25 \n", - "26 1 1 26 \n", - "27 1 1 27 \n", - "28 1 1 28 \n", - "29 1 1 29 " + " time z lat lon ptt instrument type location_class\n", + "1 622512000 0 34.030 -118.560 45866 SPOT User nan \n", + "2 622708920 0 23.590 -166.180 45866 SPOT Argos A \n", + "3 622724940 0 34.024 -118.556 45866 SPOT Argos 1 \n", + "4 622725060 0 34.035 -118.549 45866 SPOT Argos 0 \n", + " error_radius semi_major_axis semi_minor_axis ellipse_orientation offset\n", + "1 NA NA NA NA NA \n", + "2 NA NA NA NA NA \n", + "3 NA NA NA NA NA \n", + "4 NA NA NA NA NA \n", + " offset_orientation gpe_msd gpe_u count qartod_time_flag qartod_speed_flag\n", + "1 NA NaN NaN NA 1 2 \n", + "2 NA NaN NaN NA 1 4 \n", + "3 NA NaN NaN NA 1 4 \n", + "4 NA NaN NaN NA 1 4 \n", + " qartod_location_flag qartod_rollup_flag comment obs\n", + "1 1 1 1 \n", + "2 1 4 2 \n", + "3 1 4 3 \n", + "4 1 4 4 " ] }, "metadata": {}, @@ -1919,31 +1317,7 @@ "\n", "atn_tbl <- atn %>% hyper_tibble(force=TRUE)\n", "\n", - "# atn_tbl <- tibble()\n", - "\n", - "# for (var in sort(vars$name)){\n", - "# print(var)\n", - " \n", - "# #atn_tbl_1 <- tibble(!!var := ncvar_get(atn, var, raw_datavals=TRUE))\n", - " \n", - "# tbl <- tibble(!!var := ncvar_get(atn, var, raw_datavals=TRUE))\n", - " \n", - "# # Test how many values are in variable. if container var with one value, explode to populate entire column.\n", - "# if (dim(tbl)[1] == atn$dim[[1]]$len){\n", - " \n", - "# atn_tbl <- tibble(!!var := ncvar_get(atn, var, raw_datavals=TRUE))\n", - "\n", - "# #print(atn_tbl_1)\n", - " \n", - "# #atn_tbl <- atn_tbl %>% add_column(atn_tbl[1])\n", - "\n", - "# } \n", - " \n", - " \n", - " \n", - "# } #()\n", - "#ncvar_get(atn)\n", - "atn_tbl" + "head(atn_tbl, n=4)" ] }, { @@ -1959,7 +1333,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -2079,246 +1453,57 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", "\t\n", "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 29 × 23A tibble: 2 × 23
timezlatlonpttinstrumenttypelocation_classerror_radiussemi_major_axissemi_minor_axisellipse_orientationoffsetoffset_orientationgpe_msdgpe_ucountqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagcommentobs
<dttm><int><dbl><dbl><int><chr><chr><chr><int><int><int><int><int><int><dbl><dbl><int><int><int><int><int><chr><int>
2009-09-23 00:00:00034.030-118.56045866SPOTUser nanNANANANANANANaNNaNNA1211 1
2009-09-25 06:42:00023.590-166.18045866SPOTArgosA NANANANANANANaNNaNNA1414 2
2009-09-25 11:09:00034.024-118.55645866SPOTArgos1 NANANANANANANaNNaNNA1414 3
2009-09-25 11:11:00034.035-118.54945866SPOTArgos0 NANANANANANANaNNaNNA1414 4
2009-09-27 17:58:00034.033-118.54745866SPOTArgos1 NANANANANANANaNNaNNA1111 5
2009-09-30 05:01:00033.517-119.75045866SPOTArgosB NANANANANANANaNNaNNA1111 6
2009-10-08 20:24:00034.038-118.58145866SPOTArgos2 NANANANANANANaNNaNNA1111 7
2009-10-15 11:05:00033.995-118.67845866SPOTArgos0 NANANANANANANaNNaNNA1111 8
2009-10-17 06:11:00034.037-118.54545866SPOTArgos0 NANANANANANANaNNaNNA1111 9
2009-10-17 09:00:00034.026-118.53445866SPOTArgos2 NANANANANANANaNNaNNA111110
2009-10-17 10:38:00034.027-118.54545866SPOTArgos3 NANANANANANANaNNaNNA111111
2009-10-18 08:48:00034.039-118.54845866SPOTArgos1 NANANANANANANaNNaNNA111112
2009-10-18 10:26:00034.031-118.54145866SPOTArgos2 NANANANANANANaNNaNNA111113
2009-10-18 11:15:00034.041-118.53545866SPOTArgos0 NANANANANANANaNNaNNA111114
2009-10-19 10:20:00034.036-118.55745866SPOTArgosA NANANANANANANaNNaNNA111115
2009-10-23 23:52:00033.999-118.61245866SPOTArgos2 NANANANANANANaNNaNNA111116
2009-10-24 00:06:00034.002-118.60445866SPOTArgos0 NANANANANANANaNNaNNA111117
2009-10-26 10:53:00034.022-118.53745866SPOTArgos3 NANANANANANANaNNaNNA111118
2009-10-26 11:22:00034.021-118.57045866SPOTArgosB NANANANANANANaNNaNNA111119
2009-10-27 16:21:00034.010-118.52445866SPOTArgos1 NANANANANANANaNNaNNA111120
2009-10-27 16:22:00034.006-118.52645866SPOTArgos2 NANANANANANANaNNaNNA131321
2009-10-29 11:53:00033.989-118.50445866SPOTArgos2 NANANANANANANaNNaNNA111122
2009-10-30 10:03:00034.021-118.55745866SPOTArgosA NANANANANANANaNNaNNA111123
2009-10-31 19:48:00034.005-118.59145866SPOTArgosA NANANANANANANaNNaNNA111124
2009-10-31 21:15:00034.045-118.53045866SPOTArgos0 NANANANANANANaNNaNNA111125
2009-11-01 21:04:00034.043-118.54145866SPOTArgosA NANANANANANANaNNaNNA111126
2009-11-06 17:53:00034.021-118.61145866SPOTArgosB NANANANANANANaNNaNNA111127
2009-11-13 18:48:00033.993-118.60245866SPOTArgosA NANANANANANANaNNaNNA111128
2009-11-23 05:12:00033.972-118.53445866SPOTArgosB NANANANANANANaNNaNNA111129
2009-09-23 00:00:00034.03-118.5645866SPOTUser nanNANANANANANANaNNaNNA12111
2009-09-25 06:42:00023.59-166.1845866SPOTArgosA NANANANANANANaNNaNNA14142
\n" ], "text/latex": [ - "A tibble: 29 × 23\n", + "A tibble: 2 × 23\n", "\\begin{tabular}{lllllllllllllllllllllll}\n", " time & z & lat & lon & ptt & instrument & type & location\\_class & error\\_radius & semi\\_major\\_axis & semi\\_minor\\_axis & ellipse\\_orientation & offset & offset\\_orientation & gpe\\_msd & gpe\\_u & count & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & comment & obs\\\\\n", " & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23 00:00:00 & 0 & 34.030 & -118.560 & 45866 & SPOT & User & nan & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 2 & 1 & 1 & & 1\\\\\n", - "\t 2009-09-25 06:42:00 & 0 & 23.590 & -166.180 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 2\\\\\n", - "\t 2009-09-25 11:09:00 & 0 & 34.024 & -118.556 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 3\\\\\n", - "\t 2009-09-25 11:11:00 & 0 & 34.035 & -118.549 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 4\\\\\n", - "\t 2009-09-27 17:58:00 & 0 & 34.033 & -118.547 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 5\\\\\n", - "\t 2009-09-30 05:01:00 & 0 & 33.517 & -119.750 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 6\\\\\n", - "\t 2009-10-08 20:24:00 & 0 & 34.038 & -118.581 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 7\\\\\n", - "\t 2009-10-15 11:05:00 & 0 & 33.995 & -118.678 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 8\\\\\n", - "\t 2009-10-17 06:11:00 & 0 & 34.037 & -118.545 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 9\\\\\n", - "\t 2009-10-17 09:00:00 & 0 & 34.026 & -118.534 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 10\\\\\n", - "\t 2009-10-17 10:38:00 & 0 & 34.027 & -118.545 & 45866 & SPOT & Argos & 3 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 11\\\\\n", - "\t 2009-10-18 08:48:00 & 0 & 34.039 & -118.548 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 12\\\\\n", - "\t 2009-10-18 10:26:00 & 0 & 34.031 & -118.541 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 13\\\\\n", - "\t 2009-10-18 11:15:00 & 0 & 34.041 & -118.535 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 14\\\\\n", - "\t 2009-10-19 10:20:00 & 0 & 34.036 & -118.557 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 15\\\\\n", - "\t 2009-10-23 23:52:00 & 0 & 33.999 & -118.612 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 16\\\\\n", - "\t 2009-10-24 00:06:00 & 0 & 34.002 & -118.604 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 17\\\\\n", - "\t 2009-10-26 10:53:00 & 0 & 34.022 & -118.537 & 45866 & SPOT & Argos & 3 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 18\\\\\n", - "\t 2009-10-26 11:22:00 & 0 & 34.021 & -118.570 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 19\\\\\n", - "\t 2009-10-27 16:21:00 & 0 & 34.010 & -118.524 & 45866 & SPOT & Argos & 1 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 20\\\\\n", - "\t 2009-10-27 16:22:00 & 0 & 34.006 & -118.526 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 3 & 1 & 3 & & 21\\\\\n", - "\t 2009-10-29 11:53:00 & 0 & 33.989 & -118.504 & 45866 & SPOT & Argos & 2 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 22\\\\\n", - "\t 2009-10-30 10:03:00 & 0 & 34.021 & -118.557 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 23\\\\\n", - "\t 2009-10-31 19:48:00 & 0 & 34.005 & -118.591 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 24\\\\\n", - "\t 2009-10-31 21:15:00 & 0 & 34.045 & -118.530 & 45866 & SPOT & Argos & 0 & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 25\\\\\n", - "\t 2009-11-01 21:04:00 & 0 & 34.043 & -118.541 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 26\\\\\n", - "\t 2009-11-06 17:53:00 & 0 & 34.021 & -118.611 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 27\\\\\n", - "\t 2009-11-13 18:48:00 & 0 & 33.993 & -118.602 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 28\\\\\n", - "\t 2009-11-23 05:12:00 & 0 & 33.972 & -118.534 & 45866 & SPOT & Argos & B & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 1 & 1 & 1 & & 29\\\\\n", + "\t 2009-09-23 00:00:00 & 0 & 34.03 & -118.56 & 45866 & SPOT & User & nan & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 2 & 1 & 1 & & 1\\\\\n", + "\t 2009-09-25 06:42:00 & 0 & 23.59 & -166.18 & 45866 & SPOT & Argos & A & NA & NA & NA & NA & NA & NA & NaN & NaN & NA & 1 & 4 & 1 & 4 & & 2\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 29 × 23\n", + "A tibble: 2 × 23\n", "\n", "| time <dttm> | z <int> | lat <dbl> | lon <dbl> | ptt <int> | instrument <chr> | type <chr> | location_class <chr> | error_radius <int> | semi_major_axis <int> | semi_minor_axis <int> | ellipse_orientation <int> | offset <int> | offset_orientation <int> | gpe_msd <dbl> | gpe_u <dbl> | count <int> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | comment <chr> | obs <int> |\n", "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23 00:00:00 | 0 | 34.030 | -118.560 | 45866 | SPOT | User | nan | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 2 | 1 | 1 | | 1 |\n", - "| 2009-09-25 06:42:00 | 0 | 23.590 | -166.180 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 2 |\n", - "| 2009-09-25 11:09:00 | 0 | 34.024 | -118.556 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 3 |\n", - "| 2009-09-25 11:11:00 | 0 | 34.035 | -118.549 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 4 |\n", - "| 2009-09-27 17:58:00 | 0 | 34.033 | -118.547 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 5 |\n", - "| 2009-09-30 05:01:00 | 0 | 33.517 | -119.750 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 6 |\n", - "| 2009-10-08 20:24:00 | 0 | 34.038 | -118.581 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 7 |\n", - "| 2009-10-15 11:05:00 | 0 | 33.995 | -118.678 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 8 |\n", - "| 2009-10-17 06:11:00 | 0 | 34.037 | -118.545 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 9 |\n", - "| 2009-10-17 09:00:00 | 0 | 34.026 | -118.534 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 10 |\n", - "| 2009-10-17 10:38:00 | 0 | 34.027 | -118.545 | 45866 | SPOT | Argos | 3 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 11 |\n", - "| 2009-10-18 08:48:00 | 0 | 34.039 | -118.548 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 12 |\n", - "| 2009-10-18 10:26:00 | 0 | 34.031 | -118.541 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 13 |\n", - "| 2009-10-18 11:15:00 | 0 | 34.041 | -118.535 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 14 |\n", - "| 2009-10-19 10:20:00 | 0 | 34.036 | -118.557 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 15 |\n", - "| 2009-10-23 23:52:00 | 0 | 33.999 | -118.612 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 16 |\n", - "| 2009-10-24 00:06:00 | 0 | 34.002 | -118.604 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 17 |\n", - "| 2009-10-26 10:53:00 | 0 | 34.022 | -118.537 | 45866 | SPOT | Argos | 3 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 18 |\n", - "| 2009-10-26 11:22:00 | 0 | 34.021 | -118.570 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 19 |\n", - "| 2009-10-27 16:21:00 | 0 | 34.010 | -118.524 | 45866 | SPOT | Argos | 1 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 20 |\n", - "| 2009-10-27 16:22:00 | 0 | 34.006 | -118.526 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 3 | 1 | 3 | | 21 |\n", - "| 2009-10-29 11:53:00 | 0 | 33.989 | -118.504 | 45866 | SPOT | Argos | 2 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 22 |\n", - "| 2009-10-30 10:03:00 | 0 | 34.021 | -118.557 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 23 |\n", - "| 2009-10-31 19:48:00 | 0 | 34.005 | -118.591 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 24 |\n", - "| 2009-10-31 21:15:00 | 0 | 34.045 | -118.530 | 45866 | SPOT | Argos | 0 | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 25 |\n", - "| 2009-11-01 21:04:00 | 0 | 34.043 | -118.541 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 26 |\n", - "| 2009-11-06 17:53:00 | 0 | 34.021 | -118.611 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 27 |\n", - "| 2009-11-13 18:48:00 | 0 | 33.993 | -118.602 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 28 |\n", - "| 2009-11-23 05:12:00 | 0 | 33.972 | -118.534 | 45866 | SPOT | Argos | B | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 1 | 1 | 1 | | 29 |\n", + "| 2009-09-23 00:00:00 | 0 | 34.03 | -118.56 | 45866 | SPOT | User | nan | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 2 | 1 | 1 | | 1 |\n", + "| 2009-09-25 06:42:00 | 0 | 23.59 | -166.18 | 45866 | SPOT | Argos | A | NA | NA | NA | NA | NA | NA | NaN | NaN | NA | 1 | 4 | 1 | 4 | | 2 |\n", "\n" ], "text/plain": [ - " time z lat lon ptt instrument type location_class\n", - "1 2009-09-23 00:00:00 0 34.030 -118.560 45866 SPOT User nan \n", - "2 2009-09-25 06:42:00 0 23.590 -166.180 45866 SPOT Argos A \n", - "3 2009-09-25 11:09:00 0 34.024 -118.556 45866 SPOT Argos 1 \n", - "4 2009-09-25 11:11:00 0 34.035 -118.549 45866 SPOT Argos 0 \n", - "5 2009-09-27 17:58:00 0 34.033 -118.547 45866 SPOT Argos 1 \n", - "6 2009-09-30 05:01:00 0 33.517 -119.750 45866 SPOT Argos B \n", - "7 2009-10-08 20:24:00 0 34.038 -118.581 45866 SPOT Argos 2 \n", - "8 2009-10-15 11:05:00 0 33.995 -118.678 45866 SPOT Argos 0 \n", - "9 2009-10-17 06:11:00 0 34.037 -118.545 45866 SPOT Argos 0 \n", - "10 2009-10-17 09:00:00 0 34.026 -118.534 45866 SPOT Argos 2 \n", - "11 2009-10-17 10:38:00 0 34.027 -118.545 45866 SPOT Argos 3 \n", - "12 2009-10-18 08:48:00 0 34.039 -118.548 45866 SPOT Argos 1 \n", - "13 2009-10-18 10:26:00 0 34.031 -118.541 45866 SPOT Argos 2 \n", - "14 2009-10-18 11:15:00 0 34.041 -118.535 45866 SPOT Argos 0 \n", - "15 2009-10-19 10:20:00 0 34.036 -118.557 45866 SPOT Argos A \n", - "16 2009-10-23 23:52:00 0 33.999 -118.612 45866 SPOT Argos 2 \n", - "17 2009-10-24 00:06:00 0 34.002 -118.604 45866 SPOT Argos 0 \n", - "18 2009-10-26 10:53:00 0 34.022 -118.537 45866 SPOT Argos 3 \n", - "19 2009-10-26 11:22:00 0 34.021 -118.570 45866 SPOT Argos B \n", - "20 2009-10-27 16:21:00 0 34.010 -118.524 45866 SPOT Argos 1 \n", - "21 2009-10-27 16:22:00 0 34.006 -118.526 45866 SPOT Argos 2 \n", - "22 2009-10-29 11:53:00 0 33.989 -118.504 45866 SPOT Argos 2 \n", - "23 2009-10-30 10:03:00 0 34.021 -118.557 45866 SPOT Argos A \n", - "24 2009-10-31 19:48:00 0 34.005 -118.591 45866 SPOT Argos A \n", - "25 2009-10-31 21:15:00 0 34.045 -118.530 45866 SPOT Argos 0 \n", - "26 2009-11-01 21:04:00 0 34.043 -118.541 45866 SPOT Argos A \n", - "27 2009-11-06 17:53:00 0 34.021 -118.611 45866 SPOT Argos B \n", - "28 2009-11-13 18:48:00 0 33.993 -118.602 45866 SPOT Argos A \n", - "29 2009-11-23 05:12:00 0 33.972 -118.534 45866 SPOT Argos B \n", - " error_radius semi_major_axis semi_minor_axis ellipse_orientation offset\n", - "1 NA NA NA NA NA \n", - "2 NA NA NA NA NA \n", - "3 NA NA NA NA NA \n", - "4 NA NA NA NA NA \n", - "5 NA NA NA NA NA \n", - "6 NA NA NA NA NA \n", - "7 NA NA NA NA NA \n", - "8 NA NA NA NA NA \n", - "9 NA NA NA NA NA \n", - "10 NA NA NA NA NA \n", - "11 NA NA NA NA NA \n", - "12 NA NA NA NA NA \n", - "13 NA NA NA NA NA \n", - "14 NA NA NA NA NA \n", - "15 NA NA NA NA NA \n", - "16 NA NA NA NA NA \n", - "17 NA NA NA NA NA \n", - "18 NA NA NA NA NA \n", - "19 NA NA NA NA NA \n", - "20 NA NA NA NA NA \n", - "21 NA NA NA NA NA \n", - "22 NA NA NA NA NA \n", - "23 NA NA NA NA NA \n", - "24 NA NA NA NA NA \n", - "25 NA NA NA NA NA \n", - "26 NA NA NA NA NA \n", - "27 NA NA NA NA NA \n", - "28 NA NA NA NA NA \n", - "29 NA NA NA NA NA \n", - " offset_orientation gpe_msd gpe_u count qartod_time_flag qartod_speed_flag\n", - "1 NA NaN NaN NA 1 2 \n", - "2 NA NaN NaN NA 1 4 \n", - "3 NA NaN NaN NA 1 4 \n", - "4 NA NaN NaN NA 1 4 \n", - "5 NA NaN NaN NA 1 1 \n", - "6 NA NaN NaN NA 1 1 \n", - "7 NA NaN NaN NA 1 1 \n", - "8 NA NaN NaN NA 1 1 \n", - "9 NA NaN NaN NA 1 1 \n", - "10 NA NaN NaN NA 1 1 \n", - "11 NA NaN NaN NA 1 1 \n", - "12 NA NaN NaN NA 1 1 \n", - "13 NA NaN NaN NA 1 1 \n", - "14 NA NaN NaN NA 1 1 \n", - "15 NA NaN NaN NA 1 1 \n", - "16 NA NaN NaN NA 1 1 \n", - "17 NA NaN NaN NA 1 1 \n", - "18 NA NaN NaN NA 1 1 \n", - "19 NA NaN NaN NA 1 1 \n", - "20 NA NaN NaN NA 1 1 \n", - "21 NA NaN NaN NA 1 3 \n", - "22 NA NaN NaN NA 1 1 \n", - "23 NA NaN NaN NA 1 1 \n", - "24 NA NaN NaN NA 1 1 \n", - "25 NA NaN NaN NA 1 1 \n", - "26 NA NaN NaN NA 1 1 \n", - "27 NA NaN NaN NA 1 1 \n", - "28 NA NaN NaN NA 1 1 \n", - "29 NA NaN NaN NA 1 1 \n", - " qartod_location_flag qartod_rollup_flag comment obs\n", - "1 1 1 1 \n", - "2 1 4 2 \n", - "3 1 4 3 \n", - "4 1 4 4 \n", - "5 1 1 5 \n", - "6 1 1 6 \n", - "7 1 1 7 \n", - "8 1 1 8 \n", - "9 1 1 9 \n", - "10 1 1 10 \n", - "11 1 1 11 \n", - "12 1 1 12 \n", - "13 1 1 13 \n", - "14 1 1 14 \n", - "15 1 1 15 \n", - "16 1 1 16 \n", - "17 1 1 17 \n", - "18 1 1 18 \n", - "19 1 1 19 \n", - "20 1 1 20 \n", - "21 1 3 21 \n", - "22 1 1 22 \n", - "23 1 1 23 \n", - "24 1 1 24 \n", - "25 1 1 25 \n", - "26 1 1 26 \n", - "27 1 1 27 \n", - "28 1 1 28 \n", - "29 1 1 29 " + " time z lat lon ptt instrument type location_class\n", + "1 2009-09-23 00:00:00 0 34.03 -118.56 45866 SPOT User nan \n", + "2 2009-09-25 06:42:00 0 23.59 -166.18 45866 SPOT Argos A \n", + " error_radius semi_major_axis semi_minor_axis ellipse_orientation offset\n", + "1 NA NA NA NA NA \n", + "2 NA NA NA NA NA \n", + " offset_orientation gpe_msd gpe_u count qartod_time_flag qartod_speed_flag\n", + "1 NA NaN NaN NA 1 2 \n", + "2 NA NaN NaN NA 1 4 \n", + " qartod_location_flag qartod_rollup_flag comment obs\n", + "1 1 1 1 \n", + "2 1 4 2 " ] }, "metadata": {}, @@ -2332,7 +1517,7 @@ "lunit <- str_split(tunit$value,' ')[[1]]\n", "atn_tbl$time <- as.POSIXct(atn_tbl$time, origin=lunit[3], tz=\"GMT\")\n", "\n", - "atn_tbl" + "head(atn_tbl, n=2)" ] }, { @@ -2346,7 +1531,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -2388,7 +1573,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -2435,7 +1620,9 @@ }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "---\n", "# Converting to Darwin Core\n", @@ -2447,132 +1634,9 @@ }, { "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Event Core\n", - "\n", - "We are not creating an Event Core file for these data.\n", - "\n", - "Term | Status\n", - "-----|-------\n", - "eventID | Required\n", - "eventDate | Required\n", - "decimalLatitude & decimalLongitude | Required\n", - "geodeticDatum | Required\n", - "locationID | Strongly Recommended\n", - "maximumDepthInMeters & minimumDepthInMeters | Strongly Recommended\n", - "footprintWKT | Share if available\n", - "modified | Share if available" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "metadata": {}, - "outputs": [], - "source": [ - "# tag_id <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"ptt_id\")\n", - "# tag_id" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Create a data frame with time, latitude, longitude, and depth" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": {}, - "outputs": [], - "source": [ - "# # for Event Core following: \n", - "# # https://github.com/tdwg/dwc-for-biologging/wiki/Data-guidelines#event-core\n", - "\n", - "# eventdf <- data.frame( atn_tbl$time, atn_tbl$lat, atn_tbl$lon, atn_tbl$z)\n", - "\n", - "# # eventID\n", - "# # urn:catalog:[datacenter]:[institution]:[project shortcode]:[datacenter-specific-ID] \n", - "# # At OTN, the datacenter-specific ID is a combination of the animal's identifier, project affiliation, \n", - "# # and the date of release. e.g. urn:catalog:otn:DAL:NSBS:NSBS-Hops:20170722053000-release\n", - "# #\n", - "# # institution <- ncmeta::nc_atts(\"atn_trajectory_template.nc\",\"NC_GLOBAL\") %>% dplyr::filter(name == \"institution\")\n", - "# # project_shortcode <- 'atn'\n", - "# # datacenter_specific_ID <- ncmeta::nc_atts(\"atn_trajectory_template.nc\",\"NC_GLOBAL\") %>% dplyr::filter(name == \"tag_id\")\n", - "# #\n", - "# # id <- paste(\"urn:catalog:atn\",institution$value,project_shortcode,datacenter_specific_ID$value, sep = \":\")\n", - "\n", - "# #eventDate\n", - "# eventdf$eventDate <- format(eventdf$atn_tbl.time, '%Y-%m-%dT%H:%M:%SZ')\n", - "# eventdf$atn_tbl.time <- NULL # delete column\n", - "\n", - "# #eventID - {common_name}_{dateTime}\n", - "# cname = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"animal_common_name\")\n", - "# eventdf$eventID <- sub(\" \", \"_\", paste0(cname$value, \"_\", eventdf$eventDate))\n", - "\n", - "\n", - "# #decimalLatitude\n", - "# eventdf$decimalLatitude <- eventdf$atn_tbl.lat\n", - "# eventdf$atn_tbl.lat <- NULL\n", - "\n", - "# #decimalLongitude\n", - "# eventdf$decimalLongitude <- eventdf$atn_tbl.lon\n", - "# eventdf$atn_tbl.lon <- NULL\n", - "\n", - "# #geodeticDatum\n", - "# gd_tbl <- metadata %>% dplyr::filter(variable == \"crs\") %>% dplyr::filter(name == \"epsg_code\")\n", - "# eventdf$geodeticDatum <- paste(gd_tbl$value)\n", - "\n", - "# #maximumDepth and minimumDepth\n", - "# eventdf$minimumDepthInMeters <- eventdf$atn_tbl.z\n", - "# eventdf$maximumDepthInMeters <- eventdf$atn_tbl.z\n", - "# eventdf$atn_tbl.z <- NULL\n", - "\n", - "# #locationID\n", - "# #eventdf$locationID <- 'Release' # from https://github.com/tdwg/dwc-for-biologging/wiki/Acoustic-sensor-enabled-tracking-of-blue-sharks\n", - "\n", - "# #footprintWKT\n", - "# ftprnt_tbl = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_bounds\")\n", - "# eventdf$footprintWKT <- paste(ftprnt_tbl$value)\n", - "\n", - "# #modified\n", - "# mdfied_tbl <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"date_modified\")\n", - "# eventdf$modified <- paste(mdfied_tbl$value)\n", - "\n", - "# # coordinateUncertaintyInMeters\n", - "# # take the larger of variable:error_radius AND variable:semi_major_axis\n", - "# eventdf$coordinateUncertaintyInMeters <- pmax(atn_tbl$error_radius, atn_tbl$semi_major_axis, atn_tbl$semi_minor_axis, na.rm = TRUE)\n", - "\n", - "# eventdf$eventType <- 'GPS positioning'\n", - "# eventdf$eventType[[1]] <- 'Tag deployment'\n", - "\n", - "\n", - "# head(eventdf, n=10)" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Write the event file as a csv" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "metadata": {}, - "outputs": [], - "source": [ - "# file_name_event <- paste('atn_',tag_id$value,'_event.csv', sep = \"\")\n", - "\n", - "# write.csv(eventdf, file=file_name_event, row.names=FALSE, fileEncoding=\"UTF-8\", quote=TRUE)" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "## Occurrence Core\n", "\n", @@ -2607,490 +1671,108 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 12, "metadata": {}, "outputs": [ { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\n", - "
A tibble: 89 × 4
idnamevariablevalue
<int><chr><chr><named list>
0date_created NC_GLOBAL2023-08-16T20:00:00Z
1featureType NC_GLOBALtrajectory
2cdm_data_type NC_GLOBALTrajectory
3Conventions NC_GLOBALCF-1.10, ACDD-1.3, IOOS-1.2
4argos_program_number NC_GLOBAL2414
5creator_email NC_GLOBALchris.lowe@csulb.edu
6id NC_GLOBAL5f0668a86321be13bc7ef628
7tag_type NC_GLOBALSPOT5
8source NC_GLOBALService Argos
9acknowledgement NC_GLOBALNOAA IOOS, Axiom Data Science, Navy ONR, NOAA NMFS, Wildlife Computers, Argos, IOOS ATN
10creator_name NC_GLOBALChris G. Lowe
11creator_url NC_GLOBAL
12geospatial_lat_units NC_GLOBALdegrees_north
13geospatial_lon_units NC_GLOBALdegrees_east
14infoUrl NC_GLOBALhttps://portal.atn.ioos.us/#metadata/6e2ba85c-2f61-4bc5-8c2b-34d6734155ed/project
15institution NC_GLOBALCalifornia State University Long Beach
16keywords NC_GLOBALEARTH SCIENCE > AGRICULTURE > ANIMAL SCIENCE > ANIMAL ECOLOGY AND BEHAVIOR, EARTH SCIENCE > BIOSPHERE > ECOLOGICAL DYNAMICS > SPECIES/POPULATION INTERACTIONS > MIGRATORY RATES/ROUTES, EARTH SCIENCE > OCEANS, EARTH SCIENCE > CLIMATE INDICATORS > BIOSPHERIC INDICATORS > SPECIES MIGRATION, EARTH SCIENCE > OCEANS, EARTH SCIENCE > BIOLOGICAL CLASSIFICATION > ANIMALS/VERTEBRATES, EARTH SCIENCE > BIOSPHERE > ECOSYSTEMS > MARINE ECOSYSTEMS, PROVIDERS > GOVERNMENT AGENCIES-U.S. FEDERAL AGENCIES > DOC > NOAA > IOOS, PROVIDERS > COMMERCIAL > Axiom Data Science
17license NC_GLOBALThese data may be used and redistributed for free, but are not intended for legal use, since they may contain inaccuracies. No person or group associated with these data makes any warranty, expressed or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness or usefulness of this information. This disclaimer applies to both individual use of these data and aggregate use with other data. It is strongly recommended that users read and fully comprehend associated metadata prior to use. Please acknowledge the U.S. Animal Telemetry Network (ATN) or the specified citation as the source from which these data were obtained in any publications and/or representations of these data. Communication and collaboration with dataset authors are strongly encouraged.
18metadata_link NC_GLOBAL
19naming_authority NC_GLOBALcom.wildlifecomputers
20platform_category NC_GLOBALanimal
21platform NC_GLOBALfish
22platform_vocabulary NC_GLOBALhttps://vocab.nerc.ac.uk/collection/L06/current/
23processing_level NC_GLOBALNetCDF file created from position data obtained from Wildlife Computers API.
24project NC_GLOBALProject White Shark: Juvenile Satellite Biotelemetry, 2001-2020
25publisher_email NC_GLOBALatndata@ioos.us
26publisher_institution NC_GLOBALUS Integrated Ocean Observing System Office
27publisher_name NC_GLOBALUS Integrated Ocean Observing System (IOOS) Animal Telemetry Network (ATN)
28publisher_url NC_GLOBALhttps://atn.ioos.us
29publisher_country NC_GLOBALUSA
30standard_name_vocabulary NC_GLOBALCF-v78
31vendor NC_GLOBALWildlife Computers
32geospatial_lat_min NC_GLOBAL23.59
33geospatial_lat_max NC_GLOBAL34.045
34geospatial_lon_min NC_GLOBAL-166.18
35geospatial_lon_max NC_GLOBAL-118.504
36geospatial_bbox NC_GLOBALPOLYGON ((-118.504 23.59, -118.504 34.045, -166.18 34.045, -166.18 23.59, -118.504 23.59))
37geospatial_bounds NC_GLOBALPOLYGON ((-166.18 23.59, -118.581 34.038, -118.53 34.045, -118.504 33.989, -118.534 33.972, -119.75 33.517, -166.18 23.59))
38geospatial_bounds_crs NC_GLOBALEPSG:4326
39time_coverage_start NC_GLOBAL2009-09-23T00:00:00Z
40time_coverage_end NC_GLOBAL2009-11-23T05:12:00Z
41time_coverage_duration NC_GLOBALP61DT5H12M0S
42time_coverage_resolution NC_GLOBALP2DT2H39M43S
43date_issued NC_GLOBAL2023-08-16T20:00:00Z
44date_modified NC_GLOBAL2023-08-16T20:00:00Z
45history NC_GLOBAL2023-08-07T20:24:04Z - Created by the IOOS ATN DAC from the Wildlife Computers API
46summary NC_GLOBALWildlife Computers SPOT5 tag (ptt id 45866) deployed on a great white shark (Carcharodon carcharias) by Chris G. Lowe in the North Pacific Ocean from 2009-09-23 to 2009-11-23
47title NC_GLOBALGreat white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628
48uuid NC_GLOBALff554ebf-bf4b-5a82-8a90-9c0ceb799d96
49platform_name NC_GLOBALCarcharodon carcharias
50platform_id NC_GLOBAL105838
51vendor_id NC_GLOBAL5f0668a86321be13bc7ef628
52sea_name NC_GLOBALNorth Pacific Ocean
53arbitrary_keywords NC_GLOBALATN, Animal Telemetry Network, IOOS, Integrated Ocean Observing System, trajectory, satellite telemetry tag
54contributor_role_vocabularyNC_GLOBALhttps://vocab.nerc.ac.uk/collection/G04/current/
55creator_role_vocabulary NC_GLOBALhttps://vocab.nerc.ac.uk/collection/G04/current/
56creator_sector_vocabulary NC_GLOBALhttps://mmisw.org/ont/ioos/sector
57creator_type NC_GLOBALperson
58date_metadata_modified NC_GLOBAL20230816
59instrument NC_GLOBALSatellite telemetry tag
60instrument_vocabulary NC_GLOBAL
61keywords_vocabulary NC_GLOBALGCMD Science Keywords v15.1
62ncei_template_version NC_GLOBALNCEI_NetCDF_Trajectory_Template_v2.0
63product_version NC_GLOBAL
64program NC_GLOBALIOOS Animal Telemetry Network
65publisher_type NC_GLOBALinstitution
66references NC_GLOBAL
67animal_common_name NC_GLOBALgreat white shark
68animal_id NC_GLOBAL09_13
69animal_scientific_name NC_GLOBALCarcharodon carcharias
70deployment_id NC_GLOBAL5f0668a86321be13bc7ef628
71deployment_start_datetime NC_GLOBAL2009-09-23T00:00:00Z
72deployment_end_datetime NC_GLOBAL2009-11-23T00:00:00Z
73wmo_platform_code NC_GLOBAL
74comment NC_GLOBAL09_13-45866
75ptt_id NC_GLOBAL45866
76deployment_start_lat NC_GLOBAL34.03
77deployment_start_lon NC_GLOBAL-118.56
78contributor_name NC_GLOBALThomas Farrugia
79contributor_email NC_GLOBALtjfarrugia@alaska.edu
80contributor_role NC_GLOBALcollaborator
81contributor_institution NC_GLOBALCalifornia State University Long Beach
82contributor_url NC_GLOBAL
83creator_role NC_GLOBALprincipalInvestigator
84creator_sector NC_GLOBALacademic
85creator_country NC_GLOBALUSA
86creator_institution NC_GLOBALCalifornia State University Long Beach
87creator_institution_url NC_GLOBALhttps://www.csulb.edu/shark-lab
88citation NC_GLOBALLowe, Chris G.; Farrugia, Thomas. (2023) great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628. [Dataset]. US Integrated Ocean Observing System Office.
\n" - ], - "text/latex": [ - "A tibble: 89 × 4\n", - "\\begin{tabular}{llll}\n", - " id & name & variable & value\\\\\n", - " & & & \\\\\n", - "\\hline\n", - "\t 0 & date\\_created & NC\\_GLOBAL & 2023-08-16T20:00:00Z\\\\\n", - "\t 1 & featureType & NC\\_GLOBAL & trajectory\\\\\n", - "\t 2 & cdm\\_data\\_type & NC\\_GLOBAL & Trajectory\\\\\n", - "\t 3 & Conventions & NC\\_GLOBAL & CF-1.10, ACDD-1.3, IOOS-1.2\\\\\n", - "\t 4 & argos\\_program\\_number & NC\\_GLOBAL & 2414\\\\\n", - "\t 5 & creator\\_email & NC\\_GLOBAL & chris.lowe@csulb.edu\\\\\n", - "\t 6 & id & NC\\_GLOBAL & 5f0668a86321be13bc7ef628\\\\\n", - "\t 7 & tag\\_type & NC\\_GLOBAL & SPOT5\\\\\n", - "\t 8 & source & NC\\_GLOBAL & Service Argos\\\\\n", - "\t 9 & acknowledgement & NC\\_GLOBAL & NOAA IOOS, Axiom Data Science, Navy ONR, NOAA NMFS, Wildlife Computers, Argos, IOOS ATN\\\\\n", - "\t 10 & creator\\_name & NC\\_GLOBAL & Chris G. Lowe\\\\\n", - "\t 11 & creator\\_url & NC\\_GLOBAL & \\\\\n", - "\t 12 & geospatial\\_lat\\_units & NC\\_GLOBAL & degrees\\_north\\\\\n", - "\t 13 & geospatial\\_lon\\_units & NC\\_GLOBAL & degrees\\_east\\\\\n", - "\t 14 & infoUrl & NC\\_GLOBAL & https://portal.atn.ioos.us/\\#metadata/6e2ba85c-2f61-4bc5-8c2b-34d6734155ed/project\\\\\n", - "\t 15 & institution & NC\\_GLOBAL & California State University Long Beach\\\\\n", - "\t 16 & keywords & NC\\_GLOBAL & EARTH SCIENCE > AGRICULTURE > ANIMAL SCIENCE > ANIMAL ECOLOGY AND BEHAVIOR, EARTH SCIENCE > BIOSPHERE > ECOLOGICAL DYNAMICS > SPECIES/POPULATION INTERACTIONS > MIGRATORY RATES/ROUTES, EARTH SCIENCE > OCEANS, EARTH SCIENCE > CLIMATE INDICATORS > BIOSPHERIC INDICATORS > SPECIES MIGRATION, EARTH SCIENCE > OCEANS, EARTH SCIENCE > BIOLOGICAL CLASSIFICATION > ANIMALS/VERTEBRATES, EARTH SCIENCE > BIOSPHERE > ECOSYSTEMS > MARINE ECOSYSTEMS, PROVIDERS > GOVERNMENT AGENCIES-U.S. FEDERAL AGENCIES > DOC > NOAA > IOOS, PROVIDERS > COMMERCIAL > Axiom Data Science\\\\\n", - "\t 17 & license & NC\\_GLOBAL & These data may be used and redistributed for free, but are not intended for legal use, since they may contain inaccuracies. No person or group associated with these data makes any warranty, expressed or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness or usefulness of this information. This disclaimer applies to both individual use of these data and aggregate use with other data. It is strongly recommended that users read and fully comprehend associated metadata prior to use. Please acknowledge the U.S. Animal Telemetry Network (ATN) or the specified citation as the source from which these data were obtained in any publications and/or representations of these data. Communication and collaboration with dataset authors are strongly encouraged.\\\\\n", - "\t 18 & metadata\\_link & NC\\_GLOBAL & \\\\\n", - "\t 19 & naming\\_authority & NC\\_GLOBAL & com.wildlifecomputers\\\\\n", - "\t 20 & platform\\_category & NC\\_GLOBAL & animal\\\\\n", - "\t 21 & platform & NC\\_GLOBAL & fish\\\\\n", - "\t 22 & platform\\_vocabulary & NC\\_GLOBAL & https://vocab.nerc.ac.uk/collection/L06/current/\\\\\n", - "\t 23 & processing\\_level & NC\\_GLOBAL & NetCDF file created from position data obtained from Wildlife Computers API.\\\\\n", - "\t 24 & project & NC\\_GLOBAL & Project White Shark: Juvenile Satellite Biotelemetry, 2001-2020\\\\\n", - "\t 25 & publisher\\_email & NC\\_GLOBAL & atndata@ioos.us\\\\\n", - "\t 26 & publisher\\_institution & NC\\_GLOBAL & US Integrated Ocean Observing System Office\\\\\n", - "\t 27 & publisher\\_name & NC\\_GLOBAL & US Integrated Ocean Observing System (IOOS) Animal Telemetry Network (ATN)\\\\\n", - "\t 28 & publisher\\_url & NC\\_GLOBAL & https://atn.ioos.us\\\\\n", - "\t 29 & publisher\\_country & NC\\_GLOBAL & USA\\\\\n", - "\t 30 & standard\\_name\\_vocabulary & NC\\_GLOBAL & CF-v78\\\\\n", - "\t 31 & vendor & NC\\_GLOBAL & Wildlife Computers\\\\\n", - "\t 32 & geospatial\\_lat\\_min & NC\\_GLOBAL & 23.59\\\\\n", - "\t 33 & geospatial\\_lat\\_max & NC\\_GLOBAL & 34.045\\\\\n", - "\t 34 & geospatial\\_lon\\_min & NC\\_GLOBAL & -166.18\\\\\n", - "\t 35 & geospatial\\_lon\\_max & NC\\_GLOBAL & -118.504\\\\\n", - "\t 36 & geospatial\\_bbox & NC\\_GLOBAL & POLYGON ((-118.504 23.59, -118.504 34.045, -166.18 34.045, -166.18 23.59, -118.504 23.59))\\\\\n", - "\t 37 & geospatial\\_bounds & NC\\_GLOBAL & POLYGON ((-166.18 23.59, -118.581 34.038, -118.53 34.045, -118.504 33.989, -118.534 33.972, -119.75 33.517, -166.18 23.59))\\\\\n", - "\t 38 & geospatial\\_bounds\\_crs & NC\\_GLOBAL & EPSG:4326\\\\\n", - "\t 39 & time\\_coverage\\_start & NC\\_GLOBAL & 2009-09-23T00:00:00Z\\\\\n", - "\t 40 & time\\_coverage\\_end & NC\\_GLOBAL & 2009-11-23T05:12:00Z\\\\\n", - "\t 41 & time\\_coverage\\_duration & NC\\_GLOBAL & P61DT5H12M0S\\\\\n", - "\t 42 & time\\_coverage\\_resolution & NC\\_GLOBAL & P2DT2H39M43S\\\\\n", - "\t 43 & date\\_issued & NC\\_GLOBAL & 2023-08-16T20:00:00Z\\\\\n", - "\t 44 & date\\_modified & NC\\_GLOBAL & 2023-08-16T20:00:00Z\\\\\n", - "\t 45 & history & NC\\_GLOBAL & 2023-08-07T20:24:04Z - Created by the IOOS ATN DAC from the Wildlife Computers API\\\\\n", - "\t 46 & summary & NC\\_GLOBAL & Wildlife Computers SPOT5 tag (ptt id 45866) deployed on a great white shark (Carcharodon carcharias) by Chris G. Lowe in the North Pacific Ocean from 2009-09-23 to 2009-11-23\\\\\n", - "\t 47 & title & NC\\_GLOBAL & Great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628\\\\\n", - "\t 48 & uuid & NC\\_GLOBAL & ff554ebf-bf4b-5a82-8a90-9c0ceb799d96\\\\\n", - "\t 49 & platform\\_name & NC\\_GLOBAL & Carcharodon carcharias\\\\\n", - "\t 50 & platform\\_id & NC\\_GLOBAL & 105838\\\\\n", - "\t 51 & vendor\\_id & NC\\_GLOBAL & 5f0668a86321be13bc7ef628\\\\\n", - "\t 52 & sea\\_name & NC\\_GLOBAL & North Pacific Ocean\\\\\n", - "\t 53 & arbitrary\\_keywords & NC\\_GLOBAL & ATN, Animal Telemetry Network, IOOS, Integrated Ocean Observing System, trajectory, satellite telemetry tag\\\\\n", - "\t 54 & contributor\\_role\\_vocabulary & NC\\_GLOBAL & https://vocab.nerc.ac.uk/collection/G04/current/\\\\\n", - "\t 55 & creator\\_role\\_vocabulary & NC\\_GLOBAL & https://vocab.nerc.ac.uk/collection/G04/current/\\\\\n", - "\t 56 & creator\\_sector\\_vocabulary & NC\\_GLOBAL & https://mmisw.org/ont/ioos/sector\\\\\n", - "\t 57 & creator\\_type & NC\\_GLOBAL & person\\\\\n", - "\t 58 & date\\_metadata\\_modified & NC\\_GLOBAL & 20230816\\\\\n", - "\t 59 & instrument & NC\\_GLOBAL & Satellite telemetry tag\\\\\n", - "\t 60 & instrument\\_vocabulary & NC\\_GLOBAL & \\\\\n", - "\t 61 & keywords\\_vocabulary & NC\\_GLOBAL & GCMD Science Keywords v15.1\\\\\n", - "\t 62 & ncei\\_template\\_version & NC\\_GLOBAL & NCEI\\_NetCDF\\_Trajectory\\_Template\\_v2.0\\\\\n", - "\t 63 & product\\_version & NC\\_GLOBAL & \\\\\n", - "\t 64 & program & NC\\_GLOBAL & IOOS Animal Telemetry Network\\\\\n", - "\t 65 & publisher\\_type & NC\\_GLOBAL & institution\\\\\n", - "\t 66 & references & NC\\_GLOBAL & \\\\\n", - "\t 67 & animal\\_common\\_name & NC\\_GLOBAL & great white shark\\\\\n", - "\t 68 & animal\\_id & NC\\_GLOBAL & 09\\_13\\\\\n", - "\t 69 & animal\\_scientific\\_name & NC\\_GLOBAL & Carcharodon carcharias\\\\\n", - "\t 70 & deployment\\_id & NC\\_GLOBAL & 5f0668a86321be13bc7ef628\\\\\n", - "\t 71 & deployment\\_start\\_datetime & NC\\_GLOBAL & 2009-09-23T00:00:00Z\\\\\n", - "\t 72 & deployment\\_end\\_datetime & NC\\_GLOBAL & 2009-11-23T00:00:00Z\\\\\n", - "\t 73 & wmo\\_platform\\_code & NC\\_GLOBAL & \\\\\n", - "\t 74 & comment & NC\\_GLOBAL & 09\\_13-45866\\\\\n", - "\t 75 & ptt\\_id & NC\\_GLOBAL & 45866\\\\\n", - "\t 76 & deployment\\_start\\_lat & NC\\_GLOBAL & 34.03\\\\\n", - "\t 77 & deployment\\_start\\_lon & NC\\_GLOBAL & -118.56\\\\\n", - "\t 78 & contributor\\_name & NC\\_GLOBAL & Thomas Farrugia\\\\\n", - "\t 79 & contributor\\_email & NC\\_GLOBAL & tjfarrugia@alaska.edu\\\\\n", - "\t 80 & contributor\\_role & NC\\_GLOBAL & collaborator\\\\\n", - "\t 81 & contributor\\_institution & NC\\_GLOBAL & California State University Long Beach\\\\\n", - "\t 82 & contributor\\_url & NC\\_GLOBAL & \\\\\n", - "\t 83 & creator\\_role & NC\\_GLOBAL & principalInvestigator\\\\\n", - "\t 84 & creator\\_sector & NC\\_GLOBAL & academic\\\\\n", - "\t 85 & creator\\_country & NC\\_GLOBAL & USA\\\\\n", - "\t 86 & creator\\_institution & NC\\_GLOBAL & California State University Long Beach\\\\\n", - "\t 87 & creator\\_institution\\_url & NC\\_GLOBAL & https://www.csulb.edu/shark-lab\\\\\n", - "\t 88 & citation & NC\\_GLOBAL & Lowe, Chris G.; Farrugia, Thomas. (2023) great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628. {[}Dataset{]}. US Integrated Ocean Observing System Office.\\\\\n", - "\\end{tabular}\n" - ], - "text/markdown": [ - "\n", - "A tibble: 89 × 4\n", - "\n", - "| id <int> | name <chr> | variable <chr> | value <named list> |\n", - "|---|---|---|---|\n", - "| 0 | date_created | NC_GLOBAL | 2023-08-16T20:00:00Z |\n", - "| 1 | featureType | NC_GLOBAL | trajectory |\n", - "| 2 | cdm_data_type | NC_GLOBAL | Trajectory |\n", - "| 3 | Conventions | NC_GLOBAL | CF-1.10, ACDD-1.3, IOOS-1.2 |\n", - "| 4 | argos_program_number | NC_GLOBAL | 2414 |\n", - "| 5 | creator_email | NC_GLOBAL | chris.lowe@csulb.edu |\n", - "| 6 | id | NC_GLOBAL | 5f0668a86321be13bc7ef628 |\n", - "| 7 | tag_type | NC_GLOBAL | SPOT5 |\n", - "| 8 | source | NC_GLOBAL | Service Argos |\n", - "| 9 | acknowledgement | NC_GLOBAL | NOAA IOOS, Axiom Data Science, Navy ONR, NOAA NMFS, Wildlife Computers, Argos, IOOS ATN |\n", - "| 10 | creator_name | NC_GLOBAL | Chris G. Lowe |\n", - "| 11 | creator_url | NC_GLOBAL | |\n", - "| 12 | geospatial_lat_units | NC_GLOBAL | degrees_north |\n", - "| 13 | geospatial_lon_units | NC_GLOBAL | degrees_east |\n", - "| 14 | infoUrl | NC_GLOBAL | https://portal.atn.ioos.us/#metadata/6e2ba85c-2f61-4bc5-8c2b-34d6734155ed/project |\n", - "| 15 | institution | NC_GLOBAL | California State University Long Beach |\n", - "| 16 | keywords | NC_GLOBAL | EARTH SCIENCE > AGRICULTURE > ANIMAL SCIENCE > ANIMAL ECOLOGY AND BEHAVIOR, EARTH SCIENCE > BIOSPHERE > ECOLOGICAL DYNAMICS > SPECIES/POPULATION INTERACTIONS > MIGRATORY RATES/ROUTES, EARTH SCIENCE > OCEANS, EARTH SCIENCE > CLIMATE INDICATORS > BIOSPHERIC INDICATORS > SPECIES MIGRATION, EARTH SCIENCE > OCEANS, EARTH SCIENCE > BIOLOGICAL CLASSIFICATION > ANIMALS/VERTEBRATES, EARTH SCIENCE > BIOSPHERE > ECOSYSTEMS > MARINE ECOSYSTEMS, PROVIDERS > GOVERNMENT AGENCIES-U.S. FEDERAL AGENCIES > DOC > NOAA > IOOS, PROVIDERS > COMMERCIAL > Axiom Data Science |\n", - "| 17 | license | NC_GLOBAL | These data may be used and redistributed for free, but are not intended for legal use, since they may contain inaccuracies. No person or group associated with these data makes any warranty, expressed or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness or usefulness of this information. This disclaimer applies to both individual use of these data and aggregate use with other data. It is strongly recommended that users read and fully comprehend associated metadata prior to use. Please acknowledge the U.S. Animal Telemetry Network (ATN) or the specified citation as the source from which these data were obtained in any publications and/or representations of these data. Communication and collaboration with dataset authors are strongly encouraged. |\n", - "| 18 | metadata_link | NC_GLOBAL | |\n", - "| 19 | naming_authority | NC_GLOBAL | com.wildlifecomputers |\n", - "| 20 | platform_category | NC_GLOBAL | animal |\n", - "| 21 | platform | NC_GLOBAL | fish |\n", - "| 22 | platform_vocabulary | NC_GLOBAL | https://vocab.nerc.ac.uk/collection/L06/current/ |\n", - "| 23 | processing_level | NC_GLOBAL | NetCDF file created from position data obtained from Wildlife Computers API. |\n", - "| 24 | project | NC_GLOBAL | Project White Shark: Juvenile Satellite Biotelemetry, 2001-2020 |\n", - "| 25 | publisher_email | NC_GLOBAL | atndata@ioos.us |\n", - "| 26 | publisher_institution | NC_GLOBAL | US Integrated Ocean Observing System Office |\n", - "| 27 | publisher_name | NC_GLOBAL | US Integrated Ocean Observing System (IOOS) Animal Telemetry Network (ATN) |\n", - "| 28 | publisher_url | NC_GLOBAL | https://atn.ioos.us |\n", - "| 29 | publisher_country | NC_GLOBAL | USA |\n", - "| 30 | standard_name_vocabulary | NC_GLOBAL | CF-v78 |\n", - "| 31 | vendor | NC_GLOBAL | Wildlife Computers |\n", - "| 32 | geospatial_lat_min | NC_GLOBAL | 23.59 |\n", - "| 33 | geospatial_lat_max | NC_GLOBAL | 34.045 |\n", - "| 34 | geospatial_lon_min | NC_GLOBAL | -166.18 |\n", - "| 35 | geospatial_lon_max | NC_GLOBAL | -118.504 |\n", - "| 36 | geospatial_bbox | NC_GLOBAL | POLYGON ((-118.504 23.59, -118.504 34.045, -166.18 34.045, -166.18 23.59, -118.504 23.59)) |\n", - "| 37 | geospatial_bounds | NC_GLOBAL | POLYGON ((-166.18 23.59, -118.581 34.038, -118.53 34.045, -118.504 33.989, -118.534 33.972, -119.75 33.517, -166.18 23.59)) |\n", - "| 38 | geospatial_bounds_crs | NC_GLOBAL | EPSG:4326 |\n", - "| 39 | time_coverage_start | NC_GLOBAL | 2009-09-23T00:00:00Z |\n", - "| 40 | time_coverage_end | NC_GLOBAL | 2009-11-23T05:12:00Z |\n", - "| 41 | time_coverage_duration | NC_GLOBAL | P61DT5H12M0S |\n", - "| 42 | time_coverage_resolution | NC_GLOBAL | P2DT2H39M43S |\n", - "| 43 | date_issued | NC_GLOBAL | 2023-08-16T20:00:00Z |\n", - "| 44 | date_modified | NC_GLOBAL | 2023-08-16T20:00:00Z |\n", - "| 45 | history | NC_GLOBAL | 2023-08-07T20:24:04Z - Created by the IOOS ATN DAC from the Wildlife Computers API |\n", - "| 46 | summary | NC_GLOBAL | Wildlife Computers SPOT5 tag (ptt id 45866) deployed on a great white shark (Carcharodon carcharias) by Chris G. Lowe in the North Pacific Ocean from 2009-09-23 to 2009-11-23 |\n", - "| 47 | title | NC_GLOBAL | Great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628 |\n", - "| 48 | uuid | NC_GLOBAL | ff554ebf-bf4b-5a82-8a90-9c0ceb799d96 |\n", - "| 49 | platform_name | NC_GLOBAL | Carcharodon carcharias |\n", - "| 50 | platform_id | NC_GLOBAL | 105838 |\n", - "| 51 | vendor_id | NC_GLOBAL | 5f0668a86321be13bc7ef628 |\n", - "| 52 | sea_name | NC_GLOBAL | North Pacific Ocean |\n", - "| 53 | arbitrary_keywords | NC_GLOBAL | ATN, Animal Telemetry Network, IOOS, Integrated Ocean Observing System, trajectory, satellite telemetry tag |\n", - "| 54 | contributor_role_vocabulary | NC_GLOBAL | https://vocab.nerc.ac.uk/collection/G04/current/ |\n", - "| 55 | creator_role_vocabulary | NC_GLOBAL | https://vocab.nerc.ac.uk/collection/G04/current/ |\n", - "| 56 | creator_sector_vocabulary | NC_GLOBAL | https://mmisw.org/ont/ioos/sector |\n", - "| 57 | creator_type | NC_GLOBAL | person |\n", - "| 58 | date_metadata_modified | NC_GLOBAL | 20230816 |\n", - "| 59 | instrument | NC_GLOBAL | Satellite telemetry tag |\n", - "| 60 | instrument_vocabulary | NC_GLOBAL | |\n", - "| 61 | keywords_vocabulary | NC_GLOBAL | GCMD Science Keywords v15.1 |\n", - "| 62 | ncei_template_version | NC_GLOBAL | NCEI_NetCDF_Trajectory_Template_v2.0 |\n", - "| 63 | product_version | NC_GLOBAL | |\n", - "| 64 | program | NC_GLOBAL | IOOS Animal Telemetry Network |\n", - "| 65 | publisher_type | NC_GLOBAL | institution |\n", - "| 66 | references | NC_GLOBAL | |\n", - "| 67 | animal_common_name | NC_GLOBAL | great white shark |\n", - "| 68 | animal_id | NC_GLOBAL | 09_13 |\n", - "| 69 | animal_scientific_name | NC_GLOBAL | Carcharodon carcharias |\n", - "| 70 | deployment_id | NC_GLOBAL | 5f0668a86321be13bc7ef628 |\n", - "| 71 | deployment_start_datetime | NC_GLOBAL | 2009-09-23T00:00:00Z |\n", - "| 72 | deployment_end_datetime | NC_GLOBAL | 2009-11-23T00:00:00Z |\n", - "| 73 | wmo_platform_code | NC_GLOBAL | |\n", - "| 74 | comment | NC_GLOBAL | 09_13-45866 |\n", - "| 75 | ptt_id | NC_GLOBAL | 45866 |\n", - "| 76 | deployment_start_lat | NC_GLOBAL | 34.03 |\n", - "| 77 | deployment_start_lon | NC_GLOBAL | -118.56 |\n", - "| 78 | contributor_name | NC_GLOBAL | Thomas Farrugia |\n", - "| 79 | contributor_email | NC_GLOBAL | tjfarrugia@alaska.edu |\n", - "| 80 | contributor_role | NC_GLOBAL | collaborator |\n", - "| 81 | contributor_institution | NC_GLOBAL | California State University Long Beach |\n", - "| 82 | contributor_url | NC_GLOBAL | |\n", - "| 83 | creator_role | NC_GLOBAL | principalInvestigator |\n", - "| 84 | creator_sector | NC_GLOBAL | academic |\n", - "| 85 | creator_country | NC_GLOBAL | USA |\n", - "| 86 | creator_institution | NC_GLOBAL | California State University Long Beach |\n", - "| 87 | creator_institution_url | NC_GLOBAL | https://www.csulb.edu/shark-lab |\n", - "| 88 | citation | NC_GLOBAL | Lowe, Chris G.; Farrugia, Thomas. (2023) great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628. [Dataset]. US Integrated Ocean Observing System Office. |\n", - "\n" - ], - "text/plain": [ - " id name variable \n", - "1 0 date_created NC_GLOBAL\n", - "2 1 featureType NC_GLOBAL\n", - "3 2 cdm_data_type NC_GLOBAL\n", - "4 3 Conventions NC_GLOBAL\n", - "5 4 argos_program_number NC_GLOBAL\n", - "6 5 creator_email NC_GLOBAL\n", - "7 6 id NC_GLOBAL\n", - "8 7 tag_type NC_GLOBAL\n", - "9 8 source NC_GLOBAL\n", - "10 9 acknowledgement NC_GLOBAL\n", - "11 10 creator_name NC_GLOBAL\n", - "12 11 creator_url NC_GLOBAL\n", - "13 12 geospatial_lat_units NC_GLOBAL\n", - "14 13 geospatial_lon_units NC_GLOBAL\n", - "15 14 infoUrl NC_GLOBAL\n", - "16 15 institution NC_GLOBAL\n", - "17 16 keywords NC_GLOBAL\n", - "18 17 license NC_GLOBAL\n", - "19 18 metadata_link NC_GLOBAL\n", - "20 19 naming_authority NC_GLOBAL\n", - "21 20 platform_category NC_GLOBAL\n", - "22 21 platform NC_GLOBAL\n", - "23 22 platform_vocabulary NC_GLOBAL\n", - "24 23 processing_level NC_GLOBAL\n", - "25 24 project NC_GLOBAL\n", - "26 25 publisher_email NC_GLOBAL\n", - "27 26 publisher_institution NC_GLOBAL\n", - "28 27 publisher_name NC_GLOBAL\n", - "29 28 publisher_url NC_GLOBAL\n", - "30 29 publisher_country NC_GLOBAL\n", - "31 30 standard_name_vocabulary NC_GLOBAL\n", - "32 31 vendor NC_GLOBAL\n", - "33 32 geospatial_lat_min NC_GLOBAL\n", - "34 33 geospatial_lat_max NC_GLOBAL\n", - "35 34 geospatial_lon_min NC_GLOBAL\n", - "36 35 geospatial_lon_max NC_GLOBAL\n", - "37 36 geospatial_bbox NC_GLOBAL\n", - "38 37 geospatial_bounds NC_GLOBAL\n", - "39 38 geospatial_bounds_crs NC_GLOBAL\n", - "40 39 time_coverage_start NC_GLOBAL\n", - "41 40 time_coverage_end NC_GLOBAL\n", - "42 41 time_coverage_duration NC_GLOBAL\n", - "43 42 time_coverage_resolution NC_GLOBAL\n", - "44 43 date_issued NC_GLOBAL\n", - "45 44 date_modified NC_GLOBAL\n", - "46 45 history NC_GLOBAL\n", - "47 46 summary NC_GLOBAL\n", - "48 47 title NC_GLOBAL\n", - "49 48 uuid NC_GLOBAL\n", - "50 49 platform_name NC_GLOBAL\n", - "51 50 platform_id NC_GLOBAL\n", - "52 51 vendor_id NC_GLOBAL\n", - "53 52 sea_name NC_GLOBAL\n", - "54 53 arbitrary_keywords NC_GLOBAL\n", - "55 54 contributor_role_vocabulary NC_GLOBAL\n", - "56 55 creator_role_vocabulary NC_GLOBAL\n", - "57 56 creator_sector_vocabulary NC_GLOBAL\n", - "58 57 creator_type NC_GLOBAL\n", - "59 58 date_metadata_modified NC_GLOBAL\n", - "60 59 instrument NC_GLOBAL\n", - "61 60 instrument_vocabulary NC_GLOBAL\n", - "62 61 keywords_vocabulary NC_GLOBAL\n", - "63 62 ncei_template_version NC_GLOBAL\n", - "64 63 product_version NC_GLOBAL\n", - "65 64 program NC_GLOBAL\n", - "66 65 publisher_type NC_GLOBAL\n", - "67 66 references NC_GLOBAL\n", - "68 67 animal_common_name NC_GLOBAL\n", - "69 68 animal_id NC_GLOBAL\n", - "70 69 animal_scientific_name NC_GLOBAL\n", - "71 70 deployment_id NC_GLOBAL\n", - "72 71 deployment_start_datetime NC_GLOBAL\n", - "73 72 deployment_end_datetime NC_GLOBAL\n", - "74 73 wmo_platform_code NC_GLOBAL\n", - "75 74 comment NC_GLOBAL\n", - "76 75 ptt_id NC_GLOBAL\n", - "77 76 deployment_start_lat NC_GLOBAL\n", - "78 77 deployment_start_lon NC_GLOBAL\n", - "79 78 contributor_name NC_GLOBAL\n", - "80 79 contributor_email NC_GLOBAL\n", - "81 80 contributor_role NC_GLOBAL\n", - "82 81 contributor_institution NC_GLOBAL\n", - "83 82 contributor_url NC_GLOBAL\n", - "84 83 creator_role NC_GLOBAL\n", - "85 84 creator_sector NC_GLOBAL\n", - "86 85 creator_country NC_GLOBAL\n", - "87 86 creator_institution NC_GLOBAL\n", - "88 87 creator_institution_url NC_GLOBAL\n", - "89 88 citation NC_GLOBAL\n", - " value \n", - "1 2023-08-16T20:00:00Z \n", - "2 trajectory \n", - "3 Trajectory \n", - "4 CF-1.10, ACDD-1.3, IOOS-1.2 \n", - "5 2414 \n", - "6 chris.lowe@csulb.edu \n", - "7 5f0668a86321be13bc7ef628 \n", - "8 SPOT5 \n", - "9 Service Argos \n", - "10 NOAA IOOS, Axiom Data Science, Navy ONR, NOAA NMFS, Wildlife Computers, Argos, IOOS ATN \n", - "11 Chris G. Lowe \n", - "12 \n", - "13 degrees_north \n", - "14 degrees_east \n", - "15 https://portal.atn.ioos.us/#metadata/6e2ba85c-2f61-4bc5-8c2b-34d6734155ed/project \n", - "16 California State University Long Beach \n", - "17 EARTH SCIENCE > AGRICULTURE > ANIMAL SCIENCE > ANIMAL ECOLOGY AND BEHAVIOR, EARTH SCIENCE > BIOSPHERE > ECOLOGICAL DYNAMICS > SPECIES/POPULATION INTERACTIONS > MIGRATORY RATES/ROUTES, EARTH SCIENCE > OCEANS, EARTH SCIENCE > CLIMATE INDICATORS > BIOSPHERIC INDICATORS > SPECIES MIGRATION, EARTH SCIENCE > OCEANS, EARTH SCIENCE > BIOLOGICAL CLASSIFICATION > ANIMALS/VERTEBRATES, EARTH SCIENCE > BIOSPHERE > ECOSYSTEMS > MARINE ECOSYSTEMS, PROVIDERS > GOVERNMENT AGENCIES-U.S. FEDERAL AGENCIES > DOC > NOAA > IOOS, PROVIDERS > COMMERCIAL > Axiom Data Science \n", - "18 These data may be used and redistributed for free, but are not intended for legal use, since they may contain inaccuracies. No person or group associated with these data makes any warranty, expressed or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness or usefulness of this information. This disclaimer applies to both individual use of these data and aggregate use with other data. It is strongly recommended that users read and fully comprehend associated metadata prior to use. Please acknowledge the U.S. Animal Telemetry Network (ATN) or the specified citation as the source from which these data were obtained in any publications and/or representations of these data. Communication and collaboration with dataset authors are strongly encouraged.\n", - "19 \n", - "20 com.wildlifecomputers \n", - "21 animal \n", - "22 fish \n", - "23 https://vocab.nerc.ac.uk/collection/L06/current/ \n", - "24 NetCDF file created from position data obtained from Wildlife Computers API. \n", - "25 Project White Shark: Juvenile Satellite Biotelemetry, 2001-2020 \n", - "26 atndata@ioos.us \n", - "27 US Integrated Ocean Observing System Office \n", - "28 US Integrated Ocean Observing System (IOOS) Animal Telemetry Network (ATN) \n", - "29 https://atn.ioos.us \n", - "30 USA \n", - "31 CF-v78 \n", - "32 Wildlife Computers \n", - "33 23.59 \n", - "34 34.045 \n", - "35 -166.18 \n", - "36 -118.504 \n", - "37 POLYGON ((-118.504 23.59, -118.504 34.045, -166.18 34.045, -166.18 23.59, -118.504 23.59)) \n", - "38 POLYGON ((-166.18 23.59, -118.581 34.038, -118.53 34.045, -118.504 33.989, -118.534 33.972, -119.75 33.517, -166.18 23.59)) \n", - "39 EPSG:4326 \n", - "40 2009-09-23T00:00:00Z \n", - "41 2009-11-23T05:12:00Z \n", - "42 P61DT5H12M0S \n", - "43 P2DT2H39M43S \n", - "44 2023-08-16T20:00:00Z \n", - "45 2023-08-16T20:00:00Z \n", - "46 2023-08-07T20:24:04Z - Created by the IOOS ATN DAC from the Wildlife Computers API \n", - "47 Wildlife Computers SPOT5 tag (ptt id 45866) deployed on a great white shark (Carcharodon carcharias) by Chris G. Lowe in the North Pacific Ocean from 2009-09-23 to 2009-11-23 \n", - "48 Great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628 \n", - "49 ff554ebf-bf4b-5a82-8a90-9c0ceb799d96 \n", - "50 Carcharodon carcharias \n", - "51 105838 \n", - "52 5f0668a86321be13bc7ef628 \n", - "53 North Pacific Ocean \n", - "54 ATN, Animal Telemetry Network, IOOS, Integrated Ocean Observing System, trajectory, satellite telemetry tag \n", - "55 https://vocab.nerc.ac.uk/collection/G04/current/ \n", - "56 https://vocab.nerc.ac.uk/collection/G04/current/ \n", - "57 https://mmisw.org/ont/ioos/sector \n", - "58 person \n", - "59 20230816 \n", - "60 Satellite telemetry tag \n", - "61 \n", - "62 GCMD Science Keywords v15.1 \n", - "63 NCEI_NetCDF_Trajectory_Template_v2.0 \n", - "64 \n", - "65 IOOS Animal Telemetry Network \n", - "66 institution \n", - "67 \n", - "68 great white shark \n", - "69 09_13 \n", - "70 Carcharodon carcharias \n", - "71 5f0668a86321be13bc7ef628 \n", - "72 2009-09-23T00:00:00Z \n", - "73 2009-11-23T00:00:00Z \n", - "74 \n", - "75 09_13-45866 \n", - "76 45866 \n", - "77 34.03 \n", - "78 -118.56 \n", - "79 Thomas Farrugia \n", - "80 tjfarrugia@alaska.edu \n", - "81 collaborator \n", - "82 California State University Long Beach \n", - "83 \n", - "84 principalInvestigator \n", - "85 academic \n", - "86 USA \n", - "87 California State University Long Beach \n", - "88 https://www.csulb.edu/shark-lab \n", - "89 Lowe, Chris G.; Farrugia, Thomas. (2023) great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed in the North Pacific Ocean from 2009-09-23 to 2009-11-23, deployment id 5f0668a86321be13bc7ef628. [Dataset]. US Integrated Ocean Observing System Office. " - ] - }, - "metadata": {}, - "output_type": "display_data" + "name": "stdout", + "output_type": "stream", + "text": [ + "tibble [89 x 4] (S3: tbl_df/tbl/data.frame)\n", + " $ id : int [1:89] 0 1 2 3 4 5 6 7 8 9 ...\n", + " $ name : chr [1:89] \"date_created\" \"featureType\" \"cdm_data_type\" \"Conventions\" ...\n", + " $ variable: chr [1:89] \"NC_GLOBAL\" \"NC_GLOBAL\" \"NC_GLOBAL\" \"NC_GLOBAL\" ...\n", + " $ value :List of 89\n", + " ..$ date_created : chr \"2023-08-16T20:00:00Z\"\n", + " ..$ featureType : chr \"trajectory\"\n", + " ..$ cdm_data_type : chr \"Trajectory\"\n", + " ..$ Conventions : chr \"CF-1.10, ACDD-1.3, IOOS-1.2\"\n", + " ..$ argos_program_number : chr \"2414\"\n", + " ..$ creator_email : chr \"chris.lowe@csulb.edu\"\n", + " ..$ id : chr \"5f0668a86321be13bc7ef628\"\n", + " ..$ tag_type : chr \"SPOT5\"\n", + " ..$ source : chr \"Service Argos\"\n", + " ..$ acknowledgement : chr \"NOAA IOOS, Axiom Data Science, Navy ONR, NOAA NMFS, Wildlife Computers, Argos, IOOS ATN\"\n", + " ..$ creator_name : chr \"Chris G. Lowe\"\n", + " ..$ creator_url : chr \"\"\n", + " ..$ geospatial_lat_units : chr \"degrees_north\"\n", + " ..$ geospatial_lon_units : chr \"degrees_east\"\n", + " ..$ infoUrl : chr \"https://portal.atn.ioos.us/#metadata/6e2ba85c-2f61-4bc5-8c2b-34d6734155ed/project\"\n", + " ..$ institution : chr \"California State University Long Beach\"\n", + " ..$ keywords : chr \"EARTH SCIENCE > AGRICULTURE > ANIMAL SCIENCE > ANIMAL ECOLOGY AND BEHAVIOR, EARTH SCIENCE > BIOSPHERE > ECOLOGI\"| __truncated__\n", + " ..$ license : chr \"These data may be used and redistributed for free, but are not intended for legal use, since they may contain i\"| __truncated__\n", + " ..$ metadata_link : chr \"\"\n", + " ..$ naming_authority : chr \"com.wildlifecomputers\"\n", + " ..$ platform_category : chr \"animal\"\n", + " ..$ platform : chr \"fish\"\n", + " ..$ platform_vocabulary : chr \"https://vocab.nerc.ac.uk/collection/L06/current/\"\n", + " ..$ processing_level : chr \"NetCDF file created from position data obtained from Wildlife Computers API.\"\n", + " ..$ project : chr \"Project White Shark: Juvenile Satellite Biotelemetry, 2001-2020\"\n", + " ..$ publisher_email : chr \"atndata@ioos.us\"\n", + " ..$ publisher_institution : chr \"US Integrated Ocean Observing System Office\"\n", + " ..$ publisher_name : chr \"US Integrated Ocean Observing System (IOOS) Animal Telemetry Network (ATN)\"\n", + " ..$ publisher_url : chr \"https://atn.ioos.us\"\n", + " ..$ publisher_country : chr \"USA\"\n", + " ..$ standard_name_vocabulary : chr \"CF-v78\"\n", + " ..$ vendor : chr \"Wildlife Computers\"\n", + " ..$ geospatial_lat_min : num 23.6\n", + " ..$ geospatial_lat_max : num 34\n", + " ..$ geospatial_lon_min : num -166\n", + " ..$ geospatial_lon_max : num -119\n", + " ..$ geospatial_bbox : chr \"POLYGON ((-118.504 23.59, -118.504 34.045, -166.18 34.045, -166.18 23.59, -118.504 23.59))\"\n", + " ..$ geospatial_bounds : chr \"POLYGON ((-166.18 23.59, -118.581 34.038, -118.53 34.045, -118.504 33.989, -118.534 33.972, -119.75 33.517, -166.18 23.59))\"\n", + " ..$ geospatial_bounds_crs : chr \"EPSG:4326\"\n", + " ..$ time_coverage_start : chr \"2009-09-23T00:00:00Z\"\n", + " ..$ time_coverage_end : chr \"2009-11-23T05:12:00Z\"\n", + " ..$ time_coverage_duration : chr \"P61DT5H12M0S\"\n", + " ..$ time_coverage_resolution : chr \"P2DT2H39M43S\"\n", + " ..$ date_issued : chr \"2023-08-16T20:00:00Z\"\n", + " ..$ date_modified : chr \"2023-08-16T20:00:00Z\"\n", + " ..$ history : chr \"2023-08-07T20:24:04Z - Created by the IOOS ATN DAC from the Wildlife Computers API\"\n", + " ..$ summary : chr \"Wildlife Computers SPOT5 tag (ptt id 45866) deployed on a great white shark (Carcharodon carcharias) by Chris G\"| __truncated__\n", + " ..$ title : chr \"Great white shark (Carcharodon carcharias) location data from a satellite telemetry tag (ptt id 45866) deployed\"| __truncated__\n", + " ..$ uuid : chr \"ff554ebf-bf4b-5a82-8a90-9c0ceb799d96\"\n", + " ..$ platform_name : chr \"Carcharodon carcharias\"\n", + " ..$ platform_id : chr \"105838\"\n", + " ..$ vendor_id : chr \"5f0668a86321be13bc7ef628\"\n", + " ..$ sea_name : chr \"North Pacific Ocean\"\n", + " ..$ arbitrary_keywords : chr \"ATN, Animal Telemetry Network, IOOS, Integrated Ocean Observing System, trajectory, satellite telemetry tag\"\n", + " ..$ contributor_role_vocabulary: chr \"https://vocab.nerc.ac.uk/collection/G04/current/\"\n", + " ..$ creator_role_vocabulary : chr \"https://vocab.nerc.ac.uk/collection/G04/current/\"\n", + " ..$ creator_sector_vocabulary : chr \"https://mmisw.org/ont/ioos/sector\"\n", + " ..$ creator_type : chr \"person\"\n", + " ..$ date_metadata_modified : chr \"20230816\"\n", + " ..$ instrument : chr \"Satellite telemetry tag\"\n", + " ..$ instrument_vocabulary : chr \"\"\n", + " ..$ keywords_vocabulary : chr \"GCMD Science Keywords v15.1\"\n", + " ..$ ncei_template_version : chr \"NCEI_NetCDF_Trajectory_Template_v2.0\"\n", + " ..$ product_version : chr \"\"\n", + " ..$ program : chr \"IOOS Animal Telemetry Network\"\n", + " ..$ publisher_type : chr \"institution\"\n", + " ..$ references : chr \"\"\n", + " ..$ animal_common_name : chr \"great white shark\"\n", + " ..$ animal_id : chr \"09_13\"\n", + " ..$ animal_scientific_name : chr \"Carcharodon carcharias\"\n", + " ..$ deployment_id : chr \"5f0668a86321be13bc7ef628\"\n", + " ..$ deployment_start_datetime : chr \"2009-09-23T00:00:00Z\"\n", + " ..$ deployment_end_datetime : chr \"2009-11-23T00:00:00Z\"\n", + " ..$ wmo_platform_code : chr \"\"\n", + " ..$ comment : chr \"09_13-45866\"\n", + " ..$ ptt_id : chr \"45866\"\n", + " ..$ deployment_start_lat : chr \"34.03\"\n", + " ..$ deployment_start_lon : chr \"-118.56\"\n", + " ..$ contributor_name : chr \"Thomas Farrugia\"\n", + " ..$ contributor_email : chr \"tjfarrugia@alaska.edu\"\n", + " ..$ contributor_role : chr \"collaborator\"\n", + " ..$ contributor_institution : chr \"California State University Long Beach\"\n", + " ..$ contributor_url : chr \"\"\n", + " ..$ creator_role : chr \"principalInvestigator\"\n", + " ..$ creator_sector : chr \"academic\"\n", + " ..$ creator_country : chr \"USA\"\n", + " ..$ creator_institution : chr \"California State University Long Beach\"\n", + " ..$ creator_institution_url : chr \"https://www.csulb.edu/shark-lab\"\n", + " ..$ citation : chr \"Lowe, Chris G.; Farrugia, Thomas. (2023) great white shark (Carcharodon carcharias) location data from a satell\"| __truncated__\n" + ] } ], "source": [ @@ -3098,7 +1780,7 @@ "\n", "globals <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\")\n", "\n", - "globals" + "str(globals)" ] }, { @@ -3110,7 +1792,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -3372,380 +2054,73 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 29 × 20A tibble: 2 × 22
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDorganismIDoccurrenceIDgeodeticDatumeventID
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr>
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDminimumDepthInMetersmaximumDepthInMetersorganismIDoccurrenceIDgeodeticDatumeventID
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><int><int><chr><chr><chr><chr>
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z
2009-09-25T06:42:00Z23.590-166.180MachineObservationA 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T06:42:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T06:42:00Z
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z
2009-09-25T11:11:00Z34.035-118.549MachineObservation0 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:11:00Z
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z
2009-09-30T05:01:00Z33.517-119.750MachineObservationB 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-30T05:01:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-30T05:01:00Z
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z
2009-10-19T10:20:00Z34.036-118.557MachineObservationA 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-19T10:20:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-19T10:20:00Z
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z
2009-10-26T11:22:00Z34.021-118.570MachineObservationB 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T11:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T11:22:00Z
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z
2009-10-27T16:22:00Z34.006-118.526MachineObservation2 1313AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:22:00Z
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z
2009-10-30T10:03:00Z34.021-118.557MachineObservationA 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-30T10:03:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-30T10:03:00Z
2009-10-31T19:48:00Z34.005-118.591MachineObservationA 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T19:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T19:48:00Z
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z
2009-11-01T21:04:00Z34.043-118.541MachineObservationA 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-11-01T21:04:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-11-01T21:04:00Z
2009-11-06T17:53:00Z34.021-118.611MachineObservationB 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-11-06T17:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-11-06T17:53:00Z
2009-11-13T18:48:00Z33.993-118.602MachineObservationA 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-11-13T18:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-11-13T18:48:00Z
2009-11-23T05:12:00Z33.972-118.534MachineObservationB 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-11-23T05:12:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-11-23T05:12:00Z
2009-09-23T00:00:00Z34.03-118.56HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z
2009-09-25T06:42:00Z23.59-166.18MachineObservationA 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T06:42:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T06:42:00Z
\n" ], "text/latex": [ - "A tibble: 29 × 20\n", - "\\begin{tabular}{llllllllllllllllllll}\n", - " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & organismID & occurrenceID & geodeticDatum & eventID\\\\\n", - " & & & & & & & & & & & & & & & & & & & \\\\\n", + "A tibble: 2 × 22\n", + "\\begin{tabular}{llllllllllllllllllllll}\n", + " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & minimumDepthInMeters & maximumDepthInMeters & organismID & occurrenceID & geodeticDatum & eventID\\\\\n", + " & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z\\\\\n", - "\t 2009-09-25T06:42:00Z & 23.590 & -166.180 & MachineObservation & A & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T06:42:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T06:42:00Z\\\\\n", - "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z\\\\\n", - "\t 2009-09-25T11:11:00Z & 34.035 & -118.549 & MachineObservation & 0 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:11:00Z\\\\\n", - "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z\\\\\n", - "\t 2009-09-30T05:01:00Z & 33.517 & -119.750 & MachineObservation & B & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-30T05:01:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-30T05:01:00Z\\\\\n", - "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z\\\\\n", - "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z\\\\\n", - "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z\\\\\n", - "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z\\\\\n", - "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z\\\\\n", - "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z\\\\\n", - "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z\\\\\n", - "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z\\\\\n", - "\t 2009-10-19T10:20:00Z & 34.036 & -118.557 & MachineObservation & A & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-19T10:20:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-19T10:20:00Z\\\\\n", - "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z\\\\\n", - "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z\\\\\n", - "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z\\\\\n", - "\t 2009-10-26T11:22:00Z & 34.021 & -118.570 & MachineObservation & B & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T11:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T11:22:00Z\\\\\n", - "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z\\\\\n", - "\t 2009-10-27T16:22:00Z & 34.006 & -118.526 & MachineObservation & 2 & 1 & 3 & 1 & 3 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:22:00Z\\\\\n", - "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z\\\\\n", - "\t 2009-10-30T10:03:00Z & 34.021 & -118.557 & MachineObservation & A & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-30T10:03:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-30T10:03:00Z\\\\\n", - "\t 2009-10-31T19:48:00Z & 34.005 & -118.591 & MachineObservation & A & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T19:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T19:48:00Z\\\\\n", - "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z\\\\\n", - "\t 2009-11-01T21:04:00Z & 34.043 & -118.541 & MachineObservation & A & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-11-01T21:04:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-11-01T21:04:00Z\\\\\n", - "\t 2009-11-06T17:53:00Z & 34.021 & -118.611 & MachineObservation & B & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-11-06T17:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-11-06T17:53:00Z\\\\\n", - "\t 2009-11-13T18:48:00Z & 33.993 & -118.602 & MachineObservation & A & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-11-13T18:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-11-13T18:48:00Z\\\\\n", - "\t 2009-11-23T05:12:00Z & 33.972 & -118.534 & MachineObservation & B & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-11-23T05:12:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-11-23T05:12:00Z\\\\\n", + "\t 2009-09-23T00:00:00Z & 34.03 & -118.56 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z\\\\\n", + "\t 2009-09-25T06:42:00Z & 23.59 & -166.18 & MachineObservation & A & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T06:42:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T06:42:00Z\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ - "\n", - "A tibble: 29 × 20\n", - "\n", - "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> |\n", - "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z |\n", - "| 2009-09-25T06:42:00Z | 23.590 | -166.180 | MachineObservation | A | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T06:42:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T06:42:00Z |\n", - "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z |\n", - "| 2009-09-25T11:11:00Z | 34.035 | -118.549 | MachineObservation | 0 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:11:00Z |\n", - "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z |\n", - "| 2009-09-30T05:01:00Z | 33.517 | -119.750 | MachineObservation | B | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-30T05:01:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-30T05:01:00Z |\n", - "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z |\n", - "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z |\n", - "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z |\n", - "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z |\n", - "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z |\n", - "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z |\n", - "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z |\n", - "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z |\n", - "| 2009-10-19T10:20:00Z | 34.036 | -118.557 | MachineObservation | A | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-19T10:20:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-19T10:20:00Z |\n", - "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z |\n", - "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z |\n", - "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z |\n", - "| 2009-10-26T11:22:00Z | 34.021 | -118.570 | MachineObservation | B | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T11:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T11:22:00Z |\n", - "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z |\n", - "| 2009-10-27T16:22:00Z | 34.006 | -118.526 | MachineObservation | 2 | 1 | 3 | 1 | 3 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:22:00Z |\n", - "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z |\n", - "| 2009-10-30T10:03:00Z | 34.021 | -118.557 | MachineObservation | A | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-30T10:03:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-30T10:03:00Z |\n", - "| 2009-10-31T19:48:00Z | 34.005 | -118.591 | MachineObservation | A | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T19:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T19:48:00Z |\n", - "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z |\n", - "| 2009-11-01T21:04:00Z | 34.043 | -118.541 | MachineObservation | A | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-11-01T21:04:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-11-01T21:04:00Z |\n", - "| 2009-11-06T17:53:00Z | 34.021 | -118.611 | MachineObservation | B | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-11-06T17:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-11-06T17:53:00Z |\n", - "| 2009-11-13T18:48:00Z | 33.993 | -118.602 | MachineObservation | A | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-11-13T18:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-11-13T18:48:00Z |\n", - "| 2009-11-23T05:12:00Z | 33.972 | -118.534 | MachineObservation | B | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-11-23T05:12:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-11-23T05:12:00Z |\n", - "\n" - ], - "text/plain": [ - " eventDate decimalLatitude decimalLongitude basisOfRecord \n", - "1 2009-09-23T00:00:00Z 34.030 -118.560 HumanObservation \n", - "2 2009-09-25T06:42:00Z 23.590 -166.180 MachineObservation\n", - "3 2009-09-25T11:09:00Z 34.024 -118.556 MachineObservation\n", - "4 2009-09-25T11:11:00Z 34.035 -118.549 MachineObservation\n", - "5 2009-09-27T17:58:00Z 34.033 -118.547 MachineObservation\n", - "6 2009-09-30T05:01:00Z 33.517 -119.750 MachineObservation\n", - "7 2009-10-08T20:24:00Z 34.038 -118.581 MachineObservation\n", - "8 2009-10-15T11:05:00Z 33.995 -118.678 MachineObservation\n", - "9 2009-10-17T06:11:00Z 34.037 -118.545 MachineObservation\n", - "10 2009-10-17T09:00:00Z 34.026 -118.534 MachineObservation\n", - "11 2009-10-17T10:38:00Z 34.027 -118.545 MachineObservation\n", - "12 2009-10-18T08:48:00Z 34.039 -118.548 MachineObservation\n", - "13 2009-10-18T10:26:00Z 34.031 -118.541 MachineObservation\n", - "14 2009-10-18T11:15:00Z 34.041 -118.535 MachineObservation\n", - "15 2009-10-19T10:20:00Z 34.036 -118.557 MachineObservation\n", - "16 2009-10-23T23:52:00Z 33.999 -118.612 MachineObservation\n", - "17 2009-10-24T00:06:00Z 34.002 -118.604 MachineObservation\n", - "18 2009-10-26T10:53:00Z 34.022 -118.537 MachineObservation\n", - "19 2009-10-26T11:22:00Z 34.021 -118.570 MachineObservation\n", - "20 2009-10-27T16:21:00Z 34.010 -118.524 MachineObservation\n", - "21 2009-10-27T16:22:00Z 34.006 -118.526 MachineObservation\n", - "22 2009-10-29T11:53:00Z 33.989 -118.504 MachineObservation\n", - "23 2009-10-30T10:03:00Z 34.021 -118.557 MachineObservation\n", - "24 2009-10-31T19:48:00Z 34.005 -118.591 MachineObservation\n", - "25 2009-10-31T21:15:00Z 34.045 -118.530 MachineObservation\n", - "26 2009-11-01T21:04:00Z 34.043 -118.541 MachineObservation\n", - "27 2009-11-06T17:53:00Z 34.021 -118.611 MachineObservation\n", - "28 2009-11-13T18:48:00Z 33.993 -118.602 MachineObservation\n", - "29 2009-11-23T05:12:00Z 33.972 -118.534 MachineObservation\n", - " location_class qartod_time_flag qartod_speed_flag qartod_location_flag\n", - "1 nan 1 2 1 \n", - "2 A 1 4 1 \n", - "3 1 1 4 1 \n", - "4 0 1 4 1 \n", - "5 1 1 1 1 \n", - "6 B 1 1 1 \n", - "7 2 1 1 1 \n", - "8 0 1 1 1 \n", - "9 0 1 1 1 \n", - "10 2 1 1 1 \n", - "11 3 1 1 1 \n", - "12 1 1 1 1 \n", - "13 2 1 1 1 \n", - "14 0 1 1 1 \n", - "15 A 1 1 1 \n", - "16 2 1 1 1 \n", - "17 0 1 1 1 \n", - "18 3 1 1 1 \n", - "19 B 1 1 1 \n", - "20 1 1 1 1 \n", - "21 2 1 3 1 \n", - "22 2 1 1 1 \n", - "23 A 1 1 1 \n", - "24 A 1 1 1 \n", - "25 0 1 1 1 \n", - "26 A 1 1 1 \n", - "27 B 1 1 1 \n", - "28 A 1 1 1 \n", - "29 B 1 1 1 \n", - " qartod_rollup_flag kingdom taxonRank occurrenceStatus sex lifeStage\n", - "1 1 Animalia Species present male juvenile \n", - "2 4 Animalia Species present male juvenile \n", - "3 4 Animalia Species present male juvenile \n", - "4 4 Animalia Species present male juvenile \n", - "5 1 Animalia Species present male juvenile \n", - "6 1 Animalia Species present male juvenile \n", - "7 1 Animalia Species present male juvenile \n", - "8 1 Animalia Species present male juvenile \n", - "9 1 Animalia Species present male juvenile \n", - "10 1 Animalia Species present male juvenile \n", - "11 1 Animalia Species present male juvenile \n", - "12 1 Animalia Species present male juvenile \n", - "13 1 Animalia Species present male juvenile \n", - "14 1 Animalia Species present male juvenile \n", - "15 1 Animalia Species present male juvenile \n", - "16 1 Animalia Species present male juvenile \n", - "17 1 Animalia Species present male juvenile \n", - "18 1 Animalia Species present male juvenile \n", - "19 1 Animalia Species present male juvenile \n", - "20 1 Animalia Species present male juvenile \n", - "21 3 Animalia Species present male juvenile \n", - "22 1 Animalia Species present male juvenile \n", - "23 1 Animalia Species present male juvenile \n", - "24 1 Animalia Species present male juvenile \n", - "25 1 Animalia Species present male juvenile \n", - "26 1 Animalia Species present male juvenile \n", - "27 1 Animalia Species present male juvenile \n", - "28 1 Animalia Species present male juvenile \n", - "29 1 Animalia Species present male juvenile \n", - " scientificName scientificNameID \n", - "1 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "2 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "3 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "4 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "5 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "6 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "7 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "8 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "9 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "10 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "11 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "12 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "13 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "14 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "15 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "16 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "17 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "18 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "19 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "20 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "21 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "22 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "23 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "24 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "25 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "26 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "27 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "28 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - "29 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - " organismID occurrenceID \n", - "1 105838_great_white_shark 2009-09-23T00:00:00Z_0_great_white_shark\n", - "2 105838_great_white_shark 2009-09-25T06:42:00Z_0_great_white_shark\n", - "3 105838_great_white_shark 2009-09-25T11:09:00Z_0_great_white_shark\n", - "4 105838_great_white_shark 2009-09-25T11:11:00Z_0_great_white_shark\n", - "5 105838_great_white_shark 2009-09-27T17:58:00Z_0_great_white_shark\n", - "6 105838_great_white_shark 2009-09-30T05:01:00Z_0_great_white_shark\n", - "7 105838_great_white_shark 2009-10-08T20:24:00Z_0_great_white_shark\n", - "8 105838_great_white_shark 2009-10-15T11:05:00Z_0_great_white_shark\n", - "9 105838_great_white_shark 2009-10-17T06:11:00Z_0_great_white_shark\n", - "10 105838_great_white_shark 2009-10-17T09:00:00Z_0_great_white_shark\n", - "11 105838_great_white_shark 2009-10-17T10:38:00Z_0_great_white_shark\n", - "12 105838_great_white_shark 2009-10-18T08:48:00Z_0_great_white_shark\n", - "13 105838_great_white_shark 2009-10-18T10:26:00Z_0_great_white_shark\n", - "14 105838_great_white_shark 2009-10-18T11:15:00Z_0_great_white_shark\n", - "15 105838_great_white_shark 2009-10-19T10:20:00Z_0_great_white_shark\n", - "16 105838_great_white_shark 2009-10-23T23:52:00Z_0_great_white_shark\n", - "17 105838_great_white_shark 2009-10-24T00:06:00Z_0_great_white_shark\n", - "18 105838_great_white_shark 2009-10-26T10:53:00Z_0_great_white_shark\n", - "19 105838_great_white_shark 2009-10-26T11:22:00Z_0_great_white_shark\n", - "20 105838_great_white_shark 2009-10-27T16:21:00Z_0_great_white_shark\n", - "21 105838_great_white_shark 2009-10-27T16:22:00Z_0_great_white_shark\n", - "22 105838_great_white_shark 2009-10-29T11:53:00Z_0_great_white_shark\n", - "23 105838_great_white_shark 2009-10-30T10:03:00Z_0_great_white_shark\n", - "24 105838_great_white_shark 2009-10-31T19:48:00Z_0_great_white_shark\n", - "25 105838_great_white_shark 2009-10-31T21:15:00Z_0_great_white_shark\n", - "26 105838_great_white_shark 2009-11-01T21:04:00Z_0_great_white_shark\n", - "27 105838_great_white_shark 2009-11-06T17:53:00Z_0_great_white_shark\n", - "28 105838_great_white_shark 2009-11-13T18:48:00Z_0_great_white_shark\n", - "29 105838_great_white_shark 2009-11-23T05:12:00Z_0_great_white_shark\n", - " geodeticDatum eventID \n", - "1 EPSG:4326 great_white shark_2009-09-23T00:00:00Z\n", - "2 EPSG:4326 great_white shark_2009-09-25T06:42:00Z\n", - "3 EPSG:4326 great_white shark_2009-09-25T11:09:00Z\n", - "4 EPSG:4326 great_white shark_2009-09-25T11:11:00Z\n", - "5 EPSG:4326 great_white shark_2009-09-27T17:58:00Z\n", - "6 EPSG:4326 great_white shark_2009-09-30T05:01:00Z\n", - "7 EPSG:4326 great_white shark_2009-10-08T20:24:00Z\n", - "8 EPSG:4326 great_white shark_2009-10-15T11:05:00Z\n", - "9 EPSG:4326 great_white shark_2009-10-17T06:11:00Z\n", - "10 EPSG:4326 great_white shark_2009-10-17T09:00:00Z\n", - "11 EPSG:4326 great_white shark_2009-10-17T10:38:00Z\n", - "12 EPSG:4326 great_white shark_2009-10-18T08:48:00Z\n", - "13 EPSG:4326 great_white shark_2009-10-18T10:26:00Z\n", - "14 EPSG:4326 great_white shark_2009-10-18T11:15:00Z\n", - "15 EPSG:4326 great_white shark_2009-10-19T10:20:00Z\n", - "16 EPSG:4326 great_white shark_2009-10-23T23:52:00Z\n", - "17 EPSG:4326 great_white shark_2009-10-24T00:06:00Z\n", - "18 EPSG:4326 great_white shark_2009-10-26T10:53:00Z\n", - "19 EPSG:4326 great_white shark_2009-10-26T11:22:00Z\n", - "20 EPSG:4326 great_white shark_2009-10-27T16:21:00Z\n", - "21 EPSG:4326 great_white shark_2009-10-27T16:22:00Z\n", - "22 EPSG:4326 great_white shark_2009-10-29T11:53:00Z\n", - "23 EPSG:4326 great_white shark_2009-10-30T10:03:00Z\n", - "24 EPSG:4326 great_white shark_2009-10-31T19:48:00Z\n", - "25 EPSG:4326 great_white shark_2009-10-31T21:15:00Z\n", - "26 EPSG:4326 great_white shark_2009-11-01T21:04:00Z\n", - "27 EPSG:4326 great_white shark_2009-11-06T17:53:00Z\n", - "28 EPSG:4326 great_white shark_2009-11-13T18:48:00Z\n", - "29 EPSG:4326 great_white shark_2009-11-23T05:12:00Z" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "# occurrence Core/Extension\n", - "# occurrencedf <- data.frame( atn_tbl$time, \n", - "# atn_tbl$lat, \n", - "# atn_tbl$lon, \n", - "# atn_tbl$type, \n", - "# atn_tbl$location_class, \n", - "# atn_tbl$qartod_time_flag,\n", - "# atn_tbl$qartod_speed_flag, \n", - "# atn_tbl$qartod_location_flag, \n", - "# atn_tbl$qartod_rollup_flag\n", - "# )\n", - "\n", - "\n", - "# basisOfRecord\n", - "#occurrencedf$basisOfRecord <- occurrencedf$atn_tbl.type\n", - "#occurrencedf$atn_tbl.type <- NULL\n", - "\n", - "#occurrencedf <- occurrencedf %>% mutate(across('basisOfRecord', str_replace, 'User', 'HumanObservation')) #%>% dplyr::filter(variable==\"type\")\n", - "#occurrencedf <- occurrencedf %>% mutate(across('basisOfRecord', str_replace, 'Argos', 'MachineObservation'))\n", - "\n", - "# eventDate - see above\n", - "# occurrencedf$eventDate <- format(occurrencedf$atn_tbl.time, '%Y-%m-%dT%H:%M:%SZ')\n", - "# occurrencedf$atn_tbl.time <- NULL\n", - "\n", - "#decimalLatitude\n", - "# occurrencedf$decimalLatitude <- occurrencedf$atn_tbl.lat\n", - "# occurrencedf$atn_tbl.lat <- NULL\n", - "\n", - "#decimalLongitude\n", - "# occurrencedf$decimalLongitude <- occurrencedf$atn_tbl.lon\n", - "# occurrencedf$atn_tbl.lon <- NULL\n", - "\n", - "# kingdom\n", - "# kingdom_tbl <- metadata %>% dplyr::filter(variable == \"animal\") %>% dplyr::filter(name == \"kingdom\")\n", - "# occurrencedf$kingdom <- paste(kingdom_tbl$value)\n", - "\n", - "# taxonRank\n", - "# rank_tbl <- metadata %>% dplyr::filter(variable == \"animal\") %>% dplyr::filter(name == \"rank\")\n", - "# occurrencedf$taxonRank <- paste(rank_tbl$value)\n", - "\n", - "#add occurrenceStatus\n", - "# occurrencedf$occurrenceStatus <- \"present\"\n", - "\n", - "# Use ncdf4 to get other variables\n", - "# library(ncdf4) - loaded above\n", - "\n", - "# nc <- nc_open(fname)\n", - "\n", - "#add sex\n", - "# occurrencedf$sex <- ncvar_get( nc, 'animal_sex')\n", - "\n", - "#add lifeStage\n", - "# occurrencedf$lifeStage <- ncvar_get( nc, 'animal_life_stage')\n", - "\n", - "# scientificName\n", - "# occurrencedf$scientificName <- ncvar_get( nc, 'taxon_name')\n", - "\n", - "# scientificNameId\n", - "# value of taxon_lsid var\n", - "# occurrencedf$scientificNameID <- ncvar_get( nc, \"taxon_lsid\")\n", - "\n", - "# sort table by increasing date\n", - "# occurrencedf <- occurrencedf %>% arrange(eventDate)\n", - "\n", - "######### This is a succinct version of everything commented out above. I'm not sure if any important readability is lost. \n", - "# Just thought I'd point it out in case you didn't know these functions well.\n", - "\n", + "\n", + "A tibble: 2 × 22\n", + "\n", + "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | minimumDepthInMeters <int> | maximumDepthInMeters <int> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> |\n", + "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", + "| 2009-09-23T00:00:00Z | 34.03 | -118.56 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z |\n", + "| 2009-09-25T06:42:00Z | 23.59 | -166.18 | MachineObservation | A | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T06:42:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T06:42:00Z |\n", + "\n" + ], + "text/plain": [ + " eventDate decimalLatitude decimalLongitude basisOfRecord \n", + "1 2009-09-23T00:00:00Z 34.03 -118.56 HumanObservation \n", + "2 2009-09-25T06:42:00Z 23.59 -166.18 MachineObservation\n", + " location_class qartod_time_flag qartod_speed_flag qartod_location_flag\n", + "1 nan 1 2 1 \n", + "2 A 1 4 1 \n", + " qartod_rollup_flag kingdom taxonRank occurrenceStatus sex lifeStage\n", + "1 1 Animalia Species present male juvenile \n", + "2 4 Animalia Species present male juvenile \n", + " scientificName scientificNameID \n", + "1 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", + "2 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", + " minimumDepthInMeters maximumDepthInMeters organismID \n", + "1 0 0 105838_great_white_shark\n", + "2 0 0 105838_great_white_shark\n", + " occurrenceID geodeticDatum\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark EPSG:4326 \n", + "2 2009-09-25T06:42:00Z_0_great_white_shark EPSG:4326 \n", + " eventID \n", + "1 great_white shark_2009-09-23T00:00:00Z\n", + "2 great_white shark_2009-09-25T06:42:00Z" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], + "source": [ "# Defined to grab attributes in subsequent code\n", "nc <- nc_open(fname)\n", "\n", @@ -3761,20 +2136,31 @@ " qartod_speed_flag,\n", " qartod_location_flag,\n", " qartod_rollup_flag\n", + " \n", " ) %>%\n", " mutate( # add and mutate columns.\n", " \n", " type = case_when(type == 'User' ~ 'HumanObservation',\n", " type == 'Argos' ~ 'MachineObservation'),\n", + " \n", " time = format(time, '%Y-%m-%dT%H:%M:%SZ'),\n", + " \n", " kingdom = metadata %>% dplyr::filter(variable == \"animal\" & name == \"kingdom\") %>% pull(value) %>% unlist(use.names = FALSE),\n", + " \n", " taxonRank = metadata %>% dplyr::filter(variable == \"animal\" & name == \"rank\") %>% pull(value) %>% unlist(use.names = FALSE),\n", + " \n", " occurrenceStatus = \"present\",\n", + " \n", " sex = ncvar_get( nc, 'animal_sex'),\n", + " \n", " lifeStage = ncvar_get( nc, 'animal_life_stage'),\n", + " \n", " scientificName = ncvar_get( nc, 'taxon_name'),\n", + " \n", " scientificNameID = ncvar_get( nc, \"taxon_lsid\")\n", + " \n", " ) %>%\n", + "\n", " rename( # rename columns to Darwin Core terms\n", " \n", " basisOfRecord = type,\n", @@ -3784,20 +2170,20 @@ "\n", " arrange(eventDate) #arrange by increasing date\n", "\n", - "# organismID\n", - "# platformID + common name\n", + "# minimumDepthInMeters = z,\n", + "occurrencedf$minimumDepthInMeters = atn_tbl$z\n", + "\n", + "# maximumDepthInMeters = z,\n", + "occurrencedf$maximumDepthInMeters = atn_tbl$z\n", + "\n", + "# organismID - {platformID}_{common_name}\n", "common_name_tbl <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"animal_common_name\")\n", "common_name <- chartr(\" \", \"_\", common_name_tbl$value)\n", - "\n", "platform_id_tbl <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"platform_id\")\n", "platform_id <- chartr(\" \", \"_\", platform_id_tbl$value)\n", + "occurrencedf$organismID <- paste(platform_id , common_name, sep = \"_\") \n", "\n", - "occurrencedf$organismID <- paste(platform_id , common_name, sep = \"_\") # add first date occurrencedf %>% mutate(across('basisOfRecord', str_replace, 'User', 'HumanObservation'))\n", - "\n", - "# occurrenceID\n", - "#rank_tbl <- metadata %>% dplyr::filter(variable == \"animal\") %>% dplyr::filter(name == \"rank\")\n", - "#rank <- chartr(\" \", \"_\", rank_tbl$value)\n", - "\n", + "# occurrenceID - {eventDate}_{depth}_{common_name}\n", "occurrencedf$occurrenceID <- sub(\" \", \"_\", paste(occurrencedf$eventDate, atn_tbl$z, common_name, sep = \"_\"))\n", "\n", "# geodeticDatum\n", @@ -3808,33 +2194,20 @@ "#eventID - {common_name}_{dateTime}\n", "cname = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"animal_common_name\")\n", "occurrencedf$eventID <- sub(\" \", \"_\", paste0(cname$value, \"_\", occurrencedf$eventDate))\n", - "# uuid_tbl = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"uuid\")\n", - "# occurrencedf$eventID <- paste(uuid_tbl$value)\n", - "\n", - "# samplingProtocol\n", - "# don't have a mapping yet\n", - "\n", - "#drop unnecessary cols\n", - "#occurrencedf$eventDate <- NULL\n", - "#occurrencedf$decimalLatitude <- NULL\n", - "#occurrencedf$decimalLongitude <- NULL\n", - "#occurrencedf$geodeticDatum <- NULL\n", - "\n", - "#occurrencedf$coordinateUncertaintyInMeters <- pmax(atn_tbl$error_radius, atn_tbl$semi_major_axis, atn_tbl$semi_minor_axis, atn_tbl$offset, na.rm = TRUE)\n", "\n", - "occurrencedf" + "head(occurrencedf, n=2)" ] }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 15, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "tibble [29 x 20] (S3: tbl_df/tbl/data.frame)\n", + "tibble [29 x 22] (S3: tbl_df/tbl/data.frame)\n", " $ eventDate : chr [1:29] \"2009-09-23T00:00:00Z\" \"2009-09-25T06:42:00Z\" \"2009-09-25T11:09:00Z\" \"2009-09-25T11:11:00Z\" ...\n", " $ decimalLatitude : num [1:29] 34 23.6 34 34 34 ...\n", " $ decimalLongitude : num [1:29] -119 -166 -119 -119 -119 ...\n", @@ -3851,6 +2224,8 @@ " $ lifeStage : chr [1:29] \"juvenile\" \"juvenile\" \"juvenile\" \"juvenile\" ...\n", " $ scientificName : chr [1:29] \"Carcharodon carcharias\" \"Carcharodon carcharias\" \"Carcharodon carcharias\" \"Carcharodon carcharias\" ...\n", " $ scientificNameID : chr [1:29] \"urn:lsid:marinespecies.org:taxname:105838\" \"urn:lsid:marinespecies.org:taxname:105838\" \"urn:lsid:marinespecies.org:taxname:105838\" \"urn:lsid:marinespecies.org:taxname:105838\" ...\n", + " $ minimumDepthInMeters: int [1:29] 0 0 0 0 0 0 0 0 0 0 ...\n", + " $ maximumDepthInMeters: int [1:29] 0 0 0 0 0 0 0 0 0 0 ...\n", " $ organismID : chr [1:29] \"105838_great_white_shark\" \"105838_great_white_shark\" \"105838_great_white_shark\" \"105838_great_white_shark\" ...\n", " $ occurrenceID : chr [1:29] \"2009-09-23T00:00:00Z_0_great_white_shark\" \"2009-09-25T06:42:00Z_0_great_white_shark\" \"2009-09-25T11:09:00Z_0_great_white_shark\" \"2009-09-25T11:11:00Z_0_great_white_shark\" ...\n", " $ geodeticDatum : chr [1:29] \"EPSG:4326\" \"EPSG:4326\" \"EPSG:4326\" \"EPSG:4326\" ...\n", @@ -3893,100 +2268,100 @@ "3 | 250\n", "2 | 500\n", "1 | 1500\n", - "0 | >1500 (not sure what would go there?)\n", + "0 | 10000 ([ref](https://github.com/ioos/bio_data_guide/issues/145#issuecomment-1805739244))\n", "\n", "Below we create a lookup table for the `location_class` values we agree are good, which contains the `coordinateUncertaintyInMeters` for the appropriate location class. When we merge that table with our raw data, the observations that don't match the location_classes in our lookup table will not be transfered over (ie. they will be filtered out). " ] }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 19 × 21A tibble: 19 × 23
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMeters
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><dbl>
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDminimumDepthInMetersmaximumDepthInMetersorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMeters
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><int><int><chr><chr><chr><chr><dbl>
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 1500
2009-09-25T11:11:00Z34.035-118.549MachineObservation0 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:11:00Z10000
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500
2009-10-27T16:22:00Z34.006-118.526MachineObservation2 1313AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:22:00Z 500
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 1500
2009-09-25T11:11:00Z34.035-118.549MachineObservation0 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T11:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:11:00Z10000
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500
2009-10-27T16:22:00Z34.006-118.526MachineObservation2 1313AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:22:00Z 500
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
\n" ], "text/latex": [ - "A tibble: 19 × 21\n", - "\\begin{tabular}{lllllllllllllllllllll}\n", - " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters\\\\\n", - " & & & & & & & & & & & & & & & & & & & & \\\\\n", + "A tibble: 19 × 23\n", + "\\begin{tabular}{lllllllllllllllllllllll}\n", + " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & minimumDepthInMeters & maximumDepthInMeters & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters\\\\\n", + " & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0\\\\\n", - "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500\\\\\n", - "\t 2009-09-25T11:11:00Z & 34.035 & -118.549 & MachineObservation & 0 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:11:00Z & 10000\\\\\n", - "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500\\\\\n", - "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500\\\\\n", - "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000\\\\\n", - "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000\\\\\n", - "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500\\\\\n", - "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250\\\\\n", - "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500\\\\\n", - "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500\\\\\n", - "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000\\\\\n", - "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500\\\\\n", - "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000\\\\\n", - "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250\\\\\n", - "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500\\\\\n", - "\t 2009-10-27T16:22:00Z & 34.006 & -118.526 & MachineObservation & 2 & 1 & 3 & 1 & 3 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:22:00Z & 500\\\\\n", - "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500\\\\\n", - "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000\\\\\n", + "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0\\\\\n", + "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500\\\\\n", + "\t 2009-09-25T11:11:00Z & 34.035 & -118.549 & MachineObservation & 0 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T11:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:11:00Z & 10000\\\\\n", + "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500\\\\\n", + "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500\\\\\n", + "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000\\\\\n", + "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000\\\\\n", + "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500\\\\\n", + "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250\\\\\n", + "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500\\\\\n", + "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500\\\\\n", + "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000\\\\\n", + "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500\\\\\n", + "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000\\\\\n", + "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250\\\\\n", + "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500\\\\\n", + "\t 2009-10-27T16:22:00Z & 34.006 & -118.526 & MachineObservation & 2 & 1 & 3 & 1 & 3 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:22:00Z & 500\\\\\n", + "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500\\\\\n", + "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 19 × 21\n", + "A tibble: 19 × 23\n", "\n", - "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> |\n", - "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 |\n", - "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 |\n", - "| 2009-09-25T11:11:00Z | 34.035 | -118.549 | MachineObservation | 0 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:11:00Z | 10000 |\n", - "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 |\n", - "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 |\n", - "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 |\n", - "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 |\n", - "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 |\n", - "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 |\n", - "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 |\n", - "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 |\n", - "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 |\n", - "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 |\n", - "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 |\n", - "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 |\n", - "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 |\n", - "| 2009-10-27T16:22:00Z | 34.006 | -118.526 | MachineObservation | 2 | 1 | 3 | 1 | 3 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:22:00Z | 500 |\n", - "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 |\n", - "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 |\n", + "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | minimumDepthInMeters <int> | maximumDepthInMeters <int> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> |\n", + "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", + "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 |\n", + "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 |\n", + "| 2009-09-25T11:11:00Z | 34.035 | -118.549 | MachineObservation | 0 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T11:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:11:00Z | 10000 |\n", + "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 |\n", + "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 |\n", + "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 |\n", + "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 |\n", + "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 |\n", + "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 |\n", + "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 |\n", + "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 |\n", + "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 |\n", + "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 |\n", + "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 |\n", + "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 |\n", + "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 |\n", + "| 2009-10-27T16:22:00Z | 34.006 | -118.526 | MachineObservation | 2 | 1 | 3 | 1 | 3 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:22:00Z | 500 |\n", + "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 |\n", + "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 |\n", "\n" ], "text/plain": [ @@ -4070,66 +2445,66 @@ "17 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "18 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "19 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - " organismID occurrenceID \n", - "1 105838_great_white_shark 2009-09-23T00:00:00Z_0_great_white_shark\n", - "2 105838_great_white_shark 2009-09-25T11:09:00Z_0_great_white_shark\n", - "3 105838_great_white_shark 2009-09-25T11:11:00Z_0_great_white_shark\n", - "4 105838_great_white_shark 2009-09-27T17:58:00Z_0_great_white_shark\n", - "5 105838_great_white_shark 2009-10-08T20:24:00Z_0_great_white_shark\n", - "6 105838_great_white_shark 2009-10-15T11:05:00Z_0_great_white_shark\n", - "7 105838_great_white_shark 2009-10-17T06:11:00Z_0_great_white_shark\n", - "8 105838_great_white_shark 2009-10-17T09:00:00Z_0_great_white_shark\n", - "9 105838_great_white_shark 2009-10-17T10:38:00Z_0_great_white_shark\n", - "10 105838_great_white_shark 2009-10-18T08:48:00Z_0_great_white_shark\n", - "11 105838_great_white_shark 2009-10-18T10:26:00Z_0_great_white_shark\n", - "12 105838_great_white_shark 2009-10-18T11:15:00Z_0_great_white_shark\n", - "13 105838_great_white_shark 2009-10-23T23:52:00Z_0_great_white_shark\n", - "14 105838_great_white_shark 2009-10-24T00:06:00Z_0_great_white_shark\n", - "15 105838_great_white_shark 2009-10-26T10:53:00Z_0_great_white_shark\n", - "16 105838_great_white_shark 2009-10-27T16:21:00Z_0_great_white_shark\n", - "17 105838_great_white_shark 2009-10-27T16:22:00Z_0_great_white_shark\n", - "18 105838_great_white_shark 2009-10-29T11:53:00Z_0_great_white_shark\n", - "19 105838_great_white_shark 2009-10-31T21:15:00Z_0_great_white_shark\n", - " geodeticDatum eventID \n", - "1 EPSG:4326 great_white shark_2009-09-23T00:00:00Z\n", - "2 EPSG:4326 great_white shark_2009-09-25T11:09:00Z\n", - "3 EPSG:4326 great_white shark_2009-09-25T11:11:00Z\n", - "4 EPSG:4326 great_white shark_2009-09-27T17:58:00Z\n", - "5 EPSG:4326 great_white shark_2009-10-08T20:24:00Z\n", - "6 EPSG:4326 great_white shark_2009-10-15T11:05:00Z\n", - "7 EPSG:4326 great_white shark_2009-10-17T06:11:00Z\n", - "8 EPSG:4326 great_white shark_2009-10-17T09:00:00Z\n", - "9 EPSG:4326 great_white shark_2009-10-17T10:38:00Z\n", - "10 EPSG:4326 great_white shark_2009-10-18T08:48:00Z\n", - "11 EPSG:4326 great_white shark_2009-10-18T10:26:00Z\n", - "12 EPSG:4326 great_white shark_2009-10-18T11:15:00Z\n", - "13 EPSG:4326 great_white shark_2009-10-23T23:52:00Z\n", - "14 EPSG:4326 great_white shark_2009-10-24T00:06:00Z\n", - "15 EPSG:4326 great_white shark_2009-10-26T10:53:00Z\n", - "16 EPSG:4326 great_white shark_2009-10-27T16:21:00Z\n", - "17 EPSG:4326 great_white shark_2009-10-27T16:22:00Z\n", - "18 EPSG:4326 great_white shark_2009-10-29T11:53:00Z\n", - "19 EPSG:4326 great_white shark_2009-10-31T21:15:00Z\n", - " coordinateUncertaintyInMeters\n", - "1 0 \n", - "2 1500 \n", - "3 10000 \n", - "4 1500 \n", - "5 500 \n", - "6 10000 \n", - "7 10000 \n", - "8 500 \n", - "9 250 \n", - "10 1500 \n", - "11 500 \n", - "12 10000 \n", - "13 500 \n", - "14 10000 \n", - "15 250 \n", - "16 1500 \n", - "17 500 \n", - "18 500 \n", - "19 10000 " + " minimumDepthInMeters maximumDepthInMeters organismID \n", + "1 0 0 105838_great_white_shark\n", + "2 0 0 105838_great_white_shark\n", + "3 0 0 105838_great_white_shark\n", + "4 0 0 105838_great_white_shark\n", + "5 0 0 105838_great_white_shark\n", + "6 0 0 105838_great_white_shark\n", + "7 0 0 105838_great_white_shark\n", + "8 0 0 105838_great_white_shark\n", + "9 0 0 105838_great_white_shark\n", + "10 0 0 105838_great_white_shark\n", + "11 0 0 105838_great_white_shark\n", + "12 0 0 105838_great_white_shark\n", + "13 0 0 105838_great_white_shark\n", + "14 0 0 105838_great_white_shark\n", + "15 0 0 105838_great_white_shark\n", + "16 0 0 105838_great_white_shark\n", + "17 0 0 105838_great_white_shark\n", + "18 0 0 105838_great_white_shark\n", + "19 0 0 105838_great_white_shark\n", + " occurrenceID geodeticDatum\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark EPSG:4326 \n", + "2 2009-09-25T11:09:00Z_0_great_white_shark EPSG:4326 \n", + "3 2009-09-25T11:11:00Z_0_great_white_shark EPSG:4326 \n", + "4 2009-09-27T17:58:00Z_0_great_white_shark EPSG:4326 \n", + "5 2009-10-08T20:24:00Z_0_great_white_shark EPSG:4326 \n", + "6 2009-10-15T11:05:00Z_0_great_white_shark EPSG:4326 \n", + "7 2009-10-17T06:11:00Z_0_great_white_shark EPSG:4326 \n", + "8 2009-10-17T09:00:00Z_0_great_white_shark EPSG:4326 \n", + "9 2009-10-17T10:38:00Z_0_great_white_shark EPSG:4326 \n", + "10 2009-10-18T08:48:00Z_0_great_white_shark EPSG:4326 \n", + "11 2009-10-18T10:26:00Z_0_great_white_shark EPSG:4326 \n", + "12 2009-10-18T11:15:00Z_0_great_white_shark EPSG:4326 \n", + "13 2009-10-23T23:52:00Z_0_great_white_shark EPSG:4326 \n", + "14 2009-10-24T00:06:00Z_0_great_white_shark EPSG:4326 \n", + "15 2009-10-26T10:53:00Z_0_great_white_shark EPSG:4326 \n", + "16 2009-10-27T16:21:00Z_0_great_white_shark EPSG:4326 \n", + "17 2009-10-27T16:22:00Z_0_great_white_shark EPSG:4326 \n", + "18 2009-10-29T11:53:00Z_0_great_white_shark EPSG:4326 \n", + "19 2009-10-31T21:15:00Z_0_great_white_shark EPSG:4326 \n", + " eventID coordinateUncertaintyInMeters\n", + "1 great_white shark_2009-09-23T00:00:00Z 0 \n", + "2 great_white shark_2009-09-25T11:09:00Z 1500 \n", + "3 great_white shark_2009-09-25T11:11:00Z 10000 \n", + "4 great_white shark_2009-09-27T17:58:00Z 1500 \n", + "5 great_white shark_2009-10-08T20:24:00Z 500 \n", + "6 great_white shark_2009-10-15T11:05:00Z 10000 \n", + "7 great_white shark_2009-10-17T06:11:00Z 10000 \n", + "8 great_white shark_2009-10-17T09:00:00Z 500 \n", + "9 great_white shark_2009-10-17T10:38:00Z 250 \n", + "10 great_white shark_2009-10-18T08:48:00Z 1500 \n", + "11 great_white shark_2009-10-18T10:26:00Z 500 \n", + "12 great_white shark_2009-10-18T11:15:00Z 10000 \n", + "13 great_white shark_2009-10-23T23:52:00Z 500 \n", + "14 great_white shark_2009-10-24T00:06:00Z 10000 \n", + "15 great_white shark_2009-10-26T10:53:00Z 250 \n", + "16 great_white shark_2009-10-27T16:21:00Z 1500 \n", + "17 great_white shark_2009-10-27T16:22:00Z 500 \n", + "18 great_white shark_2009-10-29T11:53:00Z 500 \n", + "19 great_white shark_2009-10-31T21:15:00Z 10000 " ] }, "metadata": {}, @@ -4137,16 +2512,6 @@ } ], "source": [ - "#lut_uncert <- data.frame(\n", - "# atn_tbl.location_class = c('nan','G','3','2','1','0'),\n", - "# #coordinateUncertaintyInMeters=c(0,100,250,500,1500,'>1500') #Based off of Jon Pye's suggestions, changing this to 10K\n", - "# coordinateUncertaintyInMeters=c(0,100,250,500,1500,10000)\n", - "#)\n", - "\n", - "# sort table by increasing date\n", - "# occurrencedf <- occurrencedf %>% arrange(eventDate)\n", - "\n", - "# Not necessarily better, but I like the case_when approach. I think it's more readable.\n", "occurrencedf <- occurrencedf %>%\n", " filter(location_class %in% c('nan','G','3','2','1','0')) %>%\n", " mutate( # This returns NA for any other values than those defined below\n", @@ -4155,7 +2520,7 @@ " location_class == '3' ~ 250,\n", " location_class == '2' ~ 500,\n", " location_class == '1' ~ 1500,\n", - " location_class == '0' ~ 1e4) # https://github.com/ioos/bio_data_guide/issues/145#issuecomment-1805739244\n", + " location_class == '0' ~ 10000) # https://github.com/ioos/bio_data_guide/issues/145#issuecomment-1805739244\n", " ) %>% \n", " arrange(eventDate) # arrange by increasing date\n", "\n", @@ -4185,93 +2550,93 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 17, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 19 × 23A tibble: 19 × 25
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMeterseventDateHrsdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><dbl><chr><chr>
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDminimumDepthInMetersmaximumDepthInMetersorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMeterseventDateHrsdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><int><int><chr><chr><chr><chr><dbl><chr><chr>
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 02009-09-23T00
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 15002009-09-25T11first of 2 records
2009-09-25T11:11:00Z34.035-118.549MachineObservation0 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:11:00Z100002009-09-25T11first of 2 records
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 15002009-09-27T17
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 5002009-10-08T20
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z100002009-10-15T11
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z100002009-10-17T06
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 5002009-10-17T09
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 2502009-10-17T10
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 15002009-10-18T08
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 5002009-10-18T10
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z100002009-10-18T11
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 5002009-10-23T23
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z100002009-10-24T00
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 2502009-10-26T10
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 15002009-10-27T16first of 2 records
2009-10-27T16:22:00Z34.006-118.526MachineObservation2 1313AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:22:00Z 5002009-10-27T16first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 5002009-10-29T11
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z100002009-10-31T21
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 02009-09-23T00
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 15002009-09-25T11first of 2 records
2009-09-25T11:11:00Z34.035-118.549MachineObservation0 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T11:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:11:00Z100002009-09-25T11first of 2 records
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 15002009-09-27T17
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 5002009-10-08T20
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z100002009-10-15T11
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z100002009-10-17T06
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 5002009-10-17T09
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 2502009-10-17T10
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 15002009-10-18T08
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 5002009-10-18T10
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z100002009-10-18T11
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 5002009-10-23T23
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z100002009-10-24T00
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 2502009-10-26T10
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 15002009-10-27T16first of 2 records
2009-10-27T16:22:00Z34.006-118.526MachineObservation2 1313AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:22:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:22:00Z 5002009-10-27T16first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 5002009-10-29T11
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z100002009-10-31T21
\n" ], "text/latex": [ - "A tibble: 19 × 23\n", - "\\begin{tabular}{lllllllllllllllllllllll}\n", - " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & eventDateHrs & dataGeneralizations\\\\\n", - " & & & & & & & & & & & & & & & & & & & & & & \\\\\n", + "A tibble: 19 × 25\n", + "\\begin{tabular}{lllllllllllllllllllllllll}\n", + " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & minimumDepthInMeters & maximumDepthInMeters & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & eventDateHrs & dataGeneralizations\\\\\n", + " & & & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & 2009-09-23T00 & \\\\\n", - "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500 & 2009-09-25T11 & first of 2 records\\\\\n", - "\t 2009-09-25T11:11:00Z & 34.035 & -118.549 & MachineObservation & 0 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:11:00Z & 10000 & 2009-09-25T11 & first of 2 records\\\\\n", - "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & 2009-09-27T17 & \\\\\n", - "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & 2009-10-08T20 & \\\\\n", - "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & 2009-10-15T11 & \\\\\n", - "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & 2009-10-17T06 & \\\\\n", - "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & 2009-10-17T09 & \\\\\n", - "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & 2009-10-17T10 & \\\\\n", - "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & 2009-10-18T08 & \\\\\n", - "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & 2009-10-18T10 & \\\\\n", - "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & 2009-10-18T11 & \\\\\n", - "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & 2009-10-23T23 & \\\\\n", - "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & 2009-10-24T00 & \\\\\n", - "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & 2009-10-26T10 & \\\\\n", - "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & 2009-10-27T16 & first of 2 records\\\\\n", - "\t 2009-10-27T16:22:00Z & 34.006 & -118.526 & MachineObservation & 2 & 1 & 3 & 1 & 3 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:22:00Z & 500 & 2009-10-27T16 & first of 2 records\\\\\n", - "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & 2009-10-29T11 & \\\\\n", - "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & 2009-10-31T21 & \\\\\n", + "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & 2009-09-23T00 & \\\\\n", + "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500 & 2009-09-25T11 & first of 2 records\\\\\n", + "\t 2009-09-25T11:11:00Z & 34.035 & -118.549 & MachineObservation & 0 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T11:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:11:00Z & 10000 & 2009-09-25T11 & first of 2 records\\\\\n", + "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & 2009-09-27T17 & \\\\\n", + "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & 2009-10-08T20 & \\\\\n", + "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & 2009-10-15T11 & \\\\\n", + "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & 2009-10-17T06 & \\\\\n", + "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & 2009-10-17T09 & \\\\\n", + "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & 2009-10-17T10 & \\\\\n", + "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & 2009-10-18T08 & \\\\\n", + "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & 2009-10-18T10 & \\\\\n", + "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & 2009-10-18T11 & \\\\\n", + "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & 2009-10-23T23 & \\\\\n", + "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & 2009-10-24T00 & \\\\\n", + "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & 2009-10-26T10 & \\\\\n", + "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & 2009-10-27T16 & first of 2 records\\\\\n", + "\t 2009-10-27T16:22:00Z & 34.006 & -118.526 & MachineObservation & 2 & 1 & 3 & 1 & 3 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:22:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:22:00Z & 500 & 2009-10-27T16 & first of 2 records\\\\\n", + "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & 2009-10-29T11 & \\\\\n", + "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & 2009-10-31T21 & \\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 19 × 23\n", + "A tibble: 19 × 25\n", "\n", - "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | eventDateHrs <chr> | dataGeneralizations <chr> |\n", - "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | 2009-09-23T00 | |\n", - "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 | 2009-09-25T11 | first of 2 records |\n", - "| 2009-09-25T11:11:00Z | 34.035 | -118.549 | MachineObservation | 0 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:11:00Z | 10000 | 2009-09-25T11 | first of 2 records |\n", - "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | 2009-09-27T17 | |\n", - "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | 2009-10-08T20 | |\n", - "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | 2009-10-15T11 | |\n", - "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | 2009-10-17T06 | |\n", - "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | 2009-10-17T09 | |\n", - "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | 2009-10-17T10 | |\n", - "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | 2009-10-18T08 | |\n", - "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | 2009-10-18T10 | |\n", - "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | 2009-10-18T11 | |\n", - "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | 2009-10-23T23 | |\n", - "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | 2009-10-24T00 | |\n", - "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | 2009-10-26T10 | |\n", - "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | 2009-10-27T16 | first of 2 records |\n", - "| 2009-10-27T16:22:00Z | 34.006 | -118.526 | MachineObservation | 2 | 1 | 3 | 1 | 3 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:22:00Z | 500 | 2009-10-27T16 | first of 2 records |\n", - "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | 2009-10-29T11 | |\n", - "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | 2009-10-31T21 | |\n", + "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | minimumDepthInMeters <int> | maximumDepthInMeters <int> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | eventDateHrs <chr> | dataGeneralizations <chr> |\n", + "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", + "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | 2009-09-23T00 | |\n", + "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 | 2009-09-25T11 | first of 2 records |\n", + "| 2009-09-25T11:11:00Z | 34.035 | -118.549 | MachineObservation | 0 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T11:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:11:00Z | 10000 | 2009-09-25T11 | first of 2 records |\n", + "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | 2009-09-27T17 | |\n", + "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | 2009-10-08T20 | |\n", + "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | 2009-10-15T11 | |\n", + "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | 2009-10-17T06 | |\n", + "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | 2009-10-17T09 | |\n", + "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | 2009-10-17T10 | |\n", + "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | 2009-10-18T08 | |\n", + "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | 2009-10-18T10 | |\n", + "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | 2009-10-18T11 | |\n", + "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | 2009-10-23T23 | |\n", + "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | 2009-10-24T00 | |\n", + "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | 2009-10-26T10 | |\n", + "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | 2009-10-27T16 | first of 2 records |\n", + "| 2009-10-27T16:22:00Z | 34.006 | -118.526 | MachineObservation | 2 | 1 | 3 | 1 | 3 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:22:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:22:00Z | 500 | 2009-10-27T16 | first of 2 records |\n", + "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | 2009-10-29T11 | |\n", + "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | 2009-10-31T21 | |\n", "\n" ], "text/plain": [ @@ -4355,66 +2720,86 @@ "17 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "18 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "19 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - " organismID occurrenceID \n", - "1 105838_great_white_shark 2009-09-23T00:00:00Z_0_great_white_shark\n", - "2 105838_great_white_shark 2009-09-25T11:09:00Z_0_great_white_shark\n", - "3 105838_great_white_shark 2009-09-25T11:11:00Z_0_great_white_shark\n", - "4 105838_great_white_shark 2009-09-27T17:58:00Z_0_great_white_shark\n", - "5 105838_great_white_shark 2009-10-08T20:24:00Z_0_great_white_shark\n", - "6 105838_great_white_shark 2009-10-15T11:05:00Z_0_great_white_shark\n", - "7 105838_great_white_shark 2009-10-17T06:11:00Z_0_great_white_shark\n", - "8 105838_great_white_shark 2009-10-17T09:00:00Z_0_great_white_shark\n", - "9 105838_great_white_shark 2009-10-17T10:38:00Z_0_great_white_shark\n", - "10 105838_great_white_shark 2009-10-18T08:48:00Z_0_great_white_shark\n", - "11 105838_great_white_shark 2009-10-18T10:26:00Z_0_great_white_shark\n", - "12 105838_great_white_shark 2009-10-18T11:15:00Z_0_great_white_shark\n", - "13 105838_great_white_shark 2009-10-23T23:52:00Z_0_great_white_shark\n", - "14 105838_great_white_shark 2009-10-24T00:06:00Z_0_great_white_shark\n", - "15 105838_great_white_shark 2009-10-26T10:53:00Z_0_great_white_shark\n", - "16 105838_great_white_shark 2009-10-27T16:21:00Z_0_great_white_shark\n", - "17 105838_great_white_shark 2009-10-27T16:22:00Z_0_great_white_shark\n", - "18 105838_great_white_shark 2009-10-29T11:53:00Z_0_great_white_shark\n", - "19 105838_great_white_shark 2009-10-31T21:15:00Z_0_great_white_shark\n", - " geodeticDatum eventID \n", - "1 EPSG:4326 great_white shark_2009-09-23T00:00:00Z\n", - "2 EPSG:4326 great_white shark_2009-09-25T11:09:00Z\n", - "3 EPSG:4326 great_white shark_2009-09-25T11:11:00Z\n", - "4 EPSG:4326 great_white shark_2009-09-27T17:58:00Z\n", - "5 EPSG:4326 great_white shark_2009-10-08T20:24:00Z\n", - "6 EPSG:4326 great_white shark_2009-10-15T11:05:00Z\n", - "7 EPSG:4326 great_white shark_2009-10-17T06:11:00Z\n", - "8 EPSG:4326 great_white shark_2009-10-17T09:00:00Z\n", - "9 EPSG:4326 great_white shark_2009-10-17T10:38:00Z\n", - "10 EPSG:4326 great_white shark_2009-10-18T08:48:00Z\n", - "11 EPSG:4326 great_white shark_2009-10-18T10:26:00Z\n", - "12 EPSG:4326 great_white shark_2009-10-18T11:15:00Z\n", - "13 EPSG:4326 great_white shark_2009-10-23T23:52:00Z\n", - "14 EPSG:4326 great_white shark_2009-10-24T00:06:00Z\n", - "15 EPSG:4326 great_white shark_2009-10-26T10:53:00Z\n", - "16 EPSG:4326 great_white shark_2009-10-27T16:21:00Z\n", - "17 EPSG:4326 great_white shark_2009-10-27T16:22:00Z\n", - "18 EPSG:4326 great_white shark_2009-10-29T11:53:00Z\n", - "19 EPSG:4326 great_white shark_2009-10-31T21:15:00Z\n", - " coordinateUncertaintyInMeters eventDateHrs dataGeneralizations\n", - "1 0 2009-09-23T00 \n", - "2 1500 2009-09-25T11 first of 2 records\n", - "3 10000 2009-09-25T11 first of 2 records\n", - "4 1500 2009-09-27T17 \n", - "5 500 2009-10-08T20 \n", - "6 10000 2009-10-15T11 \n", - "7 10000 2009-10-17T06 \n", - "8 500 2009-10-17T09 \n", - "9 250 2009-10-17T10 \n", - "10 1500 2009-10-18T08 \n", - "11 500 2009-10-18T10 \n", - "12 10000 2009-10-18T11 \n", - "13 500 2009-10-23T23 \n", - "14 10000 2009-10-24T00 \n", - "15 250 2009-10-26T10 \n", - "16 1500 2009-10-27T16 first of 2 records\n", - "17 500 2009-10-27T16 first of 2 records\n", - "18 500 2009-10-29T11 \n", - "19 10000 2009-10-31T21 " + " minimumDepthInMeters maximumDepthInMeters organismID \n", + "1 0 0 105838_great_white_shark\n", + "2 0 0 105838_great_white_shark\n", + "3 0 0 105838_great_white_shark\n", + "4 0 0 105838_great_white_shark\n", + "5 0 0 105838_great_white_shark\n", + "6 0 0 105838_great_white_shark\n", + "7 0 0 105838_great_white_shark\n", + "8 0 0 105838_great_white_shark\n", + "9 0 0 105838_great_white_shark\n", + "10 0 0 105838_great_white_shark\n", + "11 0 0 105838_great_white_shark\n", + "12 0 0 105838_great_white_shark\n", + "13 0 0 105838_great_white_shark\n", + "14 0 0 105838_great_white_shark\n", + "15 0 0 105838_great_white_shark\n", + "16 0 0 105838_great_white_shark\n", + "17 0 0 105838_great_white_shark\n", + "18 0 0 105838_great_white_shark\n", + "19 0 0 105838_great_white_shark\n", + " occurrenceID geodeticDatum\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark EPSG:4326 \n", + "2 2009-09-25T11:09:00Z_0_great_white_shark EPSG:4326 \n", + "3 2009-09-25T11:11:00Z_0_great_white_shark EPSG:4326 \n", + "4 2009-09-27T17:58:00Z_0_great_white_shark EPSG:4326 \n", + "5 2009-10-08T20:24:00Z_0_great_white_shark EPSG:4326 \n", + "6 2009-10-15T11:05:00Z_0_great_white_shark EPSG:4326 \n", + "7 2009-10-17T06:11:00Z_0_great_white_shark EPSG:4326 \n", + "8 2009-10-17T09:00:00Z_0_great_white_shark EPSG:4326 \n", + "9 2009-10-17T10:38:00Z_0_great_white_shark EPSG:4326 \n", + "10 2009-10-18T08:48:00Z_0_great_white_shark EPSG:4326 \n", + "11 2009-10-18T10:26:00Z_0_great_white_shark EPSG:4326 \n", + "12 2009-10-18T11:15:00Z_0_great_white_shark EPSG:4326 \n", + "13 2009-10-23T23:52:00Z_0_great_white_shark EPSG:4326 \n", + "14 2009-10-24T00:06:00Z_0_great_white_shark EPSG:4326 \n", + "15 2009-10-26T10:53:00Z_0_great_white_shark EPSG:4326 \n", + "16 2009-10-27T16:21:00Z_0_great_white_shark EPSG:4326 \n", + "17 2009-10-27T16:22:00Z_0_great_white_shark EPSG:4326 \n", + "18 2009-10-29T11:53:00Z_0_great_white_shark EPSG:4326 \n", + "19 2009-10-31T21:15:00Z_0_great_white_shark EPSG:4326 \n", + " eventID coordinateUncertaintyInMeters\n", + "1 great_white shark_2009-09-23T00:00:00Z 0 \n", + "2 great_white shark_2009-09-25T11:09:00Z 1500 \n", + "3 great_white shark_2009-09-25T11:11:00Z 10000 \n", + "4 great_white shark_2009-09-27T17:58:00Z 1500 \n", + "5 great_white shark_2009-10-08T20:24:00Z 500 \n", + "6 great_white shark_2009-10-15T11:05:00Z 10000 \n", + "7 great_white shark_2009-10-17T06:11:00Z 10000 \n", + "8 great_white shark_2009-10-17T09:00:00Z 500 \n", + "9 great_white shark_2009-10-17T10:38:00Z 250 \n", + "10 great_white shark_2009-10-18T08:48:00Z 1500 \n", + "11 great_white shark_2009-10-18T10:26:00Z 500 \n", + "12 great_white shark_2009-10-18T11:15:00Z 10000 \n", + "13 great_white shark_2009-10-23T23:52:00Z 500 \n", + "14 great_white shark_2009-10-24T00:06:00Z 10000 \n", + "15 great_white shark_2009-10-26T10:53:00Z 250 \n", + "16 great_white shark_2009-10-27T16:21:00Z 1500 \n", + "17 great_white shark_2009-10-27T16:22:00Z 500 \n", + "18 great_white shark_2009-10-29T11:53:00Z 500 \n", + "19 great_white shark_2009-10-31T21:15:00Z 10000 \n", + " eventDateHrs dataGeneralizations\n", + "1 2009-09-23T00 \n", + "2 2009-09-25T11 first of 2 records\n", + "3 2009-09-25T11 first of 2 records\n", + "4 2009-09-27T17 \n", + "5 2009-10-08T20 \n", + "6 2009-10-15T11 \n", + "7 2009-10-17T06 \n", + "8 2009-10-17T09 \n", + "9 2009-10-17T10 \n", + "10 2009-10-18T08 \n", + "11 2009-10-18T10 \n", + "12 2009-10-18T11 \n", + "13 2009-10-23T23 \n", + "14 2009-10-24T00 \n", + "15 2009-10-26T10 \n", + "16 2009-10-27T16 first of 2 records\n", + "17 2009-10-27T16 first of 2 records\n", + "18 2009-10-29T11 \n", + "19 2009-10-31T21 " ] }, "metadata": {}, @@ -4474,87 +2859,87 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 18, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 17 × 22A tibble: 17 × 24
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMetersdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><dbl><chr>
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDminimumDepthInMetersmaximumDepthInMetersorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMetersdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><int><int><chr><chr><chr><chr><dbl><chr>
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 1500first of 2 records
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-25T11:09:00Z34.024-118.556MachineObservation1 1414AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-25T11:09:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-25T11:09:00Z 1500first of 2 records
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
\n" ], "text/latex": [ - "A tibble: 17 × 22\n", - "\\begin{tabular}{llllllllllllllllllllll}\n", - " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & dataGeneralizations\\\\\n", - " & & & & & & & & & & & & & & & & & & & & & \\\\\n", + "A tibble: 17 × 24\n", + "\\begin{tabular}{llllllllllllllllllllllll}\n", + " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & minimumDepthInMeters & maximumDepthInMeters & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & dataGeneralizations\\\\\n", + " & & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & \\\\\n", - "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500 & first of 2 records\\\\\n", - "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & \\\\\n", - "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & \\\\\n", - "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & \\\\\n", - "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & \\\\\n", - "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & \\\\\n", - "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & \\\\\n", - "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & \\\\\n", - "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & \\\\\n", - "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & \\\\\n", - "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & \\\\\n", - "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & \\\\\n", - "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & \\\\\n", - "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & first of 2 records\\\\\n", - "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & \\\\\n", - "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & \\\\\n", + "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & \\\\\n", + "\t 2009-09-25T11:09:00Z & 34.024 & -118.556 & MachineObservation & 1 & 1 & 4 & 1 & 4 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-25T11:09:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-25T11:09:00Z & 1500 & first of 2 records\\\\\n", + "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & \\\\\n", + "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & \\\\\n", + "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & \\\\\n", + "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & \\\\\n", + "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & \\\\\n", + "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & \\\\\n", + "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & \\\\\n", + "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & \\\\\n", + "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & \\\\\n", + "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & \\\\\n", + "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & \\\\\n", + "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & \\\\\n", + "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & first of 2 records\\\\\n", + "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & \\\\\n", + "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & \\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 17 × 22\n", + "A tibble: 17 × 24\n", "\n", - "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | dataGeneralizations <chr> |\n", - "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | |\n", - "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 | first of 2 records |\n", - "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | |\n", - "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | |\n", - "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | |\n", - "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | |\n", - "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | |\n", - "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | |\n", - "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | |\n", - "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | |\n", - "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | |\n", - "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | |\n", - "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | |\n", - "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | |\n", - "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | first of 2 records |\n", - "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | |\n", - "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | |\n", + "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | minimumDepthInMeters <int> | maximumDepthInMeters <int> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | dataGeneralizations <chr> |\n", + "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", + "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | |\n", + "| 2009-09-25T11:09:00Z | 34.024 | -118.556 | MachineObservation | 1 | 1 | 4 | 1 | 4 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-25T11:09:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-25T11:09:00Z | 1500 | first of 2 records |\n", + "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | |\n", + "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | |\n", + "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | |\n", + "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | |\n", + "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | |\n", + "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | |\n", + "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | |\n", + "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | |\n", + "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | |\n", + "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | |\n", + "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | |\n", + "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | |\n", + "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | first of 2 records |\n", + "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | |\n", + "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | |\n", "\n" ], "text/plain": [ @@ -4630,60 +3015,78 @@ "15 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "16 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "17 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - " organismID occurrenceID \n", - "1 105838_great_white_shark 2009-09-23T00:00:00Z_0_great_white_shark\n", - "2 105838_great_white_shark 2009-09-25T11:09:00Z_0_great_white_shark\n", - "3 105838_great_white_shark 2009-09-27T17:58:00Z_0_great_white_shark\n", - "4 105838_great_white_shark 2009-10-08T20:24:00Z_0_great_white_shark\n", - "5 105838_great_white_shark 2009-10-15T11:05:00Z_0_great_white_shark\n", - "6 105838_great_white_shark 2009-10-17T06:11:00Z_0_great_white_shark\n", - "7 105838_great_white_shark 2009-10-17T09:00:00Z_0_great_white_shark\n", - "8 105838_great_white_shark 2009-10-17T10:38:00Z_0_great_white_shark\n", - "9 105838_great_white_shark 2009-10-18T08:48:00Z_0_great_white_shark\n", - "10 105838_great_white_shark 2009-10-18T10:26:00Z_0_great_white_shark\n", - "11 105838_great_white_shark 2009-10-18T11:15:00Z_0_great_white_shark\n", - "12 105838_great_white_shark 2009-10-23T23:52:00Z_0_great_white_shark\n", - "13 105838_great_white_shark 2009-10-24T00:06:00Z_0_great_white_shark\n", - "14 105838_great_white_shark 2009-10-26T10:53:00Z_0_great_white_shark\n", - "15 105838_great_white_shark 2009-10-27T16:21:00Z_0_great_white_shark\n", - "16 105838_great_white_shark 2009-10-29T11:53:00Z_0_great_white_shark\n", - "17 105838_great_white_shark 2009-10-31T21:15:00Z_0_great_white_shark\n", - " geodeticDatum eventID \n", - "1 EPSG:4326 great_white shark_2009-09-23T00:00:00Z\n", - "2 EPSG:4326 great_white shark_2009-09-25T11:09:00Z\n", - "3 EPSG:4326 great_white shark_2009-09-27T17:58:00Z\n", - "4 EPSG:4326 great_white shark_2009-10-08T20:24:00Z\n", - "5 EPSG:4326 great_white shark_2009-10-15T11:05:00Z\n", - "6 EPSG:4326 great_white shark_2009-10-17T06:11:00Z\n", - "7 EPSG:4326 great_white shark_2009-10-17T09:00:00Z\n", - "8 EPSG:4326 great_white shark_2009-10-17T10:38:00Z\n", - "9 EPSG:4326 great_white shark_2009-10-18T08:48:00Z\n", - "10 EPSG:4326 great_white shark_2009-10-18T10:26:00Z\n", - "11 EPSG:4326 great_white shark_2009-10-18T11:15:00Z\n", - "12 EPSG:4326 great_white shark_2009-10-23T23:52:00Z\n", - "13 EPSG:4326 great_white shark_2009-10-24T00:06:00Z\n", - "14 EPSG:4326 great_white shark_2009-10-26T10:53:00Z\n", - "15 EPSG:4326 great_white shark_2009-10-27T16:21:00Z\n", - "16 EPSG:4326 great_white shark_2009-10-29T11:53:00Z\n", - "17 EPSG:4326 great_white shark_2009-10-31T21:15:00Z\n", - " coordinateUncertaintyInMeters dataGeneralizations\n", - "1 0 \n", - "2 1500 first of 2 records\n", - "3 1500 \n", - "4 500 \n", - "5 10000 \n", - "6 10000 \n", - "7 500 \n", - "8 250 \n", - "9 1500 \n", - "10 500 \n", - "11 10000 \n", - "12 500 \n", - "13 10000 \n", - "14 250 \n", - "15 1500 first of 2 records\n", - "16 500 \n", - "17 10000 " + " minimumDepthInMeters maximumDepthInMeters organismID \n", + "1 0 0 105838_great_white_shark\n", + "2 0 0 105838_great_white_shark\n", + "3 0 0 105838_great_white_shark\n", + "4 0 0 105838_great_white_shark\n", + "5 0 0 105838_great_white_shark\n", + "6 0 0 105838_great_white_shark\n", + "7 0 0 105838_great_white_shark\n", + "8 0 0 105838_great_white_shark\n", + "9 0 0 105838_great_white_shark\n", + "10 0 0 105838_great_white_shark\n", + "11 0 0 105838_great_white_shark\n", + "12 0 0 105838_great_white_shark\n", + "13 0 0 105838_great_white_shark\n", + "14 0 0 105838_great_white_shark\n", + "15 0 0 105838_great_white_shark\n", + "16 0 0 105838_great_white_shark\n", + "17 0 0 105838_great_white_shark\n", + " occurrenceID geodeticDatum\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark EPSG:4326 \n", + "2 2009-09-25T11:09:00Z_0_great_white_shark EPSG:4326 \n", + "3 2009-09-27T17:58:00Z_0_great_white_shark EPSG:4326 \n", + "4 2009-10-08T20:24:00Z_0_great_white_shark EPSG:4326 \n", + "5 2009-10-15T11:05:00Z_0_great_white_shark EPSG:4326 \n", + "6 2009-10-17T06:11:00Z_0_great_white_shark EPSG:4326 \n", + "7 2009-10-17T09:00:00Z_0_great_white_shark EPSG:4326 \n", + "8 2009-10-17T10:38:00Z_0_great_white_shark EPSG:4326 \n", + "9 2009-10-18T08:48:00Z_0_great_white_shark EPSG:4326 \n", + "10 2009-10-18T10:26:00Z_0_great_white_shark EPSG:4326 \n", + "11 2009-10-18T11:15:00Z_0_great_white_shark EPSG:4326 \n", + "12 2009-10-23T23:52:00Z_0_great_white_shark EPSG:4326 \n", + "13 2009-10-24T00:06:00Z_0_great_white_shark EPSG:4326 \n", + "14 2009-10-26T10:53:00Z_0_great_white_shark EPSG:4326 \n", + "15 2009-10-27T16:21:00Z_0_great_white_shark EPSG:4326 \n", + "16 2009-10-29T11:53:00Z_0_great_white_shark EPSG:4326 \n", + "17 2009-10-31T21:15:00Z_0_great_white_shark EPSG:4326 \n", + " eventID coordinateUncertaintyInMeters\n", + "1 great_white shark_2009-09-23T00:00:00Z 0 \n", + "2 great_white shark_2009-09-25T11:09:00Z 1500 \n", + "3 great_white shark_2009-09-27T17:58:00Z 1500 \n", + "4 great_white shark_2009-10-08T20:24:00Z 500 \n", + "5 great_white shark_2009-10-15T11:05:00Z 10000 \n", + "6 great_white shark_2009-10-17T06:11:00Z 10000 \n", + "7 great_white shark_2009-10-17T09:00:00Z 500 \n", + "8 great_white shark_2009-10-17T10:38:00Z 250 \n", + "9 great_white shark_2009-10-18T08:48:00Z 1500 \n", + "10 great_white shark_2009-10-18T10:26:00Z 500 \n", + "11 great_white shark_2009-10-18T11:15:00Z 10000 \n", + "12 great_white shark_2009-10-23T23:52:00Z 500 \n", + "13 great_white shark_2009-10-24T00:06:00Z 10000 \n", + "14 great_white shark_2009-10-26T10:53:00Z 250 \n", + "15 great_white shark_2009-10-27T16:21:00Z 1500 \n", + "16 great_white shark_2009-10-29T11:53:00Z 500 \n", + "17 great_white shark_2009-10-31T21:15:00Z 10000 \n", + " dataGeneralizations\n", + "1 \n", + "2 first of 2 records\n", + "3 \n", + "4 \n", + "5 \n", + "6 \n", + "7 \n", + "8 \n", + "9 \n", + "10 \n", + "11 \n", + "12 \n", + "13 \n", + "14 \n", + "15 first of 2 records\n", + "16 \n", + "17 " ] }, "metadata": {}, @@ -4721,7 +3124,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Filter on QARTOD flags?\n", + "## Filter on QARTOD flags?\n", "\n", "We also have QARTOD flags and they are as follows:\n", "\n", @@ -4747,84 +3150,84 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", + "\t\n", "\n", "
A tibble: 16 × 22A tibble: 16 × 24
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMetersdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><chr><dbl><chr>
eventDatedecimalLatitudedecimalLongitudebasisOfRecordlocation_classqartod_time_flagqartod_speed_flagqartod_location_flagqartod_rollup_flagkingdomtaxonRankoccurrenceStatussexlifeStagescientificNamescientificNameIDminimumDepthInMetersmaximumDepthInMetersorganismIDoccurrenceIDgeodeticDatumeventIDcoordinateUncertaintyInMetersdataGeneralizations
<chr><dbl><dbl><chr><chr><int><int><int><int><chr><chr><chr><chr><chr><chr><chr><int><int><chr><chr><chr><chr><dbl><chr>
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:105838105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
2009-09-23T00:00:00Z34.030-118.560HumanObservation nan1211AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-23T00:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-23T00:00:00Z 0
2009-09-27T17:58:00Z34.033-118.547MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-09-27T17:58:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-09-27T17:58:00Z 1500
2009-10-08T20:24:00Z34.038-118.581MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-08T20:24:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-08T20:24:00Z 500
2009-10-15T11:05:00Z33.995-118.678MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-15T11:05:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-15T11:05:00Z10000
2009-10-17T06:11:00Z34.037-118.545MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T06:11:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T06:11:00Z10000
2009-10-17T09:00:00Z34.026-118.534MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T09:00:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T09:00:00Z 500
2009-10-17T10:38:00Z34.027-118.545MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-17T10:38:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-17T10:38:00Z 250
2009-10-18T08:48:00Z34.039-118.548MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T08:48:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T08:48:00Z 1500
2009-10-18T10:26:00Z34.031-118.541MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T10:26:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T10:26:00Z 500
2009-10-18T11:15:00Z34.041-118.535MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-18T11:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-18T11:15:00Z10000
2009-10-23T23:52:00Z33.999-118.612MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-23T23:52:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-23T23:52:00Z 500
2009-10-24T00:06:00Z34.002-118.604MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-24T00:06:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-24T00:06:00Z10000
2009-10-26T10:53:00Z34.022-118.537MachineObservation3 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-26T10:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-26T10:53:00Z 250
2009-10-27T16:21:00Z34.010-118.524MachineObservation1 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-27T16:21:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-27T16:21:00Z 1500first of 2 records
2009-10-29T11:53:00Z33.989-118.504MachineObservation2 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-29T11:53:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-29T11:53:00Z 500
2009-10-31T21:15:00Z34.045-118.530MachineObservation0 1111AnimaliaSpeciespresentmalejuvenileCarcharodon carchariasurn:lsid:marinespecies.org:taxname:10583800105838_great_white_shark2009-10-31T21:15:00Z_0_great_white_sharkEPSG:4326great_white shark_2009-10-31T21:15:00Z10000
\n" ], "text/latex": [ - "A tibble: 16 × 22\n", - "\\begin{tabular}{llllllllllllllllllllll}\n", - " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & dataGeneralizations\\\\\n", - " & & & & & & & & & & & & & & & & & & & & & \\\\\n", + "A tibble: 16 × 24\n", + "\\begin{tabular}{llllllllllllllllllllllll}\n", + " eventDate & decimalLatitude & decimalLongitude & basisOfRecord & location\\_class & qartod\\_time\\_flag & qartod\\_speed\\_flag & qartod\\_location\\_flag & qartod\\_rollup\\_flag & kingdom & taxonRank & occurrenceStatus & sex & lifeStage & scientificName & scientificNameID & minimumDepthInMeters & maximumDepthInMeters & organismID & occurrenceID & geodeticDatum & eventID & coordinateUncertaintyInMeters & dataGeneralizations\\\\\n", + " & & & & & & & & & & & & & & & & & & & & & & & \\\\\n", "\\hline\n", - "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & \\\\\n", - "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & \\\\\n", - "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & \\\\\n", - "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & \\\\\n", - "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & \\\\\n", - "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & \\\\\n", - "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & \\\\\n", - "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & \\\\\n", - "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & \\\\\n", - "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & \\\\\n", - "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & \\\\\n", - "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & \\\\\n", - "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & \\\\\n", - "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & first of 2 records\\\\\n", - "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & \\\\\n", - "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & \\\\\n", + "\t 2009-09-23T00:00:00Z & 34.030 & -118.560 & HumanObservation & nan & 1 & 2 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-23T00:00:00Z & 0 & \\\\\n", + "\t 2009-09-27T17:58:00Z & 34.033 & -118.547 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-09-27T17:58:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-09-27T17:58:00Z & 1500 & \\\\\n", + "\t 2009-10-08T20:24:00Z & 34.038 & -118.581 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-08T20:24:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-08T20:24:00Z & 500 & \\\\\n", + "\t 2009-10-15T11:05:00Z & 33.995 & -118.678 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-15T11:05:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-15T11:05:00Z & 10000 & \\\\\n", + "\t 2009-10-17T06:11:00Z & 34.037 & -118.545 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T06:11:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T06:11:00Z & 10000 & \\\\\n", + "\t 2009-10-17T09:00:00Z & 34.026 & -118.534 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T09:00:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T09:00:00Z & 500 & \\\\\n", + "\t 2009-10-17T10:38:00Z & 34.027 & -118.545 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-17T10:38:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-17T10:38:00Z & 250 & \\\\\n", + "\t 2009-10-18T08:48:00Z & 34.039 & -118.548 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T08:48:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T08:48:00Z & 1500 & \\\\\n", + "\t 2009-10-18T10:26:00Z & 34.031 & -118.541 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T10:26:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T10:26:00Z & 500 & \\\\\n", + "\t 2009-10-18T11:15:00Z & 34.041 & -118.535 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-18T11:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-18T11:15:00Z & 10000 & \\\\\n", + "\t 2009-10-23T23:52:00Z & 33.999 & -118.612 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-23T23:52:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-23T23:52:00Z & 500 & \\\\\n", + "\t 2009-10-24T00:06:00Z & 34.002 & -118.604 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-24T00:06:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-24T00:06:00Z & 10000 & \\\\\n", + "\t 2009-10-26T10:53:00Z & 34.022 & -118.537 & MachineObservation & 3 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-26T10:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-26T10:53:00Z & 250 & \\\\\n", + "\t 2009-10-27T16:21:00Z & 34.010 & -118.524 & MachineObservation & 1 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-27T16:21:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-27T16:21:00Z & 1500 & first of 2 records\\\\\n", + "\t 2009-10-29T11:53:00Z & 33.989 & -118.504 & MachineObservation & 2 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-29T11:53:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-29T11:53:00Z & 500 & \\\\\n", + "\t 2009-10-31T21:15:00Z & 34.045 & -118.530 & MachineObservation & 0 & 1 & 1 & 1 & 1 & Animalia & Species & present & male & juvenile & Carcharodon carcharias & urn:lsid:marinespecies.org:taxname:105838 & 0 & 0 & 105838\\_great\\_white\\_shark & 2009-10-31T21:15:00Z\\_0\\_great\\_white\\_shark & EPSG:4326 & great\\_white shark\\_2009-10-31T21:15:00Z & 10000 & \\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 16 × 22\n", + "A tibble: 16 × 24\n", "\n", - "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | dataGeneralizations <chr> |\n", - "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", - "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | |\n", - "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | |\n", - "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | |\n", - "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | |\n", - "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | |\n", - "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | |\n", - "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | |\n", - "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | |\n", - "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | |\n", - "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | |\n", - "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | |\n", - "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | |\n", - "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | |\n", - "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | first of 2 records |\n", - "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | |\n", - "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | |\n", + "| eventDate <chr> | decimalLatitude <dbl> | decimalLongitude <dbl> | basisOfRecord <chr> | location_class <chr> | qartod_time_flag <int> | qartod_speed_flag <int> | qartod_location_flag <int> | qartod_rollup_flag <int> | kingdom <chr> | taxonRank <chr> | occurrenceStatus <chr> | sex <chr> | lifeStage <chr> | scientificName <chr> | scientificNameID <chr> | minimumDepthInMeters <int> | maximumDepthInMeters <int> | organismID <chr> | occurrenceID <chr> | geodeticDatum <chr> | eventID <chr> | coordinateUncertaintyInMeters <dbl> | dataGeneralizations <chr> |\n", + "|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|\n", + "| 2009-09-23T00:00:00Z | 34.030 | -118.560 | HumanObservation | nan | 1 | 2 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-23T00:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-23T00:00:00Z | 0 | |\n", + "| 2009-09-27T17:58:00Z | 34.033 | -118.547 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-09-27T17:58:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-09-27T17:58:00Z | 1500 | |\n", + "| 2009-10-08T20:24:00Z | 34.038 | -118.581 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-08T20:24:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-08T20:24:00Z | 500 | |\n", + "| 2009-10-15T11:05:00Z | 33.995 | -118.678 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-15T11:05:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-15T11:05:00Z | 10000 | |\n", + "| 2009-10-17T06:11:00Z | 34.037 | -118.545 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T06:11:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T06:11:00Z | 10000 | |\n", + "| 2009-10-17T09:00:00Z | 34.026 | -118.534 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T09:00:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T09:00:00Z | 500 | |\n", + "| 2009-10-17T10:38:00Z | 34.027 | -118.545 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-17T10:38:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-17T10:38:00Z | 250 | |\n", + "| 2009-10-18T08:48:00Z | 34.039 | -118.548 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T08:48:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T08:48:00Z | 1500 | |\n", + "| 2009-10-18T10:26:00Z | 34.031 | -118.541 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T10:26:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T10:26:00Z | 500 | |\n", + "| 2009-10-18T11:15:00Z | 34.041 | -118.535 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-18T11:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-18T11:15:00Z | 10000 | |\n", + "| 2009-10-23T23:52:00Z | 33.999 | -118.612 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-23T23:52:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-23T23:52:00Z | 500 | |\n", + "| 2009-10-24T00:06:00Z | 34.002 | -118.604 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-24T00:06:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-24T00:06:00Z | 10000 | |\n", + "| 2009-10-26T10:53:00Z | 34.022 | -118.537 | MachineObservation | 3 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-26T10:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-26T10:53:00Z | 250 | |\n", + "| 2009-10-27T16:21:00Z | 34.010 | -118.524 | MachineObservation | 1 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-27T16:21:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-27T16:21:00Z | 1500 | first of 2 records |\n", + "| 2009-10-29T11:53:00Z | 33.989 | -118.504 | MachineObservation | 2 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-29T11:53:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-29T11:53:00Z | 500 | |\n", + "| 2009-10-31T21:15:00Z | 34.045 | -118.530 | MachineObservation | 0 | 1 | 1 | 1 | 1 | Animalia | Species | present | male | juvenile | Carcharodon carcharias | urn:lsid:marinespecies.org:taxname:105838 | 0 | 0 | 105838_great_white_shark | 2009-10-31T21:15:00Z_0_great_white_shark | EPSG:4326 | great_white shark_2009-10-31T21:15:00Z | 10000 | |\n", "\n" ], "text/plain": [ @@ -4896,57 +3299,74 @@ "14 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "15 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", "16 Carcharodon carcharias urn:lsid:marinespecies.org:taxname:105838\n", - " organismID occurrenceID \n", - "1 105838_great_white_shark 2009-09-23T00:00:00Z_0_great_white_shark\n", - "2 105838_great_white_shark 2009-09-27T17:58:00Z_0_great_white_shark\n", - "3 105838_great_white_shark 2009-10-08T20:24:00Z_0_great_white_shark\n", - "4 105838_great_white_shark 2009-10-15T11:05:00Z_0_great_white_shark\n", - "5 105838_great_white_shark 2009-10-17T06:11:00Z_0_great_white_shark\n", - "6 105838_great_white_shark 2009-10-17T09:00:00Z_0_great_white_shark\n", - "7 105838_great_white_shark 2009-10-17T10:38:00Z_0_great_white_shark\n", - "8 105838_great_white_shark 2009-10-18T08:48:00Z_0_great_white_shark\n", - "9 105838_great_white_shark 2009-10-18T10:26:00Z_0_great_white_shark\n", - "10 105838_great_white_shark 2009-10-18T11:15:00Z_0_great_white_shark\n", - "11 105838_great_white_shark 2009-10-23T23:52:00Z_0_great_white_shark\n", - "12 105838_great_white_shark 2009-10-24T00:06:00Z_0_great_white_shark\n", - "13 105838_great_white_shark 2009-10-26T10:53:00Z_0_great_white_shark\n", - "14 105838_great_white_shark 2009-10-27T16:21:00Z_0_great_white_shark\n", - "15 105838_great_white_shark 2009-10-29T11:53:00Z_0_great_white_shark\n", - "16 105838_great_white_shark 2009-10-31T21:15:00Z_0_great_white_shark\n", - " geodeticDatum eventID \n", - "1 EPSG:4326 great_white shark_2009-09-23T00:00:00Z\n", - "2 EPSG:4326 great_white shark_2009-09-27T17:58:00Z\n", - "3 EPSG:4326 great_white shark_2009-10-08T20:24:00Z\n", - "4 EPSG:4326 great_white shark_2009-10-15T11:05:00Z\n", - "5 EPSG:4326 great_white shark_2009-10-17T06:11:00Z\n", - "6 EPSG:4326 great_white shark_2009-10-17T09:00:00Z\n", - "7 EPSG:4326 great_white shark_2009-10-17T10:38:00Z\n", - "8 EPSG:4326 great_white shark_2009-10-18T08:48:00Z\n", - "9 EPSG:4326 great_white shark_2009-10-18T10:26:00Z\n", - "10 EPSG:4326 great_white shark_2009-10-18T11:15:00Z\n", - "11 EPSG:4326 great_white shark_2009-10-23T23:52:00Z\n", - "12 EPSG:4326 great_white shark_2009-10-24T00:06:00Z\n", - "13 EPSG:4326 great_white shark_2009-10-26T10:53:00Z\n", - "14 EPSG:4326 great_white shark_2009-10-27T16:21:00Z\n", - "15 EPSG:4326 great_white shark_2009-10-29T11:53:00Z\n", - "16 EPSG:4326 great_white shark_2009-10-31T21:15:00Z\n", - " coordinateUncertaintyInMeters dataGeneralizations\n", - "1 0 \n", - "2 1500 \n", - "3 500 \n", - "4 10000 \n", - "5 10000 \n", - "6 500 \n", - "7 250 \n", - "8 1500 \n", - "9 500 \n", - "10 10000 \n", - "11 500 \n", - "12 10000 \n", - "13 250 \n", - "14 1500 first of 2 records\n", - "15 500 \n", - "16 10000 " + " minimumDepthInMeters maximumDepthInMeters organismID \n", + "1 0 0 105838_great_white_shark\n", + "2 0 0 105838_great_white_shark\n", + "3 0 0 105838_great_white_shark\n", + "4 0 0 105838_great_white_shark\n", + "5 0 0 105838_great_white_shark\n", + "6 0 0 105838_great_white_shark\n", + "7 0 0 105838_great_white_shark\n", + "8 0 0 105838_great_white_shark\n", + "9 0 0 105838_great_white_shark\n", + "10 0 0 105838_great_white_shark\n", + "11 0 0 105838_great_white_shark\n", + "12 0 0 105838_great_white_shark\n", + "13 0 0 105838_great_white_shark\n", + "14 0 0 105838_great_white_shark\n", + "15 0 0 105838_great_white_shark\n", + "16 0 0 105838_great_white_shark\n", + " occurrenceID geodeticDatum\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark EPSG:4326 \n", + "2 2009-09-27T17:58:00Z_0_great_white_shark EPSG:4326 \n", + "3 2009-10-08T20:24:00Z_0_great_white_shark EPSG:4326 \n", + "4 2009-10-15T11:05:00Z_0_great_white_shark EPSG:4326 \n", + "5 2009-10-17T06:11:00Z_0_great_white_shark EPSG:4326 \n", + "6 2009-10-17T09:00:00Z_0_great_white_shark EPSG:4326 \n", + "7 2009-10-17T10:38:00Z_0_great_white_shark EPSG:4326 \n", + "8 2009-10-18T08:48:00Z_0_great_white_shark EPSG:4326 \n", + "9 2009-10-18T10:26:00Z_0_great_white_shark EPSG:4326 \n", + "10 2009-10-18T11:15:00Z_0_great_white_shark EPSG:4326 \n", + "11 2009-10-23T23:52:00Z_0_great_white_shark EPSG:4326 \n", + "12 2009-10-24T00:06:00Z_0_great_white_shark EPSG:4326 \n", + "13 2009-10-26T10:53:00Z_0_great_white_shark EPSG:4326 \n", + "14 2009-10-27T16:21:00Z_0_great_white_shark EPSG:4326 \n", + "15 2009-10-29T11:53:00Z_0_great_white_shark EPSG:4326 \n", + "16 2009-10-31T21:15:00Z_0_great_white_shark EPSG:4326 \n", + " eventID coordinateUncertaintyInMeters\n", + "1 great_white shark_2009-09-23T00:00:00Z 0 \n", + "2 great_white shark_2009-09-27T17:58:00Z 1500 \n", + "3 great_white shark_2009-10-08T20:24:00Z 500 \n", + "4 great_white shark_2009-10-15T11:05:00Z 10000 \n", + "5 great_white shark_2009-10-17T06:11:00Z 10000 \n", + "6 great_white shark_2009-10-17T09:00:00Z 500 \n", + "7 great_white shark_2009-10-17T10:38:00Z 250 \n", + "8 great_white shark_2009-10-18T08:48:00Z 1500 \n", + "9 great_white shark_2009-10-18T10:26:00Z 500 \n", + "10 great_white shark_2009-10-18T11:15:00Z 10000 \n", + "11 great_white shark_2009-10-23T23:52:00Z 500 \n", + "12 great_white shark_2009-10-24T00:06:00Z 10000 \n", + "13 great_white shark_2009-10-26T10:53:00Z 250 \n", + "14 great_white shark_2009-10-27T16:21:00Z 1500 \n", + "15 great_white shark_2009-10-29T11:53:00Z 500 \n", + "16 great_white shark_2009-10-31T21:15:00Z 10000 \n", + " dataGeneralizations\n", + "1 \n", + "2 \n", + "3 \n", + "4 \n", + "5 \n", + "6 \n", + "7 \n", + "8 \n", + "9 \n", + "10 \n", + "11 \n", + "12 \n", + "13 \n", + "14 first of 2 records\n", + "15 \n", + "16 " ] }, "metadata": {}, @@ -4971,7 +3391,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 20, "metadata": {}, "outputs": [ { @@ -5025,7 +3445,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 21, "metadata": {}, "outputs": [ { @@ -5036,7 +3456,7 @@ ".list-inline>li {display: inline-block}\n", ".list-inline>li:not(:last-child)::after {content: \"\\00b7\"; padding: 0 .5ex}\n", "\n", - "
  1. 'eventDate'
  2. 'decimalLatitude'
  3. 'decimalLongitude'
  4. 'basisOfRecord'
  5. 'kingdom'
  6. 'taxonRank'
  7. 'occurrenceStatus'
  8. 'sex'
  9. 'lifeStage'
  10. 'scientificName'
  11. 'scientificNameID'
  12. 'organismID'
  13. 'occurrenceID'
  14. 'geodeticDatum'
  15. 'eventID'
  16. 'coordinateUncertaintyInMeters'
  17. 'dataGeneralizations'
\n" + "
  1. 'eventDate'
  2. 'decimalLatitude'
  3. 'decimalLongitude'
  4. 'basisOfRecord'
  5. 'kingdom'
  6. 'taxonRank'
  7. 'occurrenceStatus'
  8. 'sex'
  9. 'lifeStage'
  10. 'scientificName'
  11. 'scientificNameID'
  12. 'minimumDepthInMeters'
  13. 'maximumDepthInMeters'
  14. 'organismID'
  15. 'occurrenceID'
  16. 'geodeticDatum'
  17. 'eventID'
  18. 'coordinateUncertaintyInMeters'
  19. 'dataGeneralizations'
\n" ], "text/latex": [ "\\begin{enumerate*}\n", @@ -5051,6 +3471,8 @@ "\\item 'lifeStage'\n", "\\item 'scientificName'\n", "\\item 'scientificNameID'\n", + "\\item 'minimumDepthInMeters'\n", + "\\item 'maximumDepthInMeters'\n", "\\item 'organismID'\n", "\\item 'occurrenceID'\n", "\\item 'geodeticDatum'\n", @@ -5071,12 +3493,14 @@ "9. 'lifeStage'\n", "10. 'scientificName'\n", "11. 'scientificNameID'\n", - "12. 'organismID'\n", - "13. 'occurrenceID'\n", - "14. 'geodeticDatum'\n", - "15. 'eventID'\n", - "16. 'coordinateUncertaintyInMeters'\n", - "17. 'dataGeneralizations'\n", + "12. 'minimumDepthInMeters'\n", + "13. 'maximumDepthInMeters'\n", + "14. 'organismID'\n", + "15. 'occurrenceID'\n", + "16. 'geodeticDatum'\n", + "17. 'eventID'\n", + "18. 'coordinateUncertaintyInMeters'\n", + "19. 'dataGeneralizations'\n", "\n", "\n" ], @@ -5086,10 +3510,11 @@ " [5] \"kingdom\" \"taxonRank\" \n", " [7] \"occurrenceStatus\" \"sex\" \n", " [9] \"lifeStage\" \"scientificName\" \n", - "[11] \"scientificNameID\" \"organismID\" \n", - "[13] \"occurrenceID\" \"geodeticDatum\" \n", - "[15] \"eventID\" \"coordinateUncertaintyInMeters\"\n", - "[17] \"dataGeneralizations\" " + "[11] \"scientificNameID\" \"minimumDepthInMeters\" \n", + "[13] \"maximumDepthInMeters\" \"organismID\" \n", + "[15] \"occurrenceID\" \"geodeticDatum\" \n", + "[17] \"eventID\" \"coordinateUncertaintyInMeters\"\n", + "[19] \"dataGeneralizations\" " ] }, "metadata": {}, @@ -5124,7 +3549,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": 22, "metadata": {}, "outputs": [], "source": [ @@ -5137,7 +3562,9 @@ }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "## Measurement or Fact\n", "\n", @@ -5165,477 +3592,89 @@ ] }, { - "cell_type": "code", - "execution_count": 42, + "cell_type": "markdown", "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\t
$manufacturer
\n", - "\t\t
'Wildlife Computers'
\n", - "\t
$make_model
\n", - "\t\t
'SPOT5'
\n", - "\t
$serial_number
\n", - "\t\t
'07S0230'
\n", - "\t
$long_name
\n", - "\t\t
'Wildlife Computers SPOT5'
\n", - "\t
$location_type
\n", - "\t\t
'argos / modeled'
\n", - "\t
$comment
\n", - "\t\t
'Location'
\n", - "\t
$coverage_content_type
\n", - "\t\t
'referenceInformation'
\n", - "\t
$calibration_date
\n", - "\t\t
'Not Provided'
\n", - "
\n" - ], - "text/latex": [ - "\\begin{description}\n", - "\\item[\\$manufacturer] 'Wildlife Computers'\n", - "\\item[\\$make\\_model] 'SPOT5'\n", - "\\item[\\$serial\\_number] '07S0230'\n", - "\\item[\\$long\\_name] 'Wildlife Computers SPOT5'\n", - "\\item[\\$location\\_type] 'argos / modeled'\n", - "\\item[\\$comment] 'Location'\n", - "\\item[\\$coverage\\_content\\_type] 'referenceInformation'\n", - "\\item[\\$calibration\\_date] 'Not Provided'\n", - "\\end{description}\n" - ], - "text/markdown": [ - "$manufacturer\n", - ": 'Wildlife Computers'\n", - "$make_model\n", - ": 'SPOT5'\n", - "$serial_number\n", - ": '07S0230'\n", - "$long_name\n", - ": 'Wildlife Computers SPOT5'\n", - "$location_type\n", - ": 'argos / modeled'\n", - "$comment\n", - ": 'Location'\n", - "$coverage_content_type\n", - ": 'referenceInformation'\n", - "$calibration_date\n", - ": 'Not Provided'\n", - "\n", - "\n" - ], - "text/plain": [ - "$manufacturer\n", - "[1] \"Wildlife Computers\"\n", - "\n", - "$make_model\n", - "[1] \"SPOT5\"\n", - "\n", - "$serial_number\n", - "[1] \"07S0230\"\n", - "\n", - "$long_name\n", - "[1] \"Wildlife Computers SPOT5\"\n", - "\n", - "$location_type\n", - "[1] \"argos / modeled\"\n", - "\n", - "$comment\n", - "[1] \"Location\"\n", - "\n", - "$coverage_content_type\n", - "[1] \"referenceInformation\"\n", - "\n", - "$calibration_date\n", - "[1] \"Not Provided\"\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/html": [ - "
\n", - "\t
$manufacturer
\n", - "\t\t
'Wildlife Computers'
\n", - "\t
$make_model
\n", - "\t\t
'SPOT5'
\n", - "\t
$serial_number
\n", - "\t\t
'07S0230'
\n", - "\t
$long_name
\n", - "\t\t
'telemetry tag applied to animal'
\n", - "\t
$coverage_content_type
\n", - "\t\t
'referenceInformation'
\n", - "\t
$calibration_date
\n", - "\t\t
'Not Provided'
\n", - "
\n" - ], - "text/latex": [ - "\\begin{description}\n", - "\\item[\\$manufacturer] 'Wildlife Computers'\n", - "\\item[\\$make\\_model] 'SPOT5'\n", - "\\item[\\$serial\\_number] '07S0230'\n", - "\\item[\\$long\\_name] 'telemetry tag applied to animal'\n", - "\\item[\\$coverage\\_content\\_type] 'referenceInformation'\n", - "\\item[\\$calibration\\_date] 'Not Provided'\n", - "\\end{description}\n" - ], - "text/markdown": [ - "$manufacturer\n", - ": 'Wildlife Computers'\n", - "$make_model\n", - ": 'SPOT5'\n", - "$serial_number\n", - ": '07S0230'\n", - "$long_name\n", - ": 'telemetry tag applied to animal'\n", - "$coverage_content_type\n", - ": 'referenceInformation'\n", - "$calibration_date\n", - ": 'Not Provided'\n", - "\n", - "\n" - ], - "text/plain": [ - "$manufacturer\n", - "[1] \"Wildlife Computers\"\n", - "\n", - "$make_model\n", - "[1] \"SPOT5\"\n", - "\n", - "$serial_number\n", - "[1] \"07S0230\"\n", - "\n", - "$long_name\n", - "[1] \"telemetry tag applied to animal\"\n", - "\n", - "$coverage_content_type\n", - "[1] \"referenceInformation\"\n", - "\n", - "$calibration_date\n", - "[1] \"Not Provided\"\n" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], "source": [ - "# Use ncdf4 to get other variables\n", - "# library(ncdf4) - loaded above\n", - "# library(tidyverse)\n", + "#### Extracting variables for Extended Measurement Or Fact (eMOF)\n", + "\n", + "Here there are two approaches to transforming a variable to the eMOF Darwin Core extension. The goal is to collapse the measurement name, value, unit, related identifiers and remarks into a generalized long format that can be linked to occurrences and events. For more info see:\n", + "\n", + "1. [The OBIS manual](https://manual.obis.org/format_emof.html)\n", + "2. The [Marine Biological Data Mobilization Workshop 2023](https://ioos.github.io/bio_mobilization_workshop/04-create-schema/index.html) (SF:Not sure if it's cool to reference the workshop like this)\n", "\n", - "#nc <- nc_open(fname) - opened above\n", + "The first several lines of the below code show an example of pulling out the variable attributes and individually mapping them to the eMOF terms. However, this can be done more efficiently (although less readable) via this chunk of code:\n", "\n", - "var_names <- tibble(name = attributes(nc$var)$names)\n", + "```\n", + "# Supply vector of variable names\n", + "c(\"animal_length\",\n", + " \"animal_length_2\",\n", + " \"animal_weight\") %>%\n", "\n", - "ncatt_get(nc, 'instrument_location')\n", - "ncatt_get(nc, 'instrument_tag')" + " # Create a named list of the variable attributes and convert it into a data frame, for each name in the above vector.\n", + " purrr::map_df(function(x) {\n", + " list(measurementValue = ncvar_get( nc, x),\n", + " measurementType = ncatt_get( nc, x)$long_name,\n", + " measurementUnit = ncatt_get( nc, x)$units,\n", + " measurementMethod = ncatt_get( nc, x)[[paste0(x,'_type')]])\n", + " })\n", + "```" ] }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", - "\t\n", - "\t\n", + "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", - "\t\n", + "\t\n", "\n", "
A tibble: 36 × 1A data.frame: 1 × 7
name
<chr>
organismIDeventIDoccurrenceIDmeasurementValuemeasurementTypemeasurementUnitmeasurementMethod
<chr><chr><chr><dbl><chr><chr><chr>
deploy_id
time
z
lat
lon
ptt
instrument
type
location_class
error_radius
semi_major_axis
semi_minor_axis
ellipse_orientation
offset
offset_orientation
gpe_msd
gpe_u
count
qartod_time_flag
qartod_speed_flag
qartod_location_flag
qartod_rollup_flag
crs
trajectory
animal_age
animal_life_stage
animal_sex
animal_weight
animal_length
animal_length_2
animal
instrument_tag
instrument_location
taxon_name
taxon_lsid
comment
105838_great_white_sharkgreat_white shark_2009-09-23T00:00:00Z2009-09-23T00:00:00Z_0_great_white_shark213length of the animal as measured or estimated at deploymentcmtotal length
\n" ], "text/latex": [ - "A tibble: 36 × 1\n", - "\\begin{tabular}{l}\n", - " name\\\\\n", - " \\\\\n", + "A data.frame: 1 × 7\n", + "\\begin{tabular}{lllllll}\n", + " organismID & eventID & occurrenceID & measurementValue & measurementType & measurementUnit & measurementMethod\\\\\n", + " & & & & & & \\\\\n", "\\hline\n", - "\t deploy\\_id \\\\\n", - "\t time \\\\\n", - "\t z \\\\\n", - "\t lat \\\\\n", - "\t lon \\\\\n", - "\t ptt \\\\\n", - "\t instrument \\\\\n", - "\t type \\\\\n", - "\t location\\_class \\\\\n", - "\t error\\_radius \\\\\n", - "\t semi\\_major\\_axis \\\\\n", - "\t semi\\_minor\\_axis \\\\\n", - "\t ellipse\\_orientation \\\\\n", - "\t offset \\\\\n", - "\t offset\\_orientation \\\\\n", - "\t gpe\\_msd \\\\\n", - "\t gpe\\_u \\\\\n", - "\t count \\\\\n", - "\t qartod\\_time\\_flag \\\\\n", - "\t qartod\\_speed\\_flag \\\\\n", - "\t qartod\\_location\\_flag\\\\\n", - "\t qartod\\_rollup\\_flag \\\\\n", - "\t crs \\\\\n", - "\t trajectory \\\\\n", - "\t animal\\_age \\\\\n", - "\t animal\\_life\\_stage \\\\\n", - "\t animal\\_sex \\\\\n", - "\t animal\\_weight \\\\\n", - "\t animal\\_length \\\\\n", - "\t animal\\_length\\_2 \\\\\n", - "\t animal \\\\\n", - "\t instrument\\_tag \\\\\n", - "\t instrument\\_location \\\\\n", - "\t taxon\\_name \\\\\n", - "\t taxon\\_lsid \\\\\n", - "\t comment \\\\\n", + "\t 105838\\_great\\_white\\_shark & great\\_white shark\\_2009-09-23T00:00:00Z & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark & 213 & length of the animal as measured or estimated at deployment & cm & total length\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 36 × 1\n", + "A data.frame: 1 × 7\n", "\n", - "| name <chr> |\n", - "|---|\n", - "| deploy_id |\n", - "| time |\n", - "| z |\n", - "| lat |\n", - "| lon |\n", - "| ptt |\n", - "| instrument |\n", - "| type |\n", - "| location_class |\n", - "| error_radius |\n", - "| semi_major_axis |\n", - "| semi_minor_axis |\n", - "| ellipse_orientation |\n", - "| offset |\n", - "| offset_orientation |\n", - "| gpe_msd |\n", - "| gpe_u |\n", - "| count |\n", - "| qartod_time_flag |\n", - "| qartod_speed_flag |\n", - "| qartod_location_flag |\n", - "| qartod_rollup_flag |\n", - "| crs |\n", - "| trajectory |\n", - "| animal_age |\n", - "| animal_life_stage |\n", - "| animal_sex |\n", - "| animal_weight |\n", - "| animal_length |\n", - "| animal_length_2 |\n", - "| animal |\n", - "| instrument_tag |\n", - "| instrument_location |\n", - "| taxon_name |\n", - "| taxon_lsid |\n", - "| comment |\n", + "| organismID <chr> | eventID <chr> | occurrenceID <chr> | measurementValue <dbl> | measurementType <chr> | measurementUnit <chr> | measurementMethod <chr> |\n", + "|---|---|---|---|---|---|---|\n", + "| 105838_great_white_shark | great_white shark_2009-09-23T00:00:00Z | 2009-09-23T00:00:00Z_0_great_white_shark | 213 | length of the animal as measured or estimated at deployment | cm | total length |\n", "\n" ], "text/plain": [ - " name \n", - "1 deploy_id \n", - "2 time \n", - "3 z \n", - "4 lat \n", - "5 lon \n", - "6 ptt \n", - "7 instrument \n", - "8 type \n", - "9 location_class \n", - "10 error_radius \n", - "11 semi_major_axis \n", - "12 semi_minor_axis \n", - "13 ellipse_orientation \n", - "14 offset \n", - "15 offset_orientation \n", - "16 gpe_msd \n", - "17 gpe_u \n", - "18 count \n", - "19 qartod_time_flag \n", - "20 qartod_speed_flag \n", - "21 qartod_location_flag\n", - "22 qartod_rollup_flag \n", - "23 crs \n", - "24 trajectory \n", - "25 animal_age \n", - "26 animal_life_stage \n", - "27 animal_sex \n", - "28 animal_weight \n", - "29 animal_length \n", - "30 animal_length_2 \n", - "31 animal \n", - "32 instrument_tag \n", - "33 instrument_location \n", - "34 taxon_name \n", - "35 taxon_lsid \n", - "36 comment " - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "var_names# %>%\n", - "#filter(str_detect(name, 'animal_length'))" - ] - }, - { - "cell_type": "code", - "execution_count": 44, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "'105838_great_white_shark'" - ], - "text/latex": [ - "'105838\\_great\\_white\\_shark'" - ], - "text/markdown": [ - "'105838_great_white_shark'" - ], - "text/plain": [ - "[1] \"105838_great_white_shark\"" + " organismID eventID \n", + "1 105838_great_white_shark great_white shark_2009-09-23T00:00:00Z\n", + " occurrenceID measurementValue\n", + "1 2009-09-23T00:00:00Z_0_great_white_shark 213 \n", + " measurementType measurementUnit\n", + "1 length of the animal as measured or estimated at deployment cm \n", + " measurementMethod\n", + "1 total length " ] }, "metadata": {}, "output_type": "display_data" } ], - "source": [ - "filter(occurrencedf, basisOfRecord == 'HumanObservation')$organismID" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "#### Extracting variables for Extended Measurement Or Fact (eMOF)\n", - "\n", - "Here there are two approaches to transforming a variable to the eMOF Darwin Core extension. The goal is to collapse the measurement name, value, unit, related identifiers and remarks into a generalized long format that can be linked to occurrences and events. For more info see:\n", - "\n", - "1. [The OBIS manual](https://manual.obis.org/format_emof.html)\n", - "2. The [Marine Biological Data Mobilization Workshop 2023](https://ioos.github.io/bio_mobilization_workshop/04-create-schema/index.html) (SF:Not sure if it's cool to reference the workshop like this)\n", - "\n", - "The first several lines of the below code show an example of pulling out the variable attributes and individually mapping them to the eMOF terms. However, this can be done more efficiently (although less readable) via this chunk of code:\n", - "\n", - "```\n", - "# Supply vector of variable names\n", - "c(\"animal_length\",\n", - " \"animal_length_2\",\n", - " \"animal_weight\") %>%\n", - "\n", - " # Create a named list of the variable attributes and convert it into a data frame, for each name in the above vector.\n", - " purrr::map_df(function(x) {\n", - " list(measurementValue = ncvar_get( nc, x),\n", - " measurementType = ncatt_get( nc, x)$long_name,\n", - " measurementUnit = ncatt_get( nc, x)$units,\n", - " measurementMethod = ncatt_get( nc, x)[[paste0(x,'_type')]])\n", - " })\n", - "```" - ] - }, - { - "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [ - { - "ename": "ERROR", - "evalue": "Error in var_names %>% filter(str_starts(name, pattern = \"animal_[lw]e\")) %>% : could not find function \"%>%\"\n", - "output_type": "error", - "traceback": [ - "Error in var_names %>% filter(str_starts(name, pattern = \"animal_[lw]e\")) %>% : could not find function \"%>%\"\nTraceback:\n" - ] - } - ], "source": [ "# # Measurement or Fact extension\n", "# # Need to find the occurrence where basisOfRecord == HumanObservation, then pull the organism.\n", - "# #filter(occurrecedf, basisOfRecord == 'HumanObservation')\n", - "# \n", - "# # eMoF will only contain records when basis of record is a human observation. \n", - "# # In other words, when someone saw and took measurements of the animal we want\n", - "# # to preserve those observations in the emof extension.\n", - "# emofdf <- tibble('organismID' = filter(occurrencedf, basisOfRecord == 'HumanObservation')$organismID)\n", - "# \n", - "# \n", - "# # add animal_age, animal_length, animal_leng_2\n", - "# emofdf$measurementValue <- ncvar_get( nc, 'animal_weight')\n", - "# emofdf$measurementType <- ncatt_get( nc, 'animal_weight')$long_name\n", - "# emofdf$measurementUnit <- ncatt_get( nc, 'animal_weight')$units\n", - "# emofdf$measurementMethod <- NA #ncatt_get( nc, 'animal_weight')$long_name\n", - "# \n", - "# # length\n", - "# emofdf2 <- tibble('organismID' = unique(occurrencedf$organismID))\n", - "# emofdf2$measurementValue <- ncvar_get( nc, 'animal_length')\n", - "# emofdf2$measurementType <- ncatt_get( nc, 'animal_length')$long_name\n", - "# emofdf2$measurementUnit <- ncatt_get( nc, 'animal_length')$units\n", - "# emofdf2$measurementMethod <- ncatt_get( nc, 'animal_length')$animal_length_type\n", - "# \n", - "# # length2\n", - "# emofdf3 <- tibble('organismID' = unique(occurrencedf$organismID))\n", - "# emofdf3$measurementValue <- ncvar_get( nc, 'animal_length_2')\n", - "# emofdf3$measurementType <- ncatt_get( nc, 'animal_length_2')$long_name\n", - "# emofdf3$measurementUnit <- ncatt_get( nc, 'animal_length_2')$units\n", - "# emofdf3$measurementMethod <- ncatt_get( nc, 'animal_length_2')$animal_length_2_type\n", - "# \n", - "# emofdf <- bind_rows(emofdf, emofdf2, emofdf3)\n", - "# # mofdf$measurementValue <- ncvar_get( nc, 'animal_length')\n", - "# # mofdf$measurementType <- ncatt_get( nc, 'animal_length')$animal_length_type\n", - "# # mofdf$measurementUnit <- ncatt_get( nc, 'animal_length')$units\n", - "# # mofdf$measurementMethod <- ncatt_get( nc, 'animal_length')$long_name\n", - "# \n", - "# emofdf$eventID <- filter(occurrencedf, basisOfRecord == 'HumanObservation')$eventID # HumanObservation is the emof\n", - "# emofdf$occurrenceID <- filter(occurrencedf, basisOfRecord == 'HumanObservation')$occurrenceID # HumanObservation is the emof observations\n", - "# \n", - "# emofdf\n", "\n", "#### The above works fine. Here is a slightly more succint way, where you could also make more efficient by parsing patterns if they exist. \n", "# In this case it's overkill, but it's a good chance to demonstrate it.\n", @@ -5666,71 +3705,6 @@ "emofdf" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Filter out only the measurement or facts that actually have values." - ] - }, - { - "cell_type": "code", - "execution_count": 38, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "\n", - "\n", - "\n", - "\t\n", - "\t\n", - "\n", - "\n", - "\t\n", - "\n", - "
A tibble: 1 × 7
organismIDmeasurementValuemeasurementTypemeasurementUnitmeasurementMethodeventIDoccurrenceID
<chr><dbl><chr><chr><chr><chr><chr>
105838_great_white_shark213length of the animal as measured or estimated at deploymentcmtotal lengthgreat_white shark_2009-09-23T00:00:00Z2009-09-23T00:00:00Z_0_great_white_shark
\n" - ], - "text/latex": [ - "A tibble: 1 × 7\n", - "\\begin{tabular}{lllllll}\n", - " organismID & measurementValue & measurementType & measurementUnit & measurementMethod & eventID & occurrenceID\\\\\n", - " & & & & & & \\\\\n", - "\\hline\n", - "\t 105838\\_great\\_white\\_shark & 213 & length of the animal as measured or estimated at deployment & cm & total length & great\\_white shark\\_2009-09-23T00:00:00Z & 2009-09-23T00:00:00Z\\_0\\_great\\_white\\_shark\\\\\n", - "\\end{tabular}\n" - ], - "text/markdown": [ - "\n", - "A tibble: 1 × 7\n", - "\n", - "| organismID <chr> | measurementValue <dbl> | measurementType <chr> | measurementUnit <chr> | measurementMethod <chr> | eventID <chr> | occurrenceID <chr> |\n", - "|---|---|---|---|---|---|---|\n", - "| 105838_great_white_shark | 213 | length of the animal as measured or estimated at deployment | cm | total length | great_white shark_2009-09-23T00:00:00Z | 2009-09-23T00:00:00Z_0_great_white_shark |\n", - "\n" - ], - "text/plain": [ - " organismID measurementValue\n", - "1 105838_great_white_shark 213 \n", - " measurementType measurementUnit\n", - "1 length of the animal as measured or estimated at deployment cm \n", - " measurementMethod eventID \n", - "1 total length great_white shark_2009-09-23T00:00:00Z\n", - " occurrenceID \n", - "1 2009-09-23T00:00:00Z_0_great_white_shark" - ] - }, - "metadata": {}, - "output_type": "display_data" - } - ], - "source": [ - "emofdf <- \n", - "\n", - "emofdf" - ] - }, { "cell_type": "markdown", "metadata": {}, @@ -5740,7 +3714,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 24, "metadata": {}, "outputs": [], "source": [ @@ -5753,7 +3727,9 @@ }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "# Initial checks\n", "\n", @@ -5766,7 +3742,7 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 25, "metadata": {}, "outputs": [], "source": [ @@ -5775,9 +3751,20 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 26, "metadata": {}, "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Warning message:\n", + "\"\u001b[1m\u001b[22m`data_frame()` was deprecated in tibble 1.1.0.\n", + "\u001b[36mi\u001b[39m Please use `tibble()` instead.\n", + "\u001b[36mi\u001b[39m The deprecated feature was likely used in the \u001b[34mobistools\u001b[39m package.\n", + " Please report the issue to the authors.\"\n" + ] + }, { "data": { "text/html": [], @@ -5797,7 +3784,7 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 27, "metadata": {}, "outputs": [ { @@ -5819,7 +3806,7 @@ }, { "cell_type": "code", - "execution_count": 44, + "execution_count": 28, "metadata": {}, "outputs": [ { @@ -5877,48 +3864,40 @@ }, { "cell_type": "code", - "execution_count": 45, + "execution_count": 29, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", - "\n", + "\n", "\n", "\t\n", - "\t\n", + "\t\n", "\n", "\n", - "\t\n", - "\t\n", "\n", "
A tibble: 2 × 4A tibble: 0 × 4
levelrowfieldmessage
<chr><lgl><chr><chr>
<chr><int><chr><chr>
warningNAminimumDepthInMetersColumn minimumDepthInMeters missing
warningNAmaximumDepthInMetersColumn maximumDepthInMeters missing
\n" ], "text/latex": [ - "A tibble: 2 × 4\n", + "A tibble: 0 × 4\n", "\\begin{tabular}{llll}\n", " level & row & field & message\\\\\n", - " & & & \\\\\n", + " & & & \\\\\n", "\\hline\n", - "\t warning & NA & minimumDepthInMeters & Column minimumDepthInMeters missing\\\\\n", - "\t warning & NA & maximumDepthInMeters & Column maximumDepthInMeters missing\\\\\n", "\\end{tabular}\n" ], "text/markdown": [ "\n", - "A tibble: 2 × 4\n", + "A tibble: 0 × 4\n", "\n", - "| level <chr> | row <lgl> | field <chr> | message <chr> |\n", + "| level <chr> | row <int> | field <chr> | message <chr> |\n", "|---|---|---|---|\n", - "| warning | NA | minimumDepthInMeters | Column minimumDepthInMeters missing |\n", - "| warning | NA | maximumDepthInMeters | Column maximumDepthInMeters missing |\n", "\n" ], "text/plain": [ - " level row field message \n", - "1 warning NA minimumDepthInMeters Column minimumDepthInMeters missing\n", - "2 warning NA maximumDepthInMeters Column maximumDepthInMeters missing" + " level row field message" ] }, "metadata": {}, @@ -5931,7 +3910,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 30, "metadata": {}, "outputs": [ { @@ -5991,15 +3970,15 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 31, "metadata": {}, "outputs": [ { "ename": "ERROR", - "evalue": "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\n", + "evalue": "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\n", "output_type": "error", "traceback": [ - "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\nTraceback:\n", + "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\nTraceback:\n", "1. check_outliers_species(occurrencedf_dec, report = FALSE)", "2. qcservice_outliers(data[istaxon, ], \"outlierstaxon\", mad_coef, \n . iqr_coef, return_values, aphiaid = taxon)", "3. service_call(url, msg)", @@ -6023,28 +4002,9 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "ename": "ERROR", - "evalue": "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\n", - "output_type": "error", - "traceback": [ - "Error in eval(expr, envir = NULL, enclos = env): {\"title\": \"Error looking up data for provided points\", \"description\": \"HTTPConnectionPool(host='api.iobis.org', port=80): Max retries exceeded with url: /v3/statistics/outliers?taxonid=105838 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name does not resolve',))\"}\nTraceback:\n", - "1. obistools::report(occurrencedf_dec)", - "2. bind_rows(check_fields(data), check_eventdate(data), check_onland(data, \n . report = TRUE), check_depth(data, report = TRUE), check_outliers_dataset(data, \n . report = TRUE), check_outliers_species(data, report = TRUE, \n . topn = topnspecies))", - "3. list2(...)", - "4. check_outliers_species(data, report = TRUE, topn = topnspecies)", - "5. qcservice_outliers(data[istaxon, ], \"outlierstaxon\", mad_coef, \n . iqr_coef, return_values, aphiaid = taxon)", - "6. service_call(url, msg)", - "7. cache_call(key = paste(url, msg), expression({\n . response <- httr::POST(url, httr::content_type(\"application/json\"), \n . httr::user_agent(\"obistools - https://github.com/iobis/obistools\"), \n . body = msg)\n . raw_content <- httr::content(response, as = \"raw\")\n . if (response$status_code != 200) {\n . if (is.list(raw_content) && all(c(\"title\", \"description\") %in% \n . names(raw_content))) {\n . stop(paste0(raw_content$title, \": \", raw_content$description))\n . }\n . stop(rawToChar(raw_content))\n . }\n . raw_content\n . }))", - "8. eval(expr, envir = NULL, enclos = env)", - "9. eval(expr, envir = NULL, enclos = env)", - "10. stop(rawToChar(raw_content))" - ] - } - ], + "outputs": [], "source": [ "report <- obistools::report(occurrencedf_dec)\n", "report" @@ -6096,9 +4056,11 @@ }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ - "## Metadata creation\n", + "# Metadata creation\n", "\n", "Now that we know our data are aligned to Darwin Core, we can start collecting metadata. Using the R package [EML](https://docs.ropensci.org/EML/) we can create the EML metadata to associate with the data above.\n", "\n", @@ -6113,7 +4075,7 @@ "metadata": {}, "outputs": [], "source": [ - "library(EML)" + "# library(EML)" ] }, { @@ -6129,13 +4091,13 @@ "metadata": {}, "outputs": [], "source": [ - "me <- list(individualName = list(givenName = \"Matt\", surName = \"Biddle\"))\n", - "my_eml <- list(dataset = list(\n", - " title = \"A Minimal Valid EML Dataset\",\n", - " creator = me,\n", - " contact = me\n", - " )\n", - " )" + "# me <- list(individualName = list(givenName = \"Matt\", surName = \"Biddle\"))\n", + "# my_eml <- list(dataset = list(\n", + "# title = \"A Minimal Valid EML Dataset\",\n", + "# creator = me,\n", + "# contact = me\n", + "# )\n", + "# )" ] }, { @@ -6144,26 +4106,26 @@ "metadata": {}, "outputs": [], "source": [ - "geographicDescription <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"sea_name\")\n", - "west <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lon_min\")\n", - "east <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lon_max\")\n", - "north <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lat_max\")\n", - "south <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lat_min\")\n", - "altitudeMin <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_min\")\n", - "altitudeMax <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_max\")\n", - "altitudeUnits <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_units\")\n", - "\n", - "coverage <- \n", - " set_coverage(begin = format(min(atn_tbl$time),'%Y-%m-%d'), end = format(max(atn_tbl$time), '%Y-%m-%d'),\n", - " sci_names = RNetCDF::var.get.nc(RNetCDF::open.nc(\"atn_trajectory_template.nc\"), \"taxon_name\"),\n", - " geographicDescription = paste(geographicDescription$value),\n", - " west = paste(west$value), \n", - " east = paste(east$value) , \n", - " north = paste(north$value) , \n", - " south = paste(south$value) ,\n", - " altitudeMin = paste(altitudeMin$value), \n", - " altitudeMaximum = paste(altitudeMax$value),\n", - " altitudeUnits = ifelse (paste(altitudeUnits$value) == 'm', \"meter\", \"?\"))" + "# geographicDescription <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"sea_name\")\n", + "# west <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lon_min\")\n", + "# east <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lon_max\")\n", + "# north <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lat_max\")\n", + "# south <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_lat_min\")\n", + "# altitudeMin <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_min\")\n", + "# altitudeMax <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_max\")\n", + "# altitudeUnits <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"geospatial_vertical_units\")\n", + "\n", + "# coverage <- \n", + "# set_coverage(begin = format(min(atn_tbl$time),'%Y-%m-%d'), end = format(max(atn_tbl$time), '%Y-%m-%d'),\n", + "# sci_names = RNetCDF::var.get.nc(RNetCDF::open.nc(\"atn_trajectory_template.nc\"), \"taxon_name\"),\n", + "# geographicDescription = paste(geographicDescription$value),\n", + "# west = paste(west$value), \n", + "# east = paste(east$value) , \n", + "# north = paste(north$value) , \n", + "# south = paste(south$value) ,\n", + "# altitudeMin = paste(altitudeMin$value), \n", + "# altitudeMaximum = paste(altitudeMax$value),\n", + "# altitudeUnits = ifelse (paste(altitudeUnits$value) == 'm', \"meter\", \"?\"))" ] }, { @@ -6172,17 +4134,17 @@ "metadata": {}, "outputs": [], "source": [ - "creator_name <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_name\")\n", - "creator_email <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_email\")\n", - "creator_sector <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_sector\")\n", - "creator <- eml$creator(\n", - " eml$individualName(\n", - " givenName = paste(creator_name$value),\n", - " surName = paste(creator_name$value)\n", - " ),\n", - " position = paste(creator_sector$value),\n", - " electronicMailAddress = paste(creator_email$value)\n", - " )" + "# creator_name <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_name\")\n", + "# creator_email <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_email\")\n", + "# creator_sector <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"creator_sector\")\n", + "# creator <- eml$creator(\n", + "# eml$individualName(\n", + "# givenName = paste(creator_name$value),\n", + "# surName = paste(creator_name$value)\n", + "# ),\n", + "# position = paste(creator_sector$value),\n", + "# electronicMailAddress = paste(creator_email$value)\n", + "# )" ] }, { @@ -6191,14 +4153,14 @@ "metadata": {}, "outputs": [], "source": [ - "#contact_name = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contact_name\")\n", - "contact <- eml$contact(\n", - " eml$individualName(\n", - " givenName = paste(creator_name$value),\n", - " surName = paste(creator_name$value)),\n", - " position = paste(creator_sector$value),\n", - " electronicMailAddress = paste(creator_email$value)\n", - " )" + "# #contact_name = metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contact_name\")\n", + "# contact <- eml$contact(\n", + "# eml$individualName(\n", + "# givenName = paste(creator_name$value),\n", + "# surName = paste(creator_name$value)),\n", + "# position = paste(creator_sector$value),\n", + "# electronicMailAddress = paste(creator_email$value)\n", + "# )" ] }, { @@ -6207,14 +4169,14 @@ "metadata": {}, "outputs": [], "source": [ - "#metadata_name\n", - "metadataProvider <- eml$metadataProvider(\n", - " eml$individualName(\n", - " givenName = paste(creator_name$value),\n", - " surName = paste(creator_name$value)),\n", - " position = paste(creator_sector$value),\n", - " electronicMailAddress = paste(creator_email$value)\n", - " )\n", + "# #metadata_name\n", + "# metadataProvider <- eml$metadataProvider(\n", + "# eml$individualName(\n", + "# givenName = paste(creator_name$value),\n", + "# surName = paste(creator_name$value)),\n", + "# position = paste(creator_sector$value),\n", + "# electronicMailAddress = paste(creator_email$value)\n", + "# )\n", "\n" ] }, @@ -6224,10 +4186,10 @@ "metadata": {}, "outputs": [], "source": [ - "## these are the entries in contributor, need to iterate since comma separated list.\n", - "contrib_name <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_name\")\n", - "contrib_position <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_role\")\n", - "contrib_email <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_email\")" + "# ## these are the entries in contributor, need to iterate since comma separated list.\n", + "# contrib_name <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_name\")\n", + "# contrib_position <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_role\")\n", + "# contrib_email <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"contributor_email\")" ] }, { @@ -6236,13 +4198,13 @@ "metadata": {}, "outputs": [], "source": [ - "associatedParty <- eml$associatedParty(\n", - " eml$individualName(\n", - " givenName = paste(contrib_name$value),\n", - " surName = paste(contrib_name$value)),\n", - " position = paste(contrib_position$value),\n", - " electronicMailAddress = paste(contrib_email$value)\n", - " )" + "# associatedParty <- eml$associatedParty(\n", + "# eml$individualName(\n", + "# givenName = paste(contrib_name$value),\n", + "# surName = paste(contrib_name$value)),\n", + "# position = paste(contrib_position$value),\n", + "# electronicMailAddress = paste(contrib_email$value)\n", + "# )" ] }, { @@ -6251,7 +4213,7 @@ "metadata": {}, "outputs": [], "source": [ - "abstract <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"summary\")" + "# abstract <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"summary\")" ] }, { @@ -6260,14 +4222,14 @@ "metadata": {}, "outputs": [], "source": [ - "# keywords\n", - "keywords <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"keywords\")\n", - "kw_vocab <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"keywords_vocabulary\")\n", - "keywordSet <- list(\n", - " list(\n", - " keywordThesaurus = kw_vocab$value$keywords_vocabulary,\n", - " keyword = as.list(strsplit(keywords$value$keywords, \", \"))\n", - " ))" + "# # keywords\n", + "# keywords <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"keywords\")\n", + "# kw_vocab <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"keywords_vocabulary\")\n", + "# keywordSet <- list(\n", + "# list(\n", + "# keywordThesaurus = kw_vocab$value$keywords_vocabulary,\n", + "# keyword = as.list(strsplit(keywords$value$keywords, \", \"))\n", + "# ))" ] }, { @@ -6276,7 +4238,7 @@ "metadata": {}, "outputs": [], "source": [ - "title <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"title\")" + "# title <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"title\")" ] }, { @@ -6285,7 +4247,7 @@ "metadata": {}, "outputs": [], "source": [ - "methods <- \"NEED TO MAP FROM NCFILE\"" + "# methods <- \"NEED TO MAP FROM NCFILE\"" ] }, { @@ -6294,7 +4256,7 @@ "metadata": {}, "outputs": [], "source": [ - "license <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"license\")" + "# license <- metadata %>% dplyr::filter(variable == \"NC_GLOBAL\") %>% dplyr::filter(name == \"license\")" ] }, { @@ -6310,52 +4272,52 @@ "metadata": {}, "outputs": [], "source": [ - "library(uuid)\n", - "\n", - "physical <- set_physical(file_name_occur)\n", - "\n", - "# attributeList <- \n", - "# set_attributes(attributes, \n", - "# factors, \n", - "# col_classes = c(\"character\", \n", - "# \"Date\",\n", - "# \"Date\",\n", - "# \"Date\",\n", - "# \"factor\",\n", - "# \"factor\",\n", - "# \"factor\",\n", - "# \"numeric\"))\n", - "\n", - "my_eml <- eml$eml(\n", - " packageId = paste(uuid_tbl$value), \n", - " system = \"uuid\",\n", - " dataset = eml$dataset(\n", - " alternateIdentifier = UUIDgenerate(use.time = TRUE),\n", - " title = title$value,\n", - " creator = creator,\n", - " metadataProvider = metadataProvider,\n", - " #associatedParty = associatedParty,\n", - " contact = contact,\n", - " pubDate = format(Sys.time(),'%Y-%m-%d'),\n", - " language = \"English\",\n", - " intellectualRights = eml$intellectualRights(\n", - " para = \"To the extent possible under law, the publisher has waived all rights to these data and has dedicated them to the Public Domain (CC0 1.0). Users may copy, modify, distribute and use the work, including for commercial purposes, without restriction.\"\n", - " #para = paste(license$value),\n", - " ),\n", - " abstract = eml$abstract(\n", - " para = abstract$value$summary,\n", - " ),\n", - " keywordSet = keywordSet,\n", - " coverage = coverage,\n", - "# license = eml$license(\n", - "# licenseName = \"CC0 1.0\",\n", - "# #licenseName = paste(license$value),\n", - "# ),\n", - " #dataTable = eml$dataTable(\n", - " # entityName = file_name_occur,\n", - " # entityDescription = \"Occurrences\",\n", - " # physical = physical)\n", - " ))" + "# library(uuid)\n", + "\n", + "# physical <- set_physical(file_name_occur)\n", + "\n", + "# # attributeList <- \n", + "# # set_attributes(attributes, \n", + "# # factors, \n", + "# # col_classes = c(\"character\", \n", + "# # \"Date\",\n", + "# # \"Date\",\n", + "# # \"Date\",\n", + "# # \"factor\",\n", + "# # \"factor\",\n", + "# # \"factor\",\n", + "# # \"numeric\"))\n", + "\n", + "# my_eml <- eml$eml(\n", + "# packageId = paste(uuid_tbl$value), \n", + "# system = \"uuid\",\n", + "# dataset = eml$dataset(\n", + "# alternateIdentifier = UUIDgenerate(use.time = TRUE),\n", + "# title = title$value,\n", + "# creator = creator,\n", + "# metadataProvider = metadataProvider,\n", + "# #associatedParty = associatedParty,\n", + "# contact = contact,\n", + "# pubDate = format(Sys.time(),'%Y-%m-%d'),\n", + "# language = \"English\",\n", + "# intellectualRights = eml$intellectualRights(\n", + "# para = \"To the extent possible under law, the publisher has waived all rights to these data and has dedicated them to the Public Domain (CC0 1.0). Users may copy, modify, distribute and use the work, including for commercial purposes, without restriction.\"\n", + "# #para = paste(license$value),\n", + "# ),\n", + "# abstract = eml$abstract(\n", + "# para = abstract$value$summary,\n", + "# ),\n", + "# keywordSet = keywordSet,\n", + "# coverage = coverage,\n", + "# # license = eml$license(\n", + "# # licenseName = \"CC0 1.0\",\n", + "# # #licenseName = paste(license$value),\n", + "# # ),\n", + "# #dataTable = eml$dataTable(\n", + "# # entityName = file_name_occur,\n", + "# # entityDescription = \"Occurrences\",\n", + "# # physical = physical)\n", + "# ))" ] }, { @@ -6378,8 +4340,8 @@ "metadata": {}, "outputs": [], "source": [ - "val <- eml_validate(my_eml)\n", - "attr(val,\"errors\")" + "# val <- eml_validate(my_eml)\n", + "# attr(val,\"errors\")" ] }, { @@ -6395,8 +4357,8 @@ "metadata": {}, "outputs": [], "source": [ - "file_name_eml <- 'eml.xml'\n", - "write_eml(my_eml, file_name_eml)" + "# file_name_eml <- 'eml.xml'\n", + "# write_eml(my_eml, file_name_eml)" ] }, { @@ -6412,14 +4374,14 @@ "metadata": {}, "outputs": [], "source": [ - "my_eml" + "# my_eml" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "# Create meta.xml\n", + "## Create meta.xml\n", "\n", "Below is an example of the contents of meta.xml:\n", "\n", @@ -6478,58 +4440,60 @@ "metadata": {}, "outputs": [], "source": [ - "library(XML)\n", - "\n", - "doc = newXMLDoc()\n", - "archiveNode = newXMLNode(\"archive\", attrs = c(metadata=file_name_eml), namespaceDefinitions=c(\"http://rs.tdwg.org/dwc/text/\"), doc=doc )\n", - "\n", - "## For the core occurrence\n", - "coreNode = newXMLNode(\"core\", attrs = c(encoding=\"UTF-8\", linesTerminatedBy=\"\\\\r\\\\n\", fieldsTerminatedBy=\",\", fieldsEnclosedBy='\\\"', ignoreHeaderLines=\"1\", rowType=\"http://rs.tdwg.org/dwc/terms/Occurrence\"), parent = archiveNode)\n", - "filesNode = newXMLNode(\"files\", parent = coreNode)\n", - "locationNode = newXMLNode(\"location\", file_name_occur, parent = filesNode)\n", - "idnode = newXMLNode(\"id\", attrs = c(index=\"9\"), parent = coreNode)\n", - "\n", - "# iterate over the columns in occurrence file to create field elements\n", - "i=0\n", - "for (col in colnames(occurrencedf))\n", - " {\n", - " termstr = paste(\"http://rs.tdwg.org/dwc/terms/\",col, sep=\"\")\n", - " i=i+1\n", - " fieldnode = newXMLNode(\"field\", attrs = c(index=i, term=termstr), parent=coreNode)\n", - "}\n", - "\n", - "\n", - "## for the extensions\n", - "extensionNode = newXMLNode(\"extension\", attrs = c(encoding=\"UTF-8\", linesTerminatedBy=\"\\\\r\\\\n\", fieldsTerminatedBy=\",\", fieldsEnclosedBy='\\\"', ignoreHeaderLines=\"1\", rowType=\"http://rs.tdwg.org/dwc/terms/Event\"), parent = archiveNode)\n", - "filesNode = newXMLNode(\"files\", parent = extensionNode)\n", - "locationNode = newXMLNode(\"location\", file_name_event, parent = filesNode)\n", - "idnode = newXMLNode(\"id\", attrs = c(index=\"0\"), parent = extensionNode)\n", - "\n", - "# iterate over the columns in occurrence file to create field elements\n", - "i=0\n", - "for (col in colnames(eventdf))\n", - " {\n", - " if (col == 'modified'){\n", - " termstr = paste(\"http://purl.org/dc/terms/\", col, sep=\"\")\n", - " } else {\n", - " termstr = paste(\"http://rs.tdwg.org/dwc/terms/\",col, sep=\"\")\n", - " }\n", + "# library(XML)\n", + "\n", + "# doc = newXMLDoc()\n", + "# archiveNode = newXMLNode(\"archive\", attrs = c(metadata=file_name_eml), namespaceDefinitions=c(\"http://rs.tdwg.org/dwc/text/\"), doc=doc )\n", + "\n", + "# ## For the core occurrence\n", + "# coreNode = newXMLNode(\"core\", attrs = c(encoding=\"UTF-8\", linesTerminatedBy=\"\\\\r\\\\n\", fieldsTerminatedBy=\",\", fieldsEnclosedBy='\\\"', ignoreHeaderLines=\"1\", rowType=\"http://rs.tdwg.org/dwc/terms/Occurrence\"), parent = archiveNode)\n", + "# filesNode = newXMLNode(\"files\", parent = coreNode)\n", + "# locationNode = newXMLNode(\"location\", file_name_occur, parent = filesNode)\n", + "# idnode = newXMLNode(\"id\", attrs = c(index=\"9\"), parent = coreNode)\n", + "\n", + "# # iterate over the columns in occurrence file to create field elements\n", + "# i=0\n", + "# for (col in colnames(occurrencedf))\n", + "# {\n", + "# termstr = paste(\"http://rs.tdwg.org/dwc/terms/\",col, sep=\"\")\n", + "# i=i+1\n", + "# fieldnode = newXMLNode(\"field\", attrs = c(index=i, term=termstr), parent=coreNode)\n", + "# }\n", + "\n", + "\n", + "# ## for the extensions\n", + "# extensionNode = newXMLNode(\"extension\", attrs = c(encoding=\"UTF-8\", linesTerminatedBy=\"\\\\r\\\\n\", fieldsTerminatedBy=\",\", fieldsEnclosedBy='\\\"', ignoreHeaderLines=\"1\", rowType=\"http://rs.tdwg.org/dwc/terms/Event\"), parent = archiveNode)\n", + "# filesNode = newXMLNode(\"files\", parent = extensionNode)\n", + "# locationNode = newXMLNode(\"location\", file_name_event, parent = filesNode)\n", + "# idnode = newXMLNode(\"id\", attrs = c(index=\"0\"), parent = extensionNode)\n", + "\n", + "# # iterate over the columns in occurrence file to create field elements\n", + "# i=0\n", + "# for (col in colnames(eventdf))\n", + "# {\n", + "# if (col == 'modified'){\n", + "# termstr = paste(\"http://purl.org/dc/terms/\", col, sep=\"\")\n", + "# } else {\n", + "# termstr = paste(\"http://rs.tdwg.org/dwc/terms/\",col, sep=\"\")\n", + "# }\n", " \n", - " i=i+1\n", + "# i=i+1\n", " \n", - " fieldnode = newXMLNode(\"field\", attrs = c(index=i, term=termstr), parent=extensionNode)\n", - "}\n", + "# fieldnode = newXMLNode(\"field\", attrs = c(index=i, term=termstr), parent=extensionNode)\n", + "# }\n", "\n", "\n", - "print(doc)\n", + "# print(doc)\n", "\n", "\n", - "saveXML(doc, file=\"meta.xml\")" + "# saveXML(doc, file=\"meta.xml\")" ] }, { "cell_type": "markdown", - "metadata": {}, + "metadata": { + "tags": [] + }, "source": [ "# Build the DarwinCore-Archive zip package" ] @@ -6540,17 +4504,17 @@ "metadata": {}, "outputs": [], "source": [ - "library(zip)\n", + "# library(zip)\n", "\n", - "files = c(file_name_occur, file_name_event, file_name_eml, \"meta.xml\")\n", - "zip::zip(\n", - " \"atn.zip\",\n", - " files,\n", - " root = \".\",\n", - " mode = \"mirror\",\n", - ")\n", + "# files = c(file_name_occur, file_name_event, file_name_eml, \"meta.xml\")\n", + "# zip::zip(\n", + "# \"atn.zip\",\n", + "# files,\n", + "# root = \".\",\n", + "# mode = \"mirror\",\n", + "# )\n", "\n", - "zip_list(\"atn.zip\")" + "# zip_list(\"atn.zip\")" ] }, { diff --git a/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_emof.csv b/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_emof.csv index 8ad1a7f2..60fde3da 100644 --- a/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_emof.csv +++ b/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_emof.csv @@ -1,2 +1,2 @@ -"organismID","measurementValue","measurementType","measurementUnit","measurementMethod","eventID","occurrenceID" -"105838_great_white_shark",213,"length of the animal as measured or estimated at deployment","cm","total length","great_white shark_2009-09-23T00:00:00Z","2009-09-23T00:00:00Z_0_great_white_shark" +"organismID","eventID","occurrenceID","measurementValue","measurementType","measurementUnit","measurementMethod" +"105838_great_white_shark","great_white shark_2009-09-23T00:00:00Z","2009-09-23T00:00:00Z_0_great_white_shark",213,"length of the animal as measured or estimated at deployment","cm","total length" diff --git a/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_occurrence.csv b/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_occurrence.csv index b4262e8e..9eb872c6 100644 --- a/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_occurrence.csv +++ b/jupyterbook/content/code_gallery/data_management_notebooks/atn_45866_occurrence.csv @@ -1,18 +1,18 @@ -"eventDate","decimalLatitude","decimalLongitude","basisOfRecord","kingdom","taxonRank","occurrenceStatus","sex","lifeStage","scientificName","scientificNameID","organismID","occurrenceID","geodeticDatum","eventID","coordinateUncertaintyInMeters","dataGeneralizations" -"2009-09-23T00:00:00Z",34.03,-118.56,"HumanObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-09-23T00:00:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-23T00:00:00Z",0,"" -"2009-09-25T11:09:00Z",34.024,-118.556,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-09-25T11:09:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-25T11:09:00Z",1500,"first of 2 records" -"2009-09-27T17:58:00Z",34.033,-118.547,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-09-27T17:58:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-27T17:58:00Z",1500,"" -"2009-10-08T20:24:00Z",34.038,-118.581,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-08T20:24:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-08T20:24:00Z",500,"" -"2009-10-15T11:05:00Z",33.995,-118.678,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-15T11:05:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-15T11:05:00Z",10000,"" -"2009-10-17T06:11:00Z",34.037,-118.545,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-17T06:11:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T06:11:00Z",10000,"" -"2009-10-17T09:00:00Z",34.026,-118.534,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-17T09:00:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T09:00:00Z",500,"" -"2009-10-17T10:38:00Z",34.027,-118.545,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-17T10:38:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T10:38:00Z",250,"" -"2009-10-18T08:48:00Z",34.039,-118.548,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-18T08:48:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T08:48:00Z",1500,"" -"2009-10-18T10:26:00Z",34.031,-118.541,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-18T10:26:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T10:26:00Z",500,"" -"2009-10-18T11:15:00Z",34.041,-118.535,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-18T11:15:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T11:15:00Z",10000,"" -"2009-10-23T23:52:00Z",33.999,-118.612,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-23T23:52:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-23T23:52:00Z",500,"" -"2009-10-24T00:06:00Z",34.002,-118.604,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-24T00:06:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-24T00:06:00Z",10000,"" -"2009-10-26T10:53:00Z",34.022,-118.537,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-26T10:53:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-26T10:53:00Z",250,"" -"2009-10-27T16:21:00Z",34.01,-118.524,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-27T16:21:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-27T16:21:00Z",1500,"first of 2 records" -"2009-10-29T11:53:00Z",33.989,-118.504,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-29T11:53:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-29T11:53:00Z",500,"" -"2009-10-31T21:15:00Z",34.045,-118.53,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838","105838_great_white_shark","2009-10-31T21:15:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-31T21:15:00Z",10000,"" +"eventDate","decimalLatitude","decimalLongitude","basisOfRecord","kingdom","taxonRank","occurrenceStatus","sex","lifeStage","scientificName","scientificNameID","minimumDepthInMeters","maximumDepthInMeters","organismID","occurrenceID","geodeticDatum","eventID","coordinateUncertaintyInMeters","dataGeneralizations" +"2009-09-23T00:00:00Z",34.03,-118.56,"HumanObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-09-23T00:00:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-23T00:00:00Z",0,"" +"2009-09-25T11:09:00Z",34.024,-118.556,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-09-25T11:09:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-25T11:09:00Z",1500,"first of 2 records" +"2009-09-27T17:58:00Z",34.033,-118.547,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-09-27T17:58:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-09-27T17:58:00Z",1500,"" +"2009-10-08T20:24:00Z",34.038,-118.581,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-08T20:24:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-08T20:24:00Z",500,"" +"2009-10-15T11:05:00Z",33.995,-118.678,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-15T11:05:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-15T11:05:00Z",10000,"" +"2009-10-17T06:11:00Z",34.037,-118.545,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-17T06:11:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T06:11:00Z",10000,"" +"2009-10-17T09:00:00Z",34.026,-118.534,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-17T09:00:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T09:00:00Z",500,"" +"2009-10-17T10:38:00Z",34.027,-118.545,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-17T10:38:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-17T10:38:00Z",250,"" +"2009-10-18T08:48:00Z",34.039,-118.548,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-18T08:48:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T08:48:00Z",1500,"" +"2009-10-18T10:26:00Z",34.031,-118.541,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-18T10:26:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T10:26:00Z",500,"" +"2009-10-18T11:15:00Z",34.041,-118.535,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-18T11:15:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-18T11:15:00Z",10000,"" +"2009-10-23T23:52:00Z",33.999,-118.612,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-23T23:52:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-23T23:52:00Z",500,"" +"2009-10-24T00:06:00Z",34.002,-118.604,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-24T00:06:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-24T00:06:00Z",10000,"" +"2009-10-26T10:53:00Z",34.022,-118.537,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-26T10:53:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-26T10:53:00Z",250,"" +"2009-10-27T16:21:00Z",34.01,-118.524,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-27T16:21:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-27T16:21:00Z",1500,"first of 2 records" +"2009-10-29T11:53:00Z",33.989,-118.504,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-29T11:53:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-29T11:53:00Z",500,"" +"2009-10-31T21:15:00Z",34.045,-118.53,"MachineObservation","Animalia","Species","present","male","juvenile","Carcharodon carcharias","urn:lsid:marinespecies.org:taxname:105838",0,0,"105838_great_white_shark","2009-10-31T21:15:00Z_0_great_white_shark","EPSG:4326","great_white shark_2009-10-31T21:15:00Z",10000,""