diff --git a/Conf-class.Rd b/Conf-class.Rd deleted file mode 100644 index 79be40a..0000000 --- a/Conf-class.Rd +++ /dev/null @@ -1,53 +0,0 @@ -\name{Conf-class} -\Rdversion{1.1} -\docType{class} -\alias{Conf-class} - -\title{Class \code{"Conf"}} -\description{ -%% ~~ A concise (1-5 lines) description of what the class is. ~~ -} -\section{Extends}{ - -All reference classes extend and inherit methods from \code{"\linkS4class{envRefClass}"}. - -} -\references{ -%% ~~put references to the literature/web site here~~ -} -\author{ -%% ~~who you are~~ -} -\note{ -%% ~~further notes~~ -} - -%% ~Make other sections like Warning with \section{Warning }{....} ~ - -\seealso{ -%% ~~objects to See Also as \code{\link{~~fun~~}}, ~~~ -%% ~~or \code{\linkS4class{CLASSNAME}} for links to other classes ~~~ -} -\examples{ -showClass("Conf") -} -\keyword{classes} -\section{Fields}{ - \describe{ - \item{\code{config_txt}:}{Object of class \code{character} ~~ } - \item{\code{functions_txt}:}{Object of class \code{character} ~~ } - \item{\code{config}:}{Object of class \code{environment} ~~ } - \item{\code{functions}:}{Object of class \code{environment} ~~ } - \item{\code{goals}:}{Object of class \code{data.frame} ~~ } - \item{\code{pressures_matrix}:}{Object of class \code{data.frame} ~~ } - \item{\code{resilience_matrix}:}{Object of class \code{data.frame} ~~ } - \item{\code{resilience_weights}:}{Object of class \code{data.frame} ~~ } - } -} -\section{Methods}{ - \describe{ - \item{\code{show()}:}{ ~~ } - \item{\code{write(dir)}:}{ ~~ } - \item{\code{initialize(dir)}:}{ ~~ } - } -} diff --git a/Conf.Rd b/Conf.Rd deleted file mode 100644 index ed755b5..0000000 --- a/Conf.Rd +++ /dev/null @@ -1,28 +0,0 @@ -\name{Conf} -\alias{Conf} -\docType{data} -\title{ -%% ~~ data name/kind ... ~~ -} -\description{ -%% ~~ A concise (1-5 lines) description of the dataset. ~~ -} -\usage{data(Conf)} -\format{ - The format is: - chr "Conf" -} -\details{ -%% ~~ If necessary, more details than the __description__ above ~~ -} -\source{ -%% ~~ reference to a publication or URL from which the data were obtained ~~ -} -\references{ -%% ~~ possibly secondary sources and usages ~~ -} -\examples{ -data(Conf) -## maybe str(Conf) ; plot(Conf) ... -} -\keyword{datasets} diff --git a/DESCRIPTION b/DESCRIPTION index 1284c0b..71db790 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -48,7 +48,6 @@ Collate: 'TransformSpatialScheme.R' 'aster.R' 'compare_scores_df.R' - 'data.R' 'gapfill_georegions.R' 'get_scenarios.R' 'launch_app.R' diff --git a/R/data.R b/R/data.R deleted file mode 100644 index 3ce1c2e..0000000 --- a/R/data.R +++ /dev/null @@ -1,83 +0,0 @@ -#' United Nations Regional Groups -#' -#' United Nations geopolitical regions. -#' In some cases, when data were not available for a country, -#' we estimated the values using georegional averages at the smallest -#' possible spatial scale. There are three spatial scales in these data -#' (general to specific regions: r0_label, r1_label, r2_label). -#' -#' @format A data frame with 220 rows and 5 variables: -#' \itemize{ -#' \item rgn_id: numeric region id used for Ocean Health Index (1-250) -#' \item r0_label: general regional groups (1 group: World) -#' \item r1_label: more specific regional groups (7 groups: Africa, Americas, etc.) -#' \item r2_label: most specific regional groups (22 groups: Caribbean, Central America, etc.) -#' \item rgn_label: region name used for Ocean Health Index (Albania, Angola, etc.) -#' } -"georegion_labels" - -#' United Nations Regional Groups (streamlined) -#' -#' United Nations geopolitical regions (version of the georegion_labels data). -#' In some cases, when data were not available for a country, -#' we estimated the values using georegional averages at the smallest -#' possible spatial scale. There are three spatial scales in these data -#' (general to specific regions: r0_label, r1_label, r2_label). -#' -#' @format A data frame with 220 rows and 5 variables: -#' \itemize{ -#' \item rgn_id: numeric region id used for Ocean Health Index (1-250) -#' \item r0: general regional groups (1 group: World) -#' \item r1: more specific regional groups (7 groups: Africa, Americas, etc.) -#' \item r2: most specific regional groups (22 groups: Caribbean, Central America, etc.) -#' } -"georegions" - -#' Territories -#' -#' Identifies a country's territories. -#' -#' This information is used to assign data to a country's territories. -#' -#' @format A data frame with 220 rows and 5 variables: -#' \itemize{ -#' \item rgn_id: numeric region id used for Ocean Health Index (1-250) -#' \item r0_label: sovreign country name -#' \item r1_label: sovreign country name -#' \item r2_label: sovreign country name -#' \item rgn_label: region name used for Ocean Health Index (Albania, Angola, etc.) -#' } -"sovregion_labels" - -#' Territories (streamlined) -#' -#' This information is used to assign data to a country's territories. -#' (This is a version of the sovregion_labels data) -#' -#' -#' @format A data frame with 220 rows and 5 variables: -#' \itemize{ -#' \item rgn_id: region id used for Ocean Health Index (1-250) -#' \item r0: sovreign country region id -#' \item r1: sovreign country region id -#' \item r2: sovreign country region id -#' \item fld_wt: identifies territory countries (0) and sovreign regions (1) -#' } -"sovregions" - -#' Region synonyms -#' -#' Synonyms for countries included in Ocean Health Index. -#' These data are used to translate region names to region ids.' -#' -#' @format A data frame with 262 rows and 6 variables: -#' \itemize{ -#' \item region_id_2012: numeric region id used for 2012 Ocean Health Index (1-187) -#' \item rgn_id_2013: numeric region id used for Ocean Health Index after 2012 (1-255) -#' \item rgn_nam_2013: country names and synonyms (e.g., 'Federated State of Micronesia', 'Micronesia, FS') -#' \item rgn_key_2013: 2 letter key for countries (e.g., US, BA) -#' \item eez_iso3: 3 letter key for countries (e.g., USA, FSM) -#' \item rgn_typ: identifies whether a region is an Ocean Health Index region ('ohi_region'), -#' 'landlocked', 'disputed', or 'largescale' (includes regions: Total and World) -#' } -"rgn_synonyms" \ No newline at end of file diff --git a/Rd2.pdf b/Rd2.pdf index 9814572..a764ce6 100644 Binary files a/Rd2.pdf and b/Rd2.pdf differ diff --git a/data/georegion_labels.rda b/data/georegion_labels.rda index 7c93f50..30fef01 100644 Binary files a/data/georegion_labels.rda and b/data/georegion_labels.rda differ diff --git a/data/georegions.rda b/data/georegions.rda index a8e7c20..c0486b2 100644 Binary files a/data/georegions.rda and b/data/georegions.rda differ diff --git a/data/rgn_synonyms.rda b/data/rgn_synonyms.rda index cce305a..0101ddf 100644 Binary files a/data/rgn_synonyms.rda and b/data/rgn_synonyms.rda differ diff --git a/data/sovregion_labels.rda b/data/sovregion_labels.rda index bdb833c..6bc7801 100644 Binary files a/data/sovregion_labels.rda and b/data/sovregion_labels.rda differ diff --git a/data/sovregions.rda b/data/sovregions.rda index f655e4a..6641b80 100644 Binary files a/data/sovregions.rda and b/data/sovregions.rda differ diff --git a/man/georegion_labels.Rd b/man/georegion_labels.Rd deleted file mode 100644 index 29aef70..0000000 --- a/man/georegion_labels.Rd +++ /dev/null @@ -1,26 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{georegion_labels} -\alias{georegion_labels} -\title{United Nations Regional Groups} -\format{A data frame with 220 rows and 5 variables: -\itemize{ - \item rgn_id: numeric region id used for Ocean Health Index (1-250) - \item r0_label: general regional groups (1 group: World) - \item r1_label: more specific regional groups (7 groups: Africa, Americas, etc.) - \item r2_label: most specific regional groups (22 groups: Caribbean, Central America, etc.) - \item rgn_label: region name used for Ocean Health Index (Albania, Angola, etc.) -}} -\usage{ -georegion_labels -} -\description{ -United Nations geopolitical regions. -In some cases, when data were not available for a country, -we estimated the values using georegional averages at the smallest -possible spatial scale. There are three spatial scales in these data -(general to specific regions: r0_label, r1_label, r2_label). -} -\keyword{datasets} - diff --git a/man/georegions.Rd b/man/georegions.Rd deleted file mode 100644 index 4bb4714..0000000 --- a/man/georegions.Rd +++ /dev/null @@ -1,25 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{georegions} -\alias{georegions} -\title{United Nations Regional Groups (streamlined)} -\format{A data frame with 220 rows and 5 variables: -\itemize{ - \item rgn_id: numeric region id used for Ocean Health Index (1-250) - \item r0: general regional groups (1 group: World) - \item r1: more specific regional groups (7 groups: Africa, Americas, etc.) - \item r2: most specific regional groups (22 groups: Caribbean, Central America, etc.) -}} -\usage{ -georegions -} -\description{ -United Nations geopolitical regions (version of the georegion_labels data). -In some cases, when data were not available for a country, -we estimated the values using georegional averages at the smallest -possible spatial scale. There are three spatial scales in these data -(general to specific regions: r0_label, r1_label, r2_label). -} -\keyword{datasets} - diff --git a/man/rgn_synonyms.Rd b/man/rgn_synonyms.Rd deleted file mode 100644 index 4439cae..0000000 --- a/man/rgn_synonyms.Rd +++ /dev/null @@ -1,25 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{rgn_synonyms} -\alias{rgn_synonyms} -\title{Region synonyms} -\format{A data frame with 262 rows and 6 variables: -\itemize{ - \item region_id_2012: numeric region id used for 2012 Ocean Health Index (1-187) - \item rgn_id_2013: numeric region id used for Ocean Health Index after 2012 (1-255) - \item rgn_nam_2013: country names and synonyms (e.g., 'Federated State of Micronesia', 'Micronesia, FS') - \item rgn_key_2013: 2 letter key for countries (e.g., US, BA) - \item eez_iso3: 3 letter key for countries (e.g., USA, FSM) - \item rgn_typ: identifies whether a region is an Ocean Health Index region ('ohi_region'), - 'landlocked', 'disputed', or 'largescale' (includes regions: Total and World) -}} -\usage{ -rgn_synonyms -} -\description{ -Synonyms for countries included in Ocean Health Index. -These data are used to translate region names to region ids.' -} -\keyword{datasets} - diff --git a/man/sovregion_labels.Rd b/man/sovregion_labels.Rd deleted file mode 100644 index d111f53..0000000 --- a/man/sovregion_labels.Rd +++ /dev/null @@ -1,25 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{sovregion_labels} -\alias{sovregion_labels} -\title{Territories} -\format{A data frame with 220 rows and 5 variables: -\itemize{ - \item rgn_id: numeric region id used for Ocean Health Index (1-250) - \item r0_label: sovreign country name - \item r1_label: sovreign country name - \item r2_label: sovreign country name - \item rgn_label: region name used for Ocean Health Index (Albania, Angola, etc.) -}} -\usage{ -sovregion_labels -} -\description{ -Identifies a country's territories. -} -\details{ -This information is used to assign data to a country's territories. -} -\keyword{datasets} - diff --git a/man/sovregions.Rd b/man/sovregions.Rd deleted file mode 100644 index 25614e1..0000000 --- a/man/sovregions.Rd +++ /dev/null @@ -1,23 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{sovregions} -\alias{sovregions} -\title{Territories (streamlined)} -\format{A data frame with 220 rows and 5 variables: -\itemize{ - \item rgn_id: region id used for Ocean Health Index (1-250) - \item r0: sovreign country region id - \item r1: sovreign country region id - \item r2: sovreign country region id - \item fld_wt: identifies territory countries (0) and sovreign regions (1) -}} -\usage{ -sovregions -} -\description{ -This information is used to assign data to a country's territories. -(This is a version of the sovregion_labels data) -} -\keyword{datasets} -