Questions tagged [programming]
For open data related questions about computer programming, programming languages (such as Python, R, or Java), and application development.
111 questions
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 ...
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.
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 ...
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 ...
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_{...
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? > ...
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?
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 ...
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 ...
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, ...
-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 ...
-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 ...
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 ...
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 ...
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)....