Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demoting fetchNASIS_pedons() and fetchNASIS_components() to internal functions #121

Merged
merged 2 commits into from
Jan 22, 2020

Conversation

smroecker
Copy link
Member

As discussed I demoted fetchNASIS_pedons() and fetchNASIS_components to internal functions. They will no longer show up in the list of soilDB functions or help files.

Copy link
Member

@dylanbeaudette dylanbeaudette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Is this something that you want changed before the stats class? We need to get soilDB submitted to CRAN this week if that is going to happen.

I would like to see more detailed documentation on the fill and duplicates arguments as these invoke some incredibly complex machinery.

Before making any more changes, how about we all commit to fixing some of the outstanding issues:

@dylanbeaudette dylanbeaudette merged commit e80177d into master Jan 22, 2020
brownag added a commit that referenced this pull request Jan 22, 2020
…for fetchNASIS(fill) & fetchSDA_component(duplicates) #121
@brownag
Copy link
Member

brownag commented Jan 22, 2020

RE: #38 - SDA and duplicate records b1e713a

New warning from get_component_from_SDA when duplicates=FALSE (default) and mukey is in WHERE clause

 if(!duplicates & grepl(WHERE, pattern = "mukey")[1])
    warning("duplicates is set to FALSE and 'mukey' is in WHERE clause. Note: 'mukey' omitted from result.", call.=FALSE)

New entry in doc for duplicates argument to fetchSDA_component/get_component_from_SDA

logical; if TRUE a record is returned for each unique mukey (may be many per nationalmusym)

@brownag brownag mentioned this pull request Jan 24, 2020
@brownag brownag deleted the fetchNASISReports branch October 21, 2020 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants