Skip to main content

Questions tagged [programming]

For open data related questions about computer programming, programming languages (such as Python, R, or Java), and application development.

3votes
1answer
65views

Scrape data from FDA Recall using python

http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfres/res.cfm?id=207968 Also I want to know , am i able to use api to get all the information from the link? Please suggest any possible way I tried ...
Pennapa's user avatar
1vote
1answer
25views

Looking for minimum and maximum elevation for US counties

Where can I find minimum and maximum elevation data for US counties? It would be a bonus if I could directly access it from within R, but other solutions are also good.
bill999's user avatar
1vote
0answers
8views

Python alternative to R interact_plo

Is there a python package that would mean-centre all continuous and reference-level all categorical variables not involved in the interaction so that predicted values in the interaction plot are more ...
user36968's user avatar
0votes
1answer
51views

Free Historical Weather Data Download

I am looking for historical weather data (min and max temp, humidity, wind speed, wind direction, precipitation) for specific GPS coordinates. The data must be preferably hourly, but if only daily ...
rhyncogale's user avatar
0votes
0answers
10views

How to simulate data for a Bivariate Integer-Valued Auto Regressive process of order 1 time series in R?

I want to simulate data (Monte Carlo simulation) to assess the small sample properties of the Maximum Likelihood Estimators (MLE) for the BINAR(1) model: \begin{aligned} & Y_{1, t}=\rho_1 \cdot Y_{...
Stich's user avatar
1vote
0answers
22views

how to add scaled variable to original dataset in R

all I am trying to add scaled raw soil data element based on IQR, could you please help, how I can add this new scaled variable to original dataset, could you confirm the below if it is correct? > ...
bioinfonext's user avatar
2votes
1answer
53views

Koeppen-Geiger Climatic Zones as netcdf file

Is there a way to obtain a netcdf file of the Koeppen-Geiger Climatic Zones?
aaaaa's user avatar
0votes
1answer
53views

Is there way to get a consistent output from optFederov()?

In R, when I create a full factorial plan with the fac.design() function from the DoE.base package to reduce the number of necessary runs, the optFederov() function from the AlgDesign package gives a ...
Indy's user avatar
0votes
2answers
173views

Structure of Results Appear to Change Based on Query

If I run this query: https://api.data.gov/ed/collegescorecard/v1/schools?latest.school.city=Los Angeles&api_key=XXXXXXXXXXX, then the results look something like this: However, if I run this ...
Daniel Casey's user avatar
0votes
1answer
39views

Is there a way to retrieve navigation data from Google Maps e.g. to R?

How would an HTTP request or API request retrieve navigation data from Google Maps? Are there some simple lines of code for that? Let's say I want to give an input of origin and destination address, ...
Rudolf Nyitray's user avatar
-1votes
1answer
23views

R: sampling using dbinom(y-0:200)

In R: I have a sample (y) of length 1e4. y = sample(0:200, 1e4, replace = TRUE) I have plugged this sample into: dbinom(y-x,100,0.3) However, I would like to gather samples from this function but ...
BrieCee's user avatar
-1votes
1answer
38views

R or Excel: Calculate difference between dates

I have a list of course completion dates (person, start, end) in the following format (exemplary): Person X || Sept 21, 2021 06:30 PM || Sept 21, 2021 06:50 PM Now I'd like to calculate the overall ...
Lafayote's user avatar
0votes
0answers
16views

R cannot allocate vector. Where is the object?

I misjudged how much memory would be required and my computer ran out of memory when R was 76% done with an lapply function. Is there a way to recover and saveRDS the object or do I have to start over ...
Eric's user avatar
1vote
1answer
276views

How can I get completion rate data from all colleges and cohorts in a longitudinal format from college scorecard? (with R)

What I want: To obtain a R dataframe with completion-rate data from all colleges in the US (or all the colleges that have available data in college scorecard datalake). What I expect: A data frame in ...
LuizZ's user avatar
0votes
2answers
241views

Weekly temperature data for Europe on a regional level NUTS 1

I am currently writing my thesis on how temperature affects mortality in Europe. I obtained an excellent dataset from the Eurostat Database containing weekly Mortality numbers on NUTS1 level (regions)....
Emil Krabbe's user avatar

153050per page
close